LaTeX forum ⇒ XeTeXhyperref error in puenc.def since update Topic is solved

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
Posts: 9
Joined: Fri May 28, 2010 2:50 pm

hyperref error in puenc.def since update

Postby doonyakka » Mon Aug 13, 2012 8:17 pm


After a recent TeX Live update, I'm unable to compile my beamer files with XeLaTeX. I get the following error:

  1. Latex Error: /usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/puenc.def:1591
  2. Missing \begin{document}.
  3. See the LaTeX manual or LaTeX Companion for explanation.
  4. Type H <return> for immediate help.
  5. ...
  6. l.1591 \DeclareTextCommand[\textBeam}{P
  7. U}{\9043\223}%* U+2393

This doesn't happen with (pdf)latex. Here's a MWE:

  1. \documentclass{beamer}
  2. \usetheme{Copenhagen}
  3. \usepackage{fontspec}
  5. \begin{document}
  7. \begin{frame}
  8. Some text
  9. \end{frame}
  11. \end{document}

Any idea what's causing this? Thanks :)


User avatar
Stefan Kottwitz
Site Admin
Posts: 9568
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Aug 14, 2012 2:25 pm

Hi doonyakka,

it's a bug (typo, square bracket instead of curly brace). As Heiko said on the tex-live mailing list, it has been fixed in hyperref 2012/08/13 6.83a, so update to this version.

Stefan admin

Posts: 9
Joined: Fri May 28, 2010 2:50 pm

Postby doonyakka » Tue Aug 14, 2012 2:50 pm

Thanks Stefan. I should have spotted that myself... :)

Return to “XeTeX”

Who is online

Users browsing this forum: No registered users and 2 guests