Since Upgrading to Ubuntu 10.04, changing counters of listings is not possible anymore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
texlive-base (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: texlive-base
$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
Minimal reproduction document:
\documentclass[
\usepackage{
\usepackage{
\counterwithout
\begin{document}
\chapter{bla}
\begin{lstlisting}
bla
\end{lstlisting}
\end{document}
Worked on 8.04, 8.10, 9.04, 9.10
doesn't work on 10.04:
$ latexmk -pdf minimal.tex
This is latexmk, John Collins, 2 June 2004, version: 3.07a.
**** Report bugs etc to John Collins <collins at phys.psu.edu>. ****
------------
Run number 1 of pdflatex [minimal.tex]
------------
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
restricted \write18 enabled.
entering extended mode
(./minimal.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, croatian, bulgarian, ukrainian, russian, czech, slovak, danish, dut
ch, finnish, french, basque, ngerman, german, german-
09-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, italian, latin, mo
ngolian2a, mongolian, bokmal, nynorsk, romanian, irish, coptic, serbian, turkis
h, welsh, esperanto, uppersorbian, estonian, indonesian, interlingua, icelandic
, kurmanji, slovenian, polish, portuguese, spanish, galician, catalan, swedish,
loaded.
(/usr/share/
Document Class: scrreprt 2009/07/24 v3.04a KOMA-Script document class (report)
(/usr/share/
(/usr/share/
(/usr/share/
(/usr/share/
Package scrlfile, 2009/03/25 v3.03 KOMA-Script package (loading files)
))) (/usr/share/
Class scrreprt Warning: You've used obsolete option `bibtotoc'.
(scrreprt) Usage of this option indicates an old document and
(scrreprt) changes compatibility level using
(scrreprt) `bibliography=
(scrreprt) If you don't want this, you should simply replace
(scrreprt) usage of option `bibtotoc' by `bibliography=
Class scrreprt Warning: You've used obsolete option `liststotoc'.
(scrreprt) Usage of this option indicates an old document and
(scrreprt) changes compatibility level using
(scrreprt) `listof=
(scrreprt) If you don't want this, you should simply replace
(scrreprt) usage of option `liststotoc' by `listof=totoc'.
(/usr/share/
(/usr/share/
Package typearea, 2009/07/24 v3.04a KOMA-Script package (type area)
)) (/usr/share/
(/usr/share/
(/usr/share/
(/usr/share/
! Package chngcntr Error: lstlisting is not a counter.
See the chngcntr package documentation for explanation.
Type H <return> for immediate help.
...
l.4 \counterwithout
?
Changed in texlive-base (Ubuntu): | |
status: | New → Invalid |
A solution/workaround seems to be this:
\lstset{ er=false
numberbychapt
}