XeTeXhyperref error in puenc.def since update

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

hyperref error in puenc.def since update

Post by doonyakka »

Hi,

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

Code: Select all

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


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

Code: Select all

\documentclass{beamer}
\usetheme{Copenhagen}
\usepackage{fontspec}

\begin{document}

\begin{frame}
Some text
\end{frame}

\end{document}
Any idea what's causing this? Thanks :)

doonyakka

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Re: hyperref error in puenc.def since update

Post by Stefan Kottwitz »

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
LaTeX.org admin
doonyakka
Posts: 9
Joined: Fri May 28, 2010 2:50 pm

Re: hyperref error in puenc.def since update

Post by doonyakka »

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