[XeTeX] Weird character swap when using xelatex+fontspec+listings

Philipp Stephani st_philipp at yahoo.de
Sun May 30 22:54:06 CEST 2010


Am 30.05.2010 um 19:44 schrieb Eelis van der Weegen:

> When I compile the attached t.tex with xelatex I get the attached t.pdf,
> in which the big pi has somehow switched positions with 'a'. What's
> going on here? :)

The listings package hasn't been updated for a long time and is completely Unicode-unaware. If possible, switch to a modern alternative like minted, or use simpler constructs like \verb.


More information about the XeTeX mailing list