** Tags added: lucid patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to texlive-base in Ubuntu.
https://bugs.launchpad.net/bugs/538565

Title:
  Umlauts not supported in "listings.sty" - fix included

Status in “texlive-base” package in Ubuntu:
  New

Bug description:
  Binary package hint: texlive-latex-recommended

  Ubuntu 10.04 Alpha, should also occur on 9.10.
  Version 2009-7 of texlive-latex-recommended.
  I ran a document including listings from a file with umlauts throught 
pdflatex.
  I expected it to work like a breeze, as I had utf loaded, etc...

  However, I got numerous obscure errors, mostly about undefined unicode
  characters.

  Can be fixed by applying the following patch: 
  --- /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 @@
       \lst@ProcessLetter{"24}\textdollar
       \lst@ProcessOther {"25}\%
       \lst@ProcessOther {"26}\&
  +    \lst@ProcessLetter{"E4}{\"a}
  +    \lst@ProcessLetter{"F6}{\"o}
  +    \lst@ProcessLetter{"FC}{\"u}
  +    \lst@ProcessLetter{"C4}{\"A}
  +    \lst@ProcessLetter{"D6}{\"O}
  +    \lst@ProcessLetter{"DC}{\"U}
  +    \lst@ProcessLetter{"DF}{\ss{}}
       \lst@ProcessOther {"27}{\lst@ifupquote \textquotesingle
                                        \else \char39\relax \fi}
       \lst@ProcessOther {"2A}{\lst@ttfamily*\textasteriskcentered}

  
  According to stackoverflow.com:
      \lst@ProcessOther {"C1}{\'A}
      \lst@ProcessOther {"E9}{\'e}
      \lst@ProcessOther {"C9}{\'E}
      \lst@ProcessOther {"ED}{\'i}
      \lst@ProcessOther {"CD}{\'I}
      \lst@ProcessOther {"F3}{\'o}
      \lst@ProcessOther {"D3}{\'O}
      \lst@ProcessOther {"FA}{\'u}
      \lst@ProcessOther {"DA}{\'U}
      \lst@ProcessOther {"F1}{ñ}
      \lst@ProcessOther {"D1}{Ñ}

  helps with spanish letters.

  I claim no copyright in these patches, do what you want with them (
  they are assembled from various forum posts, mostly)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texlive-base/+bug/538565/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to