Bug#373605: tetex-extra: Compilation problem with listings package
Package: tetex-extra
Version: 3.0-18
Severity: important
Hello,
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.
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):
ERROR: Incomplete \iffalse; all text was ignored after line XXX.
--- TeX said ---
<inserted text>
\fi
l.XXX GRANT
SELECT ON Logiciel TO christophe;
--- HELP ---
>From the .log file...
A forbidden control sequence occurred in skipped text.
This kind of error happens when you say `\if...' and forget
the matching `\fi'. I've inserted a `\fi'; this might work.
If I try to recompile it, I have the following error in the .aux file:
ERROR: Missing \endcsname inserted.
--- TeX said ---
<to be read again>
\global
l.139 \@writefile
{toc}{\contentsline {subsection}{\numberline {9.4.2}Privil\...
--- HELP ---
>From the .log file...
The control sequence marked <to be read again> should
not appear between \csname and \endcsname.
Now, if I remove the "Some text 2" line, or if I split the lstlisting
environment into two lstlisting environments, it compiles without
problems.
I use a french environment (identfirst, babel with french option
packages).
Do you have a solution?
Thanks in advance,
Christophe
-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.16.060515
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Versions of packages tetex-extra depends on:
ii tetex-base 3.0-18 Basic library files of teTeX
ii tetex-bin 3.0-16 The teTeX binary files
ii ucf 2.0010 Update Configuration File: preserv
tetex-extra recommends no packages.
-- no debconf information
--
Christophe Garion SUPAERO - Département Informatique
garion@supaero.fr 10 avenue Edouard Belin
Tél : (33)5 62 17 80 57 BP 54032
Fax : (33)5 62 17 83 45 31055 Toulouse Cedex 4
Reply to: