4

I have something like this:

\documentclass{beamer}
\usepackage{fontspec}
\begin{document}
   \section{é}
   \begin{frame}
      test
   \end{frame}
\end{document}

Problem is that the section name is messed up into the navigation bar of any PDF reader I tried (Okular on Linux, Acrobat Reader on Win, etc.). On the other hand the section name is printed correctly into the PDF itself (i.e. into the . table of contents, etc.) enter image description here

Is there something I can do (in LaTeX) to fix this?

10

Add \hypersetup{pdfencoding=auto} to your preamble.

  • 1
    The shortest question and answer I’ve found on the web which instantaneously solves a problem which has annoyed me for years ! Thanks a lot ! – Frédéric Grosshans Jan 17 '18 at 15:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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