<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>With pdflatex, I used to add some information in the resulting pdf file using either of these,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BLOCKQUOTE type="cite"><DIV><BR class="khtml-block-placeholder"></DIV><DIV>\ifxetex</DIV><DIV>\hypersetup{ % </DIV><DIV>    pdfauthor   = {baptiste},%</DIV><DIV>    pdftitle    = {my title},%</DIV><DIV>    pdfsubject  = {stuff},%</DIV><DIV>    pdfkeywords = {more stuff},%</DIV><DIV>    pdfcreator  = {XeTeX},%</DIV><DIV>    pdfproducer = {XeTeX},%</DIV><DIV>    }</DIV><DIV>\else</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>\pdfinfo { /Title  (PhD Thesis)</DIV><DIV>               /Creator (TeX)</DIV><DIV>               /Producer (pdfTeX)</DIV><DIV>               /Author (Baptiste)</DIV><DIV>               /CreationDate (D:20061022000000)  %format D:YYYYMMDDhhmmss</DIV><DIV>               /ModDate (D:20061022000000)</DIV><DIV>               /Subject (SPs )</DIV><DIV>               /Keywords (PhD, Thesis)}</DIV><DIV>\pdfcatalog { /PageMode (/UseOutlines)</DIV><DIV>                  /OpenAction (fitbh)  }</DIV><DIV>\fi</DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>the first option (together with the hyperref package) doesn't do anything in xetex as far as i can tell, and the second produces an error so I suppose it's not compatible with xetex.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Is there any way to add these info in XeTeX? And just for information, is there an easy way to password protect the pdf file with XeTeX?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Many thanks,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>baptiste</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>