[XeTeX] Setting PDF document information

François Charette firmicus at ankabut.net
Tue Apr 15 15:32:37 CEST 2008


Wesley Griffin a écrit :
> 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.
>
> Am I doing something wrong? I've been searching google with absolutely  
> no success.
>
>   
Try again without the dvipdfmx option (it is wrong).


> Thanks,
> Wes
>
> %!TEX TS-program = xelatex
> \documentclass[dvipdfmx,12pt,twoside]{report}
>
> \usepackage[dvipdfmx,bookmarksnumbered,pdfborder={0 0  
> 0},pdfduplex=DuplexFlipLongEdge,pdfauthor={Wesley  
> Griffin},pdftitle={My Own Title}]{hyperref}
>
> \begin{document}
> \title{My Own Title}
> \author{Wesley Griffin}
> \maketitle
> \tableofcontents
> \chapter{Introduction} % (fold)
> \label{cha:introduction}
> This is an introduction.
> \section{Motivation} % (fold)
> \label{sec:motivation}
> I would like to motivate this.
> % section motivation (end)
> % chapter introduction (end)
> \end{document}
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
>   




More information about the XeTeX mailing list