[XeTeX] pdfauthor, pdftitle etc. in XeTeX
Jonathan Kew
jonathan_kew at sil.org
Wed Oct 20 16:43:08 CEST 2004
On 20 Oct 2004, at 1:18 pm, Dirk-Jan Dekker wrote:
> Hi XeTeX users,
>
> In my LaTeX documents I used to define the author and title of the
> resulting .pdf document with a command from the hyperref package:
> \hypersetup{pdfauthor=AUTHOR, pdftitle=TITLE}.
>
> Unfortunately this does not work in XeTeX, presumably because xdv2pdf
> does not know about pdfauthor, pdfsubject and the like.
Right. Those are pdfTeX extensions.
> On the other hand, XeTeX automatically inserts rather ugly pdftitles
> like "XeTeX output 2004.09.23:1519".
>
> So what I'd like to know is: is there a way to define pdfauthor and
> pdfsubject yourself when working with XeTeX? Of course, *after*
> compilation these data can be entered in the .pdf document with, for
> example, Adobe Acrobat. But can it be done in the .tex source?
>
Not at present. The CoreGraphics PDF-generation APIs have very limited
support for PDF metadata... and to complicate matters, if you use the
pdfmark-based support for hyperlinks/bookmarks, even that metadata
currently gets discarded during the post-processing that adds these
features to the PDF.
JK
More information about the XeTeX
mailing list