Package: tetex-extra Version: 3.0-21 Severity: normal File: /usr/share/texmf-tetex/tex/latex/listings/listings.sty
Hi, the listings package does not wrap long listings if they are set as floats. It does wrap listings if the float option is not provided. This happens with both the lstlisting environment as well as with lstinputlisting. A minimal example is attached. Greetings, Joachim -- Package-specific info: 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. 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.latex-einfuehrung.de/mini-en.html (english) or http://www.latex-einfuehrung.de/mini.html (german) ################################## minimal input file ################################## other files ###################################### List of ls-R files -rw-r--r-- 1 root users 1051 2006-09-17 16:44 /var/lib/texmf/ls-R lrwxrwxrwx 1 root staff 25 2005-10-20 00:43 /usr/local/share/texmf/ls-R -> /var/lib/texmf/ls-R-LOCAL lrwxrwxrwx 1 root root 29 2006-09-20 20:09 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN lrwxrwxrwx 1 root root 35 2006-09-14 22:47 /usr/share/texmf-tetex/ls-R -> /var/lib/texmf/ls-R-TEXMFDIST-TETEX -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.otto Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages tetex-extra depends on: ii tetex-base 3.0-21 Basic TeX input files of teTeX ii tetex-bin 3.0-18 The teTeX binary files ii ucf 2.0015 Update Configuration File: preserv tetex-extra recommends no packages. -- no debconf information
\documentclass{article} \usepackage{listings} \begin{document} \lstinputlisting[float=p]{/etc/inittab} \end{document}