Red Hat Bugzilla – Bug 58650
listings crashes with babel
Last modified: 2013-07-02 18:55:47 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901
Description of problem:
When using the listings package in LaTeX article with babel, it crashes.
Version-Release number of selected component (if applicable): 1.0.7-38.2
Steps to Reproduce:
1. Set up tetex to allow spanish (english gives other errors...)
2. Run the following through latex(1)
Actual Results: ! LaTeX error: No counter 'chapter' defined
The current listings package on CTAN fixes this, and also fixes a number of
other annoying bugs. Beware, there are some incompatibilities, like the way of
labeling floating listings.
*** Bug 68684 has been marked as a duplicate of this bug. ***
*** Bug 69987 has been marked as a duplicate of this bug. ***
Horst, this is fixed in tetex-2.0.2 present in recent releases.