[XeTeX] Setting PDF document information

Wesley Griffin wgriffin at fraktured.net
Wed Apr 16 16:12:28 CEST 2008


On Apr 15, 2008, at 9:51 AM, xetex-request at tug.org wrote:
>
> Date: Tue, 15 Apr 2008 14:33:32 +0100
> From: Jonathan Kew <jonathan_kew at sil.org>
> Subject: Re: [XeTeX] Setting PDF document information
> To: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
> Message-ID: <E64AB3B8-3670-4DDE-87AF-4A8C30D3254C at sil.org>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> 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.

This ended up working great for me.

Thanks!
Wes


More information about the XeTeX mailing list