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 How reproducible: Always Steps to Reproduce: 1. Set up tetex to allow spanish (english gives other errors...) 2. Run the following through latex(1) \documentclass[spanish]{article} \usepackage{babel} \usepackage{listings} \begin{document} \end{document} Actual Results: ! LaTeX error: No counter 'chapter' defined Additional info: 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. thanks, Jindrich