[XeTeX] Runaway argument issues

Chris Travers chris.travers at gmail.com
Tue Oct 11 23:54:48 CEST 2011


Here is a minimal sample to reproduce the problem:

\documentclass{article}
\usepackage{longtable}
\begin{document}

\begin{longtable}{ll}

   \textbf{Número}
  & \textbf{Descripción}
\endhead
\end{longtable}

\end{document}


When I run this with xelatex, I get:

Runaway argument?
{Descripci������ \endhead \end {longtable} \par \end {document} \par
! File ended while scanning use of \textbf .

Now, if I replace the ó with \'o, that part works fine (but then why
would I be using xelatex?) but the Número ends up displaying as N.

As far as I can tell the problem is with handling of multibyte
characters.  Removing the \textbf{} from around the problem phrase
ends up having it rendered as Descripciendhead, suggesting several
more bytes are being assumed to be part of the character than actually
are.

Best Wishes,
Chris Travers



More information about the XeTeX mailing list