[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#373605: tetex-extra: Compilation problem with listings package



Christophe Garion wrote:
> Package: tetex-extra
> Version: 3.0-18
> Severity: important

Thank you for the report. I am not sure that 'important' is the right
severity, though.

> I have a problem with the listings package. Unfortunately, the bug is
> very difficult to reproduce, but maybe it is related to bug
> #348636. Notice that I had no problem with the previous "major" version of
> tetex-extra.

Have you tried the fix mentioned in #348636?

%%%%%%%%%%%
Note that this incompatibility is documented behaviour of the
`listings' package!  If you don't use Chinese within listings, add

  \lstset{extendedchars=false}

at the beginning of your document to make GB2312 work.
%%%%%%%%%%

Does that help?

> If I have the following source (Some text 1 and 2 are "normal" text
> without anything particular):
> 
> Some text 1
> 
> Some Text 2
> 
> \begin{lstlisting}
> Source line 1
> Source line 2
> \end{lstlisting}
> 
> I have the following error (sources are SQL statements):

I am sorry, but without a minimal example, it is impossible to debug
problems like this. Weren't you asked by reportbug to include one? See
<URL:http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl> and
<URL:http://www.minimalbeispiel.de/mini-en.html> for details.

cheerio
ralf



Reply to: