The following patch removes this problem when encountering umlauts --- /usr/share/texmf-texlive/tex/latex/listings/listings.sty 2008-06-10 22:46:51.000000000 +0200 +++ /usr/local/share/texmf/tex/latex/listings/listings.sty 2010-03-13 22:02:34.000000000 +0100 @@ -923,6 +923,13 @@ \...@processletter{"24}\textdollar \...@processother {"25}\% \...@processother {"26}\& + \...@processletter{"E4}{\"a} + \...@processletter{"F6}{\"o} + \...@processletter{"FC}{\"u} + \...@processletter{"C4}{\"A} + \...@processletter{"D6}{\"O} + \...@processletter{"DC}{\"U} + \...@processletter{"DF}{\ss{}} \...@processother {"27}{\...@ifupquote \textquotesingle \else \char39\relax \fi} \...@processother {"2a}{\...@ttfamily*\textasteriskcentered}
Untested: The following is suggested in a forum for spanish characters ( http://stackoverflow.com/questions/1116266/listings-in-latex-with-utf-8-or-at-least-german-umlauts ): \...@processother {"E1}{\'a} \...@processother {"C1}{\'A} \...@processother {"E9}{\'e} \...@processother {"C9}{\'E} \...@processother {"ED}{\'i} \...@processother {"CD}{\'I} \...@processother {"F3}{\'o} \...@processother {"D3}{\'O} \...@processother {"FA}{\'u} \...@processother {"DA}{\'U} \...@processother {"F1}{ñ} \...@processother {"D1}{Ñ} I claim no copyright in these changes / patches. Feel free to do whatever you want with them. Yours, Julian Bangert -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org