[XeTeX] Setting PDF document information

Ross Moore ross at ics.mq.edu.au
Tue Apr 15 23:01:29 CEST 2008

Hi Jonathan, Wesley, and others.

On 15/04/2008, at 11:33 PM, Jonathan Kew wrote:
> On 15 Apr 2008, at 1:45 pm, Wesley Griffin wrote:
>> I'm attempting to set/embed the PDF document information such as
>> Title, Author, etc, and I cannot get it to work. I'm using TeX Live
>> 2007 on OS X 10.5.2. Below is a simple example of attempting to use
>> the hyperref package with its pdfauthor and pdftitle options. I've
>> tried both the below and with \hypersetup and neither works.
> The xdv2pdf driver (the default used by the TL2007 release of xetex
> on OS X) doesn't support this. Try using the xdvipdfmx driver
> instead, by enabling the XeLaTeX-xdvipdfmx engine in TeXShop or
> specifying it on the command line:
>    xelatex -output-driver="xdvipdfmx -q -E" myfile.tex
> This should support setting PDF info; at least it works for me with
> the latest development versions.

Yes; but you must run the job at least twice before some
things show up, such as the Bookmarks.

For me it doesn't work with XeTeX 0.996, but does with 0.997 .

> JK

Hope this helps,


Ross Moore                                       ross at maths.mq.edu.au
Mathematics Department                           office: E7A-419
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114

More information about the XeTeX mailing list