[XeTeX] xetex + listings + inputencoding
Ulrike Fischer
news2 at nililand.de
Wed Feb 4 10:48:45 CET 2009
Am Wed, 04 Feb 2009 10:43:42 +0100 schrieb M. Niedermair:
> \newcommand{\lstinputlistinglatin}[2][]{\begingroup\XeTeXdefaultencoding
> latin1\lstinputlisting[#1]{#2}\endgroup}
Attention: Put a space or \relax after latin1 (\XeTeXdefaultencoding
is a primitive command. Its argument is delimited like the arguments
of primitive counters or the primitive \input).
--
Ulrike Fischer
More information about the XeTeX
mailing list