Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The following ECM works fine when compiled with XeLaTeX, but if compiled with LuaLaTeX there is a minor problem : accented letter produces garbage in the pdftitle — but it's fine in the document . I precise (after some tests) that it is not related to a particular font.

\documentclass{minimal}
\usepackage{fontspec}
\usepackage{hyperref}
\hypersetup{pdftitle={àéèœ}}
\begin{document}
àéèœ
\end{document}

P.S. Maybe it's not relevant here, but in case : I'm on mac 10.6

share|improve this question
    
After test, `a \'e`e\oe etc. do the work, but it's quite a pity to have to write this with an engine that support UTF8. Hence, I would ask for a nicer answer. –  Matsaya Feb 8 '11 at 21:17
add comment

1 Answer

up vote 6 down vote accepted
\usepackage[unicode=true]{hyperref}
share|improve this answer
    
It's work, thanks. Now the remaining question (it's only curiosity) is : why is it no problem with XeLaTeX ? –  Matsaya Feb 9 '11 at 16:38
    
I believe that at the moment hyperref treats LuaTeX the same as pdfTeX, but contains dedicated code for XeTeX. But only Heiko could give a definitive answer. –  Philipp Feb 9 '11 at 18:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.