Time-stamp: <2024-02-21 07:16:07 ax006ho> Typeset programs (programming code) within LaTeX. The source code is read directly by TeX. Keywords, comments and strings can be typeset using different styles (default is bold for keywords, italic for comments and no special style for strings). Includes support for hyperref. To use, simply \usepackage{listings}, identify the language with \lstset{language=Python}, then employ the \begin{lstlisting} ... \end{lstlisting} environment or the \lstinputlisting{filename.py} command. Version 1.5: this is a minor maintenance release and contains updates to a programming language and support for a new program as well: * Fortran is updated to version Fortran 2003 and Fortran 2008 * Lua is a newly introduced language, the supported versions are Lua 5.0, 5.1, and 5.2. Version 1.5a: this is a minor maintenance release and adds support for two new programming languages: GAP and LLVM intermediate presentation. Version 1.5b: another minor maintenance release with two features: * made a (incompatible) change in the Python definition - docstrings are now formatted as strings and not as comment - and added Python built-ins and more types of docstrings (raw and Unicode) * added files which can be used as preferences Version 1.5c: another minor maintenance release with two features: * corrected some errors (numbering of code lines, allowing \lstinline{} in tabular environments, ...) * rewrote Fortran support (split morekeywords into groups), added fortran preferences file * added hansl/gretl support Version 1.5d: another minor maintenance release with one correction and one feature: * added missing keyword "elif" for shell programs * added bash preferences file Version 1.5e: one more minor maintenance release with some corrections and several new features: * added missing keywords for shell programs * added additional keywords for C++11, based on ISO C++ * added keywords for Scala Version 1.6: first version of the 1.6 series: * corrected several bugs * withdrawn the support of \lstinline{..} in a tabular environment * added a section with workaround of that and some other problems * added keywords for Lua 5.3.0 * corrected variable vertical space Version 1.7: first version of the 1.7 series: * some new or updated language definitions * several error corrections Version 1.8: first version of the 1.8 series: * made option "inputpath" work * updated hansl * corrected small issues from the Debian bug tracker * added a command \lstlistingnamestyle for a simple customization of a label of a listing * corrected a long outstanding error: sometimes there are different vertical spaces between listings and surrounding text * added option "consecutivenumbers" to add the possibility of consecutive and non-consecutive numbering of lines * corrected an incompatibility with breqn/flexisym * changed the handling of the showspace option to make it compatible with LuaTeX * read .cfg-files with the correct catcode Version 1.9: first version of the 1.9 series: * hopefully corrected the long outstanding wrong behaviour of displaying visible spaces * generalized the use of the linerange key * introduced the key consecutivenumbers * a pagebreak between a (top) caption and source code isn't allowed anymore * the configuration files listings.cfg and lstlocal.cfg are read with the correct catcode * some documentation and layout enhancements. Version 1.10: first version of the 1.10 series: * added a tocbasic interface to make the scrhack.sty of Markus Kohm unnecessary * enhanced the documentation (upquote) Version 1.10a: added small language enhancements * partly support for Scala 3.0 * added missing keywords for OORexx planned: Version 2.0: Vereinheitlichen der Konfiguration gemäß Vorschlag von Frank Mittelbach Version 2.5: Aufteilen der Sprachpakete Version 3.0: Neuimplementierung mit LaTeX 3.0