1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
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
|