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

Bug#752773: texlive-latex-recommended: the new listings.sty yields failures



Package: texlive-latex-recommended
Version: 2014.20140626-1
Severity: important

The new listings.sty yields pdflatex failures, e.g. on the following
simple example:

----------------------------------------
\documentclass{article}
\usepackage{listings}

\newcommand\TAB{\lstinline{t}}

\begin{document}

\begin{tabular}{ll}
a & \TAB
\end{tabular}

\end{document}
----------------------------------------

$ pdflatex lstinline.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./lstinline.tex
LaTeX2e <2014/05/01>
Babel <3.9k> and hyphenation patterns for 78 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (./listings.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg))
(./lstinline.aux)
! Missing { inserted.
<inserted text> 
                {
l.10 \end{tabular}

so that LaTeX documents that could previously be built can no longer
be built.

The new listings.sty file has:

\newcommand\lstinline[1][]{%
    \leavevmode\bgroup % \hbox\bgroup --> \bgroup
      \def\lst@boxpos{b}%
      \lsthk@PreSet\lstset{flexiblecolumns,#1}%
      \lsthk@TextStyle
      \@ifnextchar\bgroup{%
        \ifnum`{=0}\fi%
        \afterassignment\lst@InlineG \let\@let@token}%
                         \lstinline@}

and it is the "\ifnum`{=0}\fi%" line (added in this new version) that
triggers the error.

-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource. 

In particular, bugs that are related to up-upstream, i.e., neither
Debian nor TeX Live (upstream), but the original package authors,
will be closed immediately.

   *** The Debian TeX Team is *not* a LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
	(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are 
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

or 

http://www.minimalbeispiel.de/mini.html (german)

##################################
minimal input file


##################################
other files

######################################
 List of ls-R files

-rw-r--r-- 1 root root 4140 2014-06-26 13:25:08 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 80 2012-07-02 13:15:49 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 2014-05-30 11:00:32 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 2014-06-26 05:04:35 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 2014-06-26 05:04:35 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
######################################
 Config files
-rw-r--r-- 1 root root 1101 2014-06-02 09:35:24 /etc/texmf/web2c/texmf.cnf
-rw-r--r-- 1 root root 10389 2014-06-26 13:25:00 /var/lib/texmf/web2c/fmtutil.cnf
lrwxrwxrwx 1 root root 32 2014-06-26 05:04:35 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 12449 2014-06-26 13:24:59 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root  283 2009-06-09 22:40:03 mktex.cnf
-rw-r--r-- 1 root root 1101 2014-06-02 09:35:24 texmf.cnf
######################################
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf
055e06548bac99958d8ab2dd1248f2b4  /etc/texmf/texmf.d/80tex4ht.cnf

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-latex-recommended depends on:
ii  dpkg                1.17.10
ii  tex-common          5.02
ii  texlive-base        2014.20140626-1
ii  texlive-binaries    2014.20140528.34243-2
ii  texlive-latex-base  2014.20140626-1

Versions of packages texlive-latex-recommended recommends:
ii  prosper                        1.00.4+cvs.2007.05.01-4
ii  texlive-latex-recommended-doc  2014.20140626-1

texlive-latex-recommended suggests no packages.

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]  1.5.53
ii  dpkg                   1.17.10
ii  ucf                    3.0030

Versions of packages tex-common suggests:
ii  debhelper  9.20140613

Versions of packages texlive-latex-recommended is related to:
ii  tex-common        5.02
ii  texlive-binaries  2014.20140528.34243-2

-- debconf information:
  tex-common/check_texmf_missing:
  tex-common/check_texmf_wrong:


Reply to: