diff options
Diffstat (limited to 'Master')
22 files changed, 3524 insertions, 3154 deletions
diff --git a/Master/texmf-dist/doc/latex/listings/README b/Master/texmf-dist/doc/latex/listings/README index 07fc43e5067..a6f0849c166 100644 --- a/Master/texmf-dist/doc/latex/listings/README +++ b/Master/texmf-dist/doc/latex/listings/README @@ -3,11 +3,9 @@ Listings package Copyright 1996--2004 Carsten Heinz (the package) Copyright 1996--2007 individual authors (language drivers) Copyright 2006--2007 Brooks Moses (continued maintenance) -Copyright 2013-- Jobst Hoffmann (continued maintenance) +Copyright 2013--2019 Jobst Hoffmann (continued maintenance) -$Id$ - -Released under the LaTeX Project Public License 1.3 or later +Released under the LaTeX Project Public License 1.3c or later The `listings' package is a source code printer for LaTeX. You can typeset stand alone files as well as listings with diff --git a/Master/texmf-dist/doc/latex/listings/listings-devel.pdf b/Master/texmf-dist/doc/latex/listings/listings-devel.pdf Binary files differindex 19365d7a7a6..06c8147ab63 100644 --- a/Master/texmf-dist/doc/latex/listings/listings-devel.pdf +++ b/Master/texmf-dist/doc/latex/listings/listings-devel.pdf diff --git a/Master/texmf-dist/doc/latex/listings/listings.pdf b/Master/texmf-dist/doc/latex/listings/listings.pdf Binary files differindex ddb30b4c829..5831599b09a 100644 --- a/Master/texmf-dist/doc/latex/listings/listings.pdf +++ b/Master/texmf-dist/doc/latex/listings/listings.pdf diff --git a/Master/texmf-dist/doc/latex/listings/lstdrvrs.pdf b/Master/texmf-dist/doc/latex/listings/lstdrvrs.pdf Binary files differindex 3db2dde57d4..823831c95d2 100644 --- a/Master/texmf-dist/doc/latex/listings/lstdrvrs.pdf +++ b/Master/texmf-dist/doc/latex/listings/lstdrvrs.pdf diff --git a/Master/texmf-dist/doc/latex/listings/Makefile b/Master/texmf-dist/source/latex/listings/Makefile index 58f10b23946..e93bffe666f 100644 --- a/Master/texmf-dist/doc/latex/listings/Makefile +++ b/Master/texmf-dist/source/latex/listings/Makefile @@ -9,7 +9,7 @@ # # This file is distributed under the terms of the LaTeX Project Public # License from CTAN archives in directory macros/latex/base/lppl.txt. -# Either version 1.3 or, at your option, any later version. +# Either version 1.3c or, at your option, any later version. # remember: # $<: first element of list of dependees diff --git a/Master/texmf-dist/source/latex/listings/listings.dtx b/Master/texmf-dist/source/latex/listings/listings.dtx index 4756e7e2400..2a9216744ab 100644 --- a/Master/texmf-dist/source/latex/listings/listings.dtx +++ b/Master/texmf-dist/source/latex/listings/listings.dtx @@ -25,13 +25,11 @@ % 1.3 of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX +% and version 1.3c or later is part of all distributions of LaTeX % version 2003/12/01 or later. % % The package has the LPPL maintenance status "maintained". % -% $Id$ -% % The Current Maintainer is Jobst Hoffmann <j.hoffmann(at)fh-aachen.de>. % % end of software license @@ -64,20 +62,33 @@ %\lstisaspect[comment styles]{b,d,l,n,s,ib,id,il,in,is} %\lstisaspect[pod]{printpod,podcomment} %\lstisaspect[escape]{texcl,escapebegin,escapeend,escapechar,escapeinside,mathescape} -%\lstisaspect[keywords]{sensitive,classoffset,keywords,morekeywords,deletekeywords,keywordstyle,ndkeywords,morendkeywords,deletendkeywords,ndkeywordstyle,keywordsprefix,otherkeywords} +%\lstisaspect[keywords]{sensitive,classoffset,keywords,morekeywords,^^A +% deletekeywords,keywordstyle,ndkeywords,morendkeywords,deletendkeywords,^^A +% ndkeywordstyle,keywordsprefix,otherkeywords} %\lstisaspect[emph]{emph,moreemph,deleteemph,emphstyle} %\lstisaspect[tex]{texcs,moretexcs,deletetexcs,texcsstyle} %\lstisaspect[directives]{directives,moredirectives,deletedirectives,directivestyle} %\lstisaspect[html]{tag,usekeywordsintag,tagstyle,markfirstintag} -%\lstisaspect[keywordcomments]{keywordcomment,morekeywordcomment,deletekeywordcomment,keywordcommentsemicolon} +%\lstisaspect[keywordcomments]{keywordcomment,morekeywordcomment,^^A +% deletekeywordcomment,keywordcommentsemicolon} %\lstisaspect[index]{index,moreindex,deleteindex,indexstyle,\string\lstindexmacro} -%\lstisaspect[procnames]{procnamestyle,indexprocnames,procnamekeys,moreprocnamekeys,deleteprocnamekeys} -%\lstisaspect[style]{style,\string\lstdefinestyle,\string\lst@definestyle,\string\lststylefiles} -%\lstisaspect[language]{language,alsolanguage,defaultdialect,\string\lstalias,\string\lstdefinelanguage,\string\lst@definelanguage,\string\lstloadlanguages,\string\lstlanguagefiles} -%\lstisaspect[formats]{format,fmtindent,\string\lstdefineformat,\string\lst@defineformat,\string\lstformatfiles} -%\lstisaspect[labels]{numbers,numberstyle,numbersep,stepnumber,numberblanklines,firstnumber,\string\thelstnumber,numberfirstline} -%\lstisaspect[lineshape]{xleftmargin,xrightmargin,resetmargins,linewidth,lineskip,breaklines,breakindent,breakautoindent,prebreak,postbreak,breakatwhitespace} -%\lstisaspect[frames]{framexleftmargin,framexrightmargin,framextopmargin,framexbottommargin,backgroundcolor,fillcolor,rulecolor,rulesepcolor,rulesep,framerule,framesep,frameshape,frameround,frame} +%\lstisaspect[procnames]{procnamestyle,indexprocnames,procnamekeys,^^A +% moreprocnamekeys,deleteprocnamekeys} +%\lstisaspect[style]{style,\string\lstdefinestyle,\string\lst@definestyle,^^A +% \string\lststylefiles} +%\lstisaspect[language]{language,alsolanguage,defaultdialect,^^A +% \string\lstalias,\string\lstdefinelanguage,\string\lst@definelanguage,^^A +% \string\lstloadlanguages,\string\lstlanguagefiles} +%\lstisaspect[formats]{format,fmtindent,\string\lstdefineformat,^^A +% \string\lst@defineformat,\string\lstformatfiles} +%\lstisaspect[labels]{numbers,numberstyle,numbersep,stepnumber,^^A +% numberblanklines,firstnumber,\string\thelstnumber,numberfirstline} +%\lstisaspect[lineshape]{xleftmargin,xrightmargin,resetmargins,linewidth,^^A +% lineskip,breaklines,breakindent,breakautoindent,prebreak,postbreak,^^A +% breakatwhitespace} +%\lstisaspect[frames]{framexleftmargin,framexrightmargin,framextopmargin,^^A +% framexbottommargin,backgroundcolor,fillcolor,rulecolor,rulesepcolor,^^A +% rulesep,framerule,framesep,frameshape,frameround,frame} %\lstisaspect[make]{makemacrouse} %\lstisaspect[fancyvrb]{fancyvrb,fvcmdparams,morefvcmdparams} %\lstisaspect[lgrind]{lgrindef,\string\lstlgrindeffile} @@ -94,7 +105,8 @@ % inputencoding,delim,moredelim,deletedelim,upquote,numberbychapter,^^A % \string\lstMakeShortInline,\string\lstDeleteShortInline} %\lstisaspect[doc]{lstsample,lstxsample}^^A environment -%\lstisaspect[experimental]{includerangemarker,rangebeginprefix,rangebeginsuffix,rangeendprefix,rangeendsuffix,rangeprefix,rangesuffix} +%\lstisaspect[experimental]{includerangemarker,rangebeginprefix,rangebeginsuffix,^^A +% rangeendprefix,rangeendsuffix,rangeprefix,rangesuffix} % %^^A %^^A The long awaited beginning of documentation @@ -119,7 +131,7 @@ % Hoffmann became the maintainer of the \packagename{listings} % package in 2013; see the Preface for details.}~ % % \textless\lstemail\textgreater} -% \date{2018/09/02\enspace\enspace Version 1.7\ \box\abstractbox} +% \date{2019/02/27\enspace\enspace Version 1.8b\ \box\abstractbox} % \def\lstemail{\href{mailto:j.hoffmann@fh-aachen.de}{\texttt{j.hoffmann(at)fh-aachen.de}}} % \ifhyper % \hypersetup{pdfsubject=Package guide,pdfauthor=Jobst Hoffmann <j.hoffmann(at)fh-aachen.de>} @@ -307,7 +319,9 @@ % Note that you possibly need to specify the relative path to the file. % Here now the result is printed below the verbatim code since both together % don't fit the text width. -% \begin{lstsample}{\lstset{comment=[l]\%,columns=fullflexible}}{\lstset{alsoletter=\\,emph=\\lstinputlisting,emphstyle=\rstyle}\lstaspectindex{\lstinputlisting}{}} +% \begin{lstsample}{\lstset{comment=[l]\%,columns=fullflexible}}^^A +% {\lstset{alsoletter=\\,emph=\\lstinputlisting,emphstyle=\rstyle}^^A +% \lstaspectindex{\lstinputlisting}{}} % \lstinputlisting[lastline=4]{listings.sty} % \end{lstsample} % \begin{advise} @@ -330,7 +344,8 @@ % Keywords are typeset bold, comments in italic shape, and spaces in strings % appear as \textvisiblespace. You don't like these settings? Look at this: %\ifcolor -% \begin{lstxsample}[basicstyle,keywordstyle,identifierstyle,commentstyle,stringstyle,showstringspaces] +% \begin{lstxsample}[basicstyle,keywordstyle,identifierstyle,commentstyle,^^A +% stringstyle,showstringspaces] % \lstset{% general command to set parameter(s) % basicstyle=\small, % print whole listing small % keywordstyle=\color{black}\bfseries\underbar, @@ -341,7 +356,8 @@ % showstringspaces=false} % no special string spaces % \end{lstxsample} %\else -% \begin{lstxsample}[basicstyle,keywordstyle,identifierstyle,commentstyle,stringstyle,showstringspaces] +% \begin{lstxsample}[basicstyle,keywordstyle,identifierstyle,commentstyle,^^A +% stringstyle,showstringspaces] % \lstset{% general command to set parameter(s) % basicstyle=\small, % print whole listing small % keywordstyle=\bfseries\underbar, @@ -479,7 +495,9 @@ % One more little teaser? Here you are. But note that the result is not % produced by the \LaTeX\ code on the right alone. The main parameter is % hidden. -% \begin{lstsample}{\lstset{literate={:=}{{$\gets$}}1 {<=}{{$\leq$}}1 {>=}{{$\geq$}}1 {<>}{{$\neq$}}1}}{} +% \begin{lstsample}{^^A +% \lstset{literate={:=}{{$\gets$}}1 {<=}{{$\leq$}}1 {>=}{{$\geq$}}1 ^^A +% {<>}{{$\neq$}}1}}{} % \begin{lstlisting} % if (i<=0) then i := 1; % if (i>=0) then i := 0; @@ -528,7 +546,7 @@ % program listings and not a document with some listings, this is the best % choice. % -% \paragraph{\href{http://www.ctan.org/tex-archive/nonfree/support/lgrind}{\packagename{LGrind}}} +% \paragraph{\href{http://mirror.ctan.org/support/lgrind}{\packagename{LGrind}}} % is a cross compiler and comes with many predefined programming languages. % For example, you can put the code on the right in your document, invoke % \packagename{LGrind} with \texttt{-e} option (and file names), and run the @@ -579,12 +597,12 @@ % chosen by command-line option. Unfortunately it isn't documented how other % programming languages can be added. % -% \paragraph{\href{http://www.ctan.org/tex-archive/support/C++2LaTeX-1_1pl1}{\packagename{\Cpp2\LaTeX}}} +% \paragraph{\href{http://mirror.ctan.org/support/C++2LaTeX-1_1pl1}{\packagename{\Cpp2\LaTeX}}} % is a C/\Cpp\ to \LaTeX\ converter. You can specify the fonts for comments, % directives, keywords, and strings, or the size of a tabulator. But as far as % I know you can't number lines. % -% \paragraph{\href{http://www.ctan.org/tex-archive/support/slatex}{\packagename{S\LaTeX}}} +% \paragraph{\href{http://mirror.ctan.org/support/slatex}{\packagename{S\LaTeX}}} % is a pretty-printing Scheme program (which invokes \LaTeX\ automatically) % especially designed for Scheme and other Lisp dialects. It supports stand % alone files, text and display listings, and you can even nest the @@ -592,14 +610,15 @@ % Keywords, constants, variables, and symbols are definable and use of % different styles is possible. No line numbers. % -% \paragraph{\href{http://www.ctan.org/tex-archive/support/tiny_c2l}{\packagename{tiny\textunderscore c2ltx}}} +% \paragraph{\href{http://mirror.ctan.org/support/tiny_c2l}^^A +% {\packagename{tiny\textunderscore c2ltx}}} % is a C/\Cpp/Java to \LaTeX\ converter based on \packagename{cvt2ltx} (or the % other way round?). It supports line numbers, block comments, \LaTeX\ code % in/as comments, and smart line breaking. Font selection and tabulators are % hard-coded, i.e.~you have to rebuild the program if you want to change the % appearance. % -% \paragraph{\href{http://www.ctan.org/tex-archive/macros/latex/contrib/misc}{\packagename{listing}}} +% \paragraph{\href{http://mirror.ctan.org/macros/latex/contrib/misc}{\packagename{listing}}} % ---note the missing \packagename{s}---is not a pretty-printer and the % aphorism about documentation at the end of \texttt{listing.sty} is not % true.\space ^^A :-) @@ -607,11 +626,12 @@ % All font selection and indention must be done by hand. However, it's % useful if you have another tool doing that work, e.g.~\packagename{LGrind}. % -% \paragraph{\href{http://www.ctan.org/tex-archive/macros/latex/contrib/alg}{\packagename{alg}}} +% \paragraph{\href{http://mirror.ctan.org/macros/latex/contrib/alg}{\packagename{alg}}} % provides essentially the same functionality as \packagename{algorithms}. % So read the next paragraph and note that the syntax will be different. % -% \paragraph{\href{http://www.ctan.org/tex-archive/macros/latex/contrib/algorithms}{\packagename{algorithms}}} +% \paragraph{\href{http://mirror.ctan.org/macros/latex/contrib/algorithms}^^A +% {\packagename{algorithms}}} % goes a quite different way. You describe an algorithm and the package % formats it, for example % \begin{center} @@ -645,7 +665,8 @@ % and floating algorithms, a list of algorithms, and you can customize the % terms \textbf{if}, \textbf{then}, and so on. % -% \paragraph{\href{http://www.mimuw.edu.pl/~wolinski/pretprin.html}{\packagename{pretprin}}} +% \paragraph{\href{http://www.mimuw.edu.pl/~wolinski/pretprin.html}^^A +% {\packagename{pretprin}}} % is a package for pretty-printing texts in formal languages---as the title % in TUGboat, Volume 19 (1998), No.~3 states. It provides environments which % pretty-print \emph{and} format the source code. Analyzers for Pascal and @@ -657,7 +678,8 @@ % |}| have their usual meanings. This means that you can use commands in the % verbatims, e.g.~select different fonts or enter math mode. % -% \paragraph{\href{http://www.ctan.org/tex-archive/macros/latex/contrib/moreverb}{\packagename{moreverb}}} +% \paragraph{\href{http://mirror.ctan.org/macros/latex/contrib/moreverb}^^A +% {\packagename{moreverb}}} % requires \packagename{verbatim} and provides verbatim output to a file, % `boxed' verbatims and line numbers. % @@ -665,7 +687,8 @@ % defines an improved version of the standard \texttt{verbatim} environment and % a command to input files verbatim. % -% \paragraph{\href{http://www.ctan.org/tex-archive/macros/latex/contrib/fancyvrb}{\packagename{fancyvrb}}} +% \paragraph{\href{http://mirror.ctan.org/macros/latex/contrib/fancyvrb}^^A +% {\packagename{fancyvrb}}} % is, roughly speaking, a superset of \packagename{alltt}, % \packagename{moreverb}, and \packagename{verbatim}, but many more parameters % control the output. The package provides frames, line numbers on the left or @@ -702,7 +725,7 @@ % either version 1.3 of this license or (at your option) any later version. % The latest version of this license is in % \href{http://www.latex-project.org/lppl.txt}{http://www.latex-project.org/lppl.txt} -% and version 1.3 or later is part of all distributions of LaTeX version +% and version 1.3c or later is part of all distributions of LaTeX version % 2003/12/01 or later. % % \paragraph{Contacts} @@ -1038,7 +1061,8 @@ % \ref{gSeduceToUse}. Here now we deal with continued listings. % You have two options to get consistent line numbering across listings. % -% \begin{lstsample}[firstnumber]{\lstset{numbers=left,numberstyle=\tiny,stepnumber=2,numbersep=5pt}}{} +% \begin{lstsample}[firstnumber]{\lstset{numbers=left,numberstyle=\tiny,^^A +% stepnumber=2,numbersep=5pt}}{} % \begin{lstlisting}[firstnumber=100] % for i:=maxint to 0 do % begin @@ -1338,7 +1362,8 @@ % The examples are typeset with centered \texttt{minipage}s. That's the reason % why you can't see that line numbers are printed in the margin. Now we % separate the minipage margin and the minipage by a vertical rule: -% \begin{lstsample}{\lstset{frame=l,framesep=0pt,numberstyle=\tiny,stepnumber=2,numbersep=5pt}}{} +% \begin{lstsample}{\lstset{frame=l,framesep=0pt,numberstyle=\tiny,stepnumber=2,^^A +% numbersep=5pt}}{} % Some text before % \begin{lstlisting} % for i:=maxint to 0 do @@ -1349,7 +1374,8 @@ % \end{lstsample} % The listing is lined up with the normal text. The parameter \ikeyname{xleftmargin} % moves the listing to the right (or left if the dimension is negative). -% \begin{lstsample}{\lstset{frame=l,framesep=0pt,numberstyle=\tiny,stepnumber=2,numbersep=5pt}}{} +% \begin{lstsample}{\lstset{frame=l,framesep=0pt,numberstyle=\tiny,stepnumber=2,^^A +% numbersep=5pt}}{} % Some text before % \begin{lstlisting}[xleftmargin=15pt] % for i:=maxint to 0 do @@ -1445,7 +1471,7 @@ % and make similar definitions for constant or function names. Then % `|indexstyle=[1]\indexkeywords|' might meet your purpose. This becomes % easier if you want to create multiple indexes with the -% \href{http://www.ctan.org/tex-archive/macros/latex/contrib/camel} +% \href{http://mirror.ctan.org/macros/latex/contrib/camel} % {\packagename{index}} package. % If you have defined appropriate new indexes, it is possible to write % `|indexstyle=\index[keywords]|', for example. @@ -1864,7 +1890,8 @@ % \lstthanks{Kai~Below}{below@tu-harburg.de}, % \lstthanks{Matthias~Bethke}{-}, % \lstthanks{Javier~Bezos}{javier.bezos@bancoval.es}, -% \lstthanks{Olaf~Trygve~Berglihn}{olafb@pvv.org}, ^^A {1999/11/29}{3-char comment delimiter don't work (Python)} +% \lstthanks{Olaf~Trygve~Berglihn}{olafb@pvv.org}, +% ^^A {1999/11/29}{3-char comment delimiter don't work (Python)} % \lstthanks{Geraint~Paul~Bevan}{geraint@users.sf.net}, % \lstthanks{Peter~Biechele}{peter.biechele@physik.uni-freiburg.de}, % \lstthanks{Beat~Birkhofer}{beat@birkhofer.ch}, @@ -1946,7 +1973,8 @@ % \lstthanks{Olivier~Lecarme}{ol@i3s.unice.fr}, % \lstthanks{Thomas~Leduc}{Thomas.Leduc@lsv.ens-cachan.fr}, % \lstthanks{Dr.~Peter~Leibner}{Peter.Leibner@sta.siemens.de}, -% \lstthanks{Thomas~Leonhardt}{leonhardt@informatik.tu-darmstadt.de} (big thankyou), ^^A beta tester +% \lstthanks{Thomas~Leonhardt}{leonhardt@informatik.tu-darmstadt.de} +% (big thankyou), ^^A beta tester % \lstthanks{Magnus~Lewis-Smith}{Magnus.Lewis-Smith@pace.co.uk}, % \lstthanks{Knut~Lickert}{knut.lickert@gmx.de}, % \lstthanks{Benjamin~Lings}{-}, @@ -2108,143 +2136,180 @@ % \subsection{Typesetting listings}\label{rTypesettingListings} % % \begin{syntax} -% \item[0.19] \rcmdname\lstset\marg{key=value list} +% \item[0.19] \rcmdname\lstset\marg{key=value list} % -% sets the values of the specified keys, see also section -% \ref{uTheKey=ValueInterface}. -% The parameters keep their values up to the end of the current group. -% In contrast, all optional \meta{key=value list}s below modify the -% parameters for single listings only. +% sets the values of the specified keys, see also section +% \ref{uTheKey=ValueInterface}. The parameters keep their values up to +% the end of the current group. In contrast, all optional +% \meta{key=value list}s below modify the parameters for single +% listings only. % -% \item[0.18] \rcmdname\lstinline\oarg{key=value list}\meta{character}\meta{source code}\meta{same character} +% \item[0.18] +% \rcmdname\lstinline\oarg{key=value list}\meta{character}^^A +% \meta{source code}\meta{same character} % -% works like |\verb| but respects the active language and style. These -% listings use flexible columns unless requested differently in the -% optional argument, and do not support frames or background colors. -% You can write `|\lstinline!var i:integer;!|' and get -% `\lstinline!var i:integer;!'. +% works like |\verb| but respects the active language and style. +% These listings use flexible columns unless requested differently +% in the optional argument, and do not support frames or background +% colors. You can write `|\lstinline!var i:integer;!|' and get +% `\lstinline!var i:integer;!'. % -% Since the command first looks ahead for an optional argument, you must -% provide at least an empty one if you want to use |[| as -% \meta{character}. +% Since the command first looks ahead for an optional argument, you +% must provide at least an empty one if you want to use |[| as +% \meta{character}. % -% \dag\ An experimental implementation has been done to support the -% syntax |\lstinline|\oarg{key=value list}\marg{source code}. Try it if -% you want and report success and failure. A known limitation is that -% inside another argument the last source code token must not be an -% explicit space token---and, of course, using a listing inside another -% argument is itself experimental, see section -% \ref{rListingsInsideArguments}. +% \dag\ An experimental implementation has been done to support the +% syntax |\lstinline|\oarg{key=value list}\marg{source code}. Try it +% if you want and report success and failure. A known limitation is +% that inside another argument the last source code token must not +% be an explicit space token---and, of course, using a listing inside +% another argument is itself experimental, see section +% \ref{rListingsInsideArguments}. % -% Another limitation is that this feature can't be used in cells of a -% |tabular|-environment. See section \ref{uListingsArguments} for a -% workaround. +% Another limitation is that this feature can't be used in cells of a +% |tabular|-environment. See section \ref{uListingsArguments} for a +% workaround. % -% See also section \ref{rShortInline} for commands to create short analogs -% for the |\lstinline| command. +% See also section \ref{rShortInline} for commands to create short +% analogs for the |\lstinline| command. % -% \item[0.15] |\begin{|\texttt{\rstyle lstlisting}|}|\oarg{key=value list} +% \item[0.15] |\begin{|\texttt{\rstyle lstlisting}|}|\oarg{key=value +% list} % -% \leavevmode\hspace*{-\leftmargini}|\end{|\texttt{\rstyle lstlisting}|}| +% \leavevmode\hspace*{-\leftmargini}|\end{|\texttt{\rstyle +% lstlisting}|}| % % typesets the code in between as a displayed listing. % -% In contrast to the environment of the \packagename{verbatim} package, -% \LaTeX\ code on the same line and after the end of environment is -% typeset respectively executed. +% In contrast to the environment of the \packagename{verbatim} +% package, \LaTeX\ code on the same line and after the end of +% environment is typeset respectively executed. % -% \item[0.1] \rcmdname\lstinputlisting\oarg{key=value list}\marg{file name} +% \item[0.1] \rcmdname\lstinputlisting\oarg{key=value list}\marg{file +% name} % % typesets the stand alone source code file as a displayed listing. +% \end{syntax} +% +% +% \subsection{Options} +% +% The following sections describe all the keys that can be used to +% influence the appearance of the listing. +% +% +% \subsubsection{Searching for files} +% +% \begin{syntax} +% \item[1.8, {}] \rkeyname{inputpath}|=|\meta{path} +% +% defines the path, where the file given by \meta{file name} resides. +% +% \rkeyname{inputpath} overrules the |TEXINPUTS| environment variable, +% which means that a file residing on one of the paths given by +% |TEXINPUTS| isn't found anymore, if \meta{path} isn't part of +% |TEXINPUTS|. +% +% \rkeyname{inputpath} set as option of \rcmdname\lstinputlisting{} +% overrules the value set by \rcmdname\lstset. % \end{syntax} % % -% \subsection{Space and placement} +% \subsubsection{Space and placement} % % \begin{syntax} -% \item[0.20,floatplacement] \rkeyname{float}|=|[|*|]\meta{subset of \textup{\texttt{tbph}}}\syntaxor\rkeyname{float} +% \item[0.20,floatplacement] \rkeyname{float}|=|[|*|]\meta{subset of +% \textup{\texttt{tbph}}}\syntaxor\rkeyname{float} % -% makes sense on individual displayed listings only and lets them float. -% The argument controls where \LaTeX\ is \emph{allowed} to put the float: -% at the top or bottom of the current/next page, on a separate page, or -% here where the listing is. +% makes sense on individual displayed listings only and lets them +% float. The argument controls where \LaTeX\ is \emph{allowed} to put +% the float: at the top or bottom of the current/next page, on a +% separate page, or here where the listing is. % -% The optional star can be used to get a double-column float in a -% two-column document. +% The optional star can be used to get a double-column float in a +% two-column document. % -% \item[0.21,tbp] \rkeyname{floatplacement}|=|\meta{place specifiers} +% \item[0.21,tbp] \rkeyname{floatplacement}|=|\meta{place specifiers} % -% is used as place specifier if \keyname{float} is used without value. +% is used as place specifier if \keyname{float} is used without value. % -% \item[0.21,\medskipamount] \rkeyname{aboveskip}|=|\meta{dimension} -% \item[0.21,\medskipamount] \rkeyname{belowskip}|=|\meta{dimension} +% \item[0.21,\medskipamount] \rkeyname{aboveskip}|=|\meta{dimension} +% \item[0.21,\medskipamount] \rkeyname{belowskip}|=|\meta{dimension} % -% define the space above and below displayed listings. +% define the space above and below displayed listings. % -% \item[0.17,0pt,\dag] \rkeyname{lineskip}|=|\meta{dimension} +% \item[0.17,0pt,\dag] \rkeyname{lineskip}|=|\meta{dimension} % -% specifies additional space between lines in listings. +% specifies additional space between lines in listings. % -% \item[0.18,c,\dag] \rkeyname{boxpos}|=|\meta{\alternative{b,c,t}} +% \item[0.18,c,\dag] \rkeyname{boxpos}|=|\meta{\alternative{b,c,t}} % -% Sometimes the \packagename{listings} package puts a |\hbox| around a -% listing---or it couldn't be printed or even processed correctly. -% The key determines the vertical alignment to the surrounding material: -% bottom baseline, centered or top baseline. +% Sometimes the \packagename{listings} package puts a |\hbox| around a +% listing---or it couldn't be printed or even processed correctly. The +% key determines the vertical alignment to the surrounding material: +% bottom baseline, centered or top baseline. % \end{syntax} % % -% \subsection{The printed range} +% \subsubsection{The printed range} % % \begin{syntax} -% \item[0.12,true] \rkeyname{print}|=|\meta{\alternative{true,false}}\syntaxor\rkeyname{print} +% \item[0.12,true] +% \rkeyname{print}|=|\meta{\alternative{true,false}}\syntaxor\rkeyname{print} % -% controls whether an individual displayed listing is typeset. Even if -% set false, the respective caption is printed and the label is defined. +% controls whether an individual displayed listing is typeset. Even if +% set false, the respective caption is printed and the label is +% defined. % -% Note: If the package is loaded without the \texttt{draft} option, you -% can use this key together with |\lstset|. In the other case the key -% can be used to typeset particular listings despite using the -% \texttt{draft} option. +% Note: If the package is loaded without the \texttt{draft} option, you +% can use this key together with |\lstset|. In the other case the key +% can be used to typeset particular listings despite using the +% \texttt{draft} option. % -% \item[0.1,1] \rkeyname{firstline}|=|\meta{number} -% \item[0.1,9999999] \rkeyname{lastline}|=|\meta{number} +% \item[0.1,1] \rkeyname{firstline}|=|\meta{number} +% \item[0.1,9999999] \rkeyname{lastline}|=|\meta{number} % -% can be used on individual listings only. They determine the physical -% input lines used to print displayed listings. +% can be used on individual listings only. They determine the physical +% input lines used to print displayed listings. % -% \item[1.2] \rkeyname{linerange}|={|\meta{first1}\texttt-\meta{last1}\texttt,\meta{first2}\texttt-\meta{last2}\texttt, and so on|}|\label{uoption:linerange} +% \item[1.2] +% \rkeyname{linerange}|={|\meta{first1}\texttt-\meta{last1}\texttt,^^A +% \meta{first2}\texttt-\meta{last2}\texttt, and so +% on|}|\label{uoption:linerange} % -% can be used on individual listings only. The given line ranges -% of the listing are displayed. The intervals must be sorted and must -% not intersect. +% can be used on individual listings only. The given line ranges of the +% listing are displayed. The intervals must be sorted and must not +% intersect. % -% \item[0.20,false] \rkeyname{showlines}|=|\meta{\alternative{true,false}}\syntaxor\rkeyname{showlines} +% \item[0.20,false] +% \rkeyname{showlines}|=|\meta{\alternative{true,false}}\syntaxor\rkeyname{showlines} % -% If true, the package prints empty lines at the end of listings. -% Otherwise these lines are dropped (but they count for line numbering). +% If true, the package prints empty lines at the end of listings. +% Otherwise these lines are dropped (but they count for line +% numbering). % -% \item[1.0] \rkeyname{emptylines}|=|[|*|]\meta{number} +% \item[1.0] \rkeyname{emptylines}|=|[|*|]\meta{number} % -% sets the maximum of empty lines allowed. If there is a block of more -% than \meta{number} empty lines, only \meta{number} ones are printed. -% Without the optional star, line numbers can be disturbed when blank -% lines are omitted; with the star, the lines keep their original -% numbers. +% sets the maximum of empty lines allowed. If there is a block of more +% than \meta{number} empty lines, only \meta{number} ones are printed. +% Without the optional star, line numbers can be disturbed when blank +% lines are omitted; with the star, the lines keep their original +% numbers. % -% \item[0.19,0] \rkeyname{gobble}|=|\meta{number} +% \item[0.19,0] \rkeyname{gobble}|=|\meta{number} % -% gobbles \meta{number} characters at the beginning of each -% \emph{environment} code line. This key has no effect on \cs{lstinline} -% or \cs{lstinputlisting}. +% gobbles \meta{number} characters at the beginning of each +% \emph{environment} code line. This key has no effect on +% \cs{lstinline} or \cs{lstinputlisting}. % -% Tabulators expand to \ikeyname{tabsize} spaces before they are gobbled. -% Code lines with fewer than \ikeyname{gobble} characters are considered -% empty. Never indent the end of environment by more characters. +% Tabulators expand to \ikeyname{tabsize} spaces before they are +% gobbled. Code lines with fewer than \ikeyname{gobble} characters are +% considered empty. Never indent the end of environment by more +% characters. % \end{syntax} % % -% \subsection{Languages and styles}\label{rLanguagesAndStyles} +% \subsubsection{Languages and styles}\label{rLanguagesAndStyles} % % Please note that the arguments \meta{language}, \meta{dialect}, and % \meta{style name} are case insensitive and that spaces have no effect. @@ -2290,71 +2355,80 @@ % % Finally, here's a small list of language-specific keys. % \begin{syntax} -% \item[0.19,false,optional] \rkeyname{printpod}|=|\meta{\alternative{true,false}} +% \item[0.19,false,optional] +% \rkeyname{printpod}|=|\meta{\alternative{true,false}} % -% prints or drops PODs in Perl. +% prints or drops PODs in Perl. % -% \item[0.20,true,{renamed,optional}] \rkeyname{usekeywordsintag}|=|\meta{\alternative{true,false}}\label{uoption:usekeywordsintag} +% \item[0.20,true,{renamed,optional}] +% \rkeyname{usekeywordsintag}|=|\meta{\alternative{true,false}}^^A +% \label{uoption:usekeywordsintag} % -% The package either use the first order keywords in tags or prints all -% identifiers inside |<>| in keyword style. +% The package either use the first order keywords in tags or prints all +% identifiers inside |<>| in keyword style. % -% \item[1.1,{{}},optional] \rkeyname{tagstyle}|=|\meta{style}\label{uoption:tagstyle} +% \item[1.1,{{}},optional] +% \rkeyname{tagstyle}|=|\meta{style}\label{uoption:tagstyle} % -% determines the style in which tags and their content is printed. +% determines the style in which tags and their content is printed. % -% \item[1.1,false,optional] \rkeyname{markfirstintag}|=|\meta{style}\label{uoption:markfirstintag} +% \item[1.1,false,optional] +% \rkeyname{markfirstintag}|=|\meta{style}\label{uoption:markfirstintag} % -% prints the first name in tags with keyword style. +% prints the first name in tags with keyword style. % -% \item[0.20,true,optional] \rkeyname{makemacrouse}|=|\meta{\alternative{true,false}} +% \item[0.20,true,optional] +% \rkeyname{makemacrouse}|=|\meta{\alternative{true,false}} % -% Make specific: Macro use of identifiers, which are defined as first -% order keywords, also prints the surrounding |$(| and |)| in keyword -% style. e.g.~you could get -% \textbf{\textdollar(}\textbf{strip} \textdollar(BIBS)\textbf{)}. -% If deactivated you get -% \textdollar(\textbf{strip} \textdollar(BIBS)). +% Make specific: Macro use of identifiers, which are defined as first +% order keywords, also prints the surrounding +% |$(| and |)| in keyword style. e.g.~you could get +% \textbf{\textdollar(}\textbf{strip} \textdollar(BIBS)\textbf{)}. If +% deactivated you get \textdollar(\textbf{strip} \textdollar(BIBS)). % \end{syntax} % % -% \subsection{Figure out the appearance}\label{rFigureOutTheAppearance} +% \subsubsection{Figure out the appearance}\label{rFigureOutTheAppearance} % % \begin{syntax} -% \item[0.18,{{}}] \rkeyname{basicstyle}|=|\meta{basic style} +% \item[0.18,{{}}] \rkeyname{basicstyle}|=|\meta{basic style} % -% is selected at the beginning of each listing. You could use -% |\footnotesize|, |\small|, |\itshape|, |\ttfamily|, or something like -% that. The last token of \meta{basic style} must not read any following -% characters. +% is selected at the beginning of each listing. You could use +% |\footnotesize|, |\small|, |\itshape|, |\ttfamily|, or something like +% that. The last token of \meta{basic style} must not read any +% following characters. % -% \item[0.18,{{}}] \rkeyname{identifierstyle}|=|\meta{style} -% \item[0.11,\itshape] \rkeyname{commentstyle}|=|\meta{style} -% \item[0.12,{{}}] \rkeyname{stringstyle}|=|\meta{style} +% \item[0.18,{{}}] \rkeyname{identifierstyle}|=|\meta{style} +% \item[0.11,\itshape] \rkeyname{commentstyle}|=|\meta{style} +% \item[0.12,{{}}] \rkeyname{stringstyle}|=|\meta{style} % -% determines the style for non-keywords, comments, and strings. The -% \emph{last} token can be an one-parameter command like |\textbf| or -% |\underbar|. +% determines the style for non-keywords, comments, and strings. The +% \emph{last} token can be an one-parameter command like |\textbf| or +% |\underbar|. % -% \item[0.11,\bfseries,addon] \rkeyname{keywordstyle}|=|\oarg{number}[\textasteriskcentered]\meta{style}\label{roption:keywordstyle} +% \item[0.11,\bfseries,addon] +% \rkeyname{keywordstyle}|=|\oarg{number}[\textasteriskcentered]^^A +% \meta{style}\label{roption:keywordstyle} % -% is used to print keywords. The optional \meta{number} argument is the -% class number to which the style should be applied. +% is used to print keywords. The optional \meta{number} argument is +% the class number to which the style should be applied. % -% Add-on: If you use the optional star after the (optional) class number, the -% keywords are printed uppercase\,---\,even if a language is case -% sensitive and defines lowercase keywords only. Maybe there should also be an -% option for lowercase keywords \ldots +% Add-on: If you use the optional star after the (optional) class +% number, the keywords are printed uppercase\,---\,even if a language +% is case sensitive and defines lowercase keywords only. Maybe there +% should also be an option for lowercase keywords \ldots % -% \item[0.19,keywordstyle,deprecated] \rkeyname{ndkeywordstyle}|=|\meta{style} +% \item[0.19,keywordstyle,deprecated] +% \rkeyname{ndkeywordstyle}|=|\meta{style} % -% is equivalent to |keywordstyle=2|\meta{style}. +% is equivalent to |keywordstyle=2|\meta{style}. % -% \item[1.0,0] \rkeyname{classoffset}|=|\meta{number} +% \item[1.0,0] \rkeyname{classoffset}|=|\meta{number} % -% is added to all class numbers before the styles, keywords, identifiers, -% etc.~are assigned. The example below defines the keywords directly; -% you could do it indirectly by selecting two different languages. +% is added to all class numbers before the styles, keywords, +% identifiers, etc.~are assigned. The example below defines the +% keywords directly; you could do it indirectly by selecting two +% different languages. % \end{syntax} %\ifcolor % \begin{lstxsample} @@ -2381,164 +2455,188 @@ % \end{lstsample} % % \begin{syntax} -% \item[0.20,keywordstyle,{addon,bug,optional}] \rkeyname{texcsstyle}|=|[|*|]\oarg{class number}\meta{style}\label{roption:texcsstyle} -% \item[0.20,keywordstyle,optional] \rkeyname{directivestyle}|=|\meta{style} -% -% determine the style of \TeX\ control sequences and directives. -% Note that these keys are present only if you've chosen an appropriate -% language. -% -% The optional star of |texcsstyle| also highlights the backslash in -% front of the control sequence name. Note that this option is set for -% all |texcs| lists. -% -% Bug: \texttt{texcs\ldots} interferes with other keyword lists. If, for -% example, \texttt{emph} contains the word \texttt{foo}, then the control -% sequence |\foo| will show up in \texttt{emphstyle}. -% -% \item[0.21] \rkeyname{emph}|=|\oarg{number}\marg{identifier list} -% \item[0.21] \rkeyname{moreemph}|=|\oarg{number}\marg{identifier list} -% \item[0.21] \rkeyname{deleteemph}|=|\oarg{number}\marg{identifier list} -% \item[0.21] \rkeyname{emphstyle}|=|\oarg{number}\marg{style} -% -% respectively define, add or remove the \meta{identifier list} from -% `emphasize class \meta{number}', or define the style for that class. -% If you don't give an optional argument, the package assumes -% \meta{number}$\,=1$. -% -% These keys are described more detailed in section -% \ref{uEmphasizeIdentifiers}. -% -% \item[1.0] \rkeyname{delim}|=|[\texttt*[\texttt*]]\texttt[\meta{type}\texttt][\texttt[\meta{style}\texttt]]\meta{delimiter\textup(s\textup)} -% \item[1.0] \rkeyname{moredelim}|=|[\texttt*[\texttt*]]\texttt[\meta{type}\texttt][\texttt[\meta{style}\texttt]]\meta{delimiter\textup(s\textup)} -% \item[1.0] \rkeyname{deletedelim}|=|[\texttt*[\texttt*]]\texttt[\meta{type}\texttt]\meta{delimiter\textup(s\textup)} -% -% define, add, or remove user supplied delimiters. (Note that this does -% not affect strings or comments.) -% -% In the first two cases \meta{style} is used to print the delimited -% code (and the delimiters). Here, \meta{style} could be something like -% |\bfseries| or |\itshape|, or it could refer to other styles via -% \texttt{keywordstyle}, \texttt{keywordstyle2}, \texttt{emphstyle}, -% etc. -% -% Supported types are \texttt{l} and \texttt{s}, see the comment keys in -% section \ref{uLanguageDefinitions} for an explanation. If you use the -% prefix \texttt i, i.e.~\texttt{il} or \texttt{is}, the delimiters are -% not printed, which is some kind of invisibility. -% -% If you use one optional star, the package will detect keywords, -% comments, and strings inside the delimited code. With both optional -% stars, aditionally the style is applied cumulatively; see section -% \ref{uDelimiters}. +% \item[0.20,keywordstyle,{addon,bug,optional}] +% \rkeyname{texcsstyle}|=|[|*|]\oarg{class +% number}\meta{style}\label{roption:texcsstyle} +% \item[0.20,keywordstyle,optional] +% \rkeyname{directivestyle}|=|\meta{style} +% +% determine the style of \TeX\ control sequences and directives. Note +% that these keys are present only if you've chosen an appropriate +% language. +% +% The optional star of |texcsstyle| also highlights the backslash in +% front of the control sequence name. Note that this option is set for +% all |texcs| lists. +% +% Bug: \texttt{texcs\ldots} interferes with other keyword lists. If, +% for example, \texttt{emph} contains the word \texttt{foo}, then the +% control sequence |\foo| will show up in \texttt{emphstyle}. +% +% \item[0.21] \rkeyname{emph}|=|\oarg{number}\marg{identifier list} +% \item[0.21] \rkeyname{moreemph}|=|\oarg{number}\marg{identifier list} +% \item[0.21] \rkeyname{deleteemph}|=|\oarg{number}\marg{identifier list} +% \item[0.21] \rkeyname{emphstyle}|=|\oarg{number}\marg{style} +% +% respectively define, add or remove the \meta{identifier list} from +% `emphasize class \meta{number}', or define the style for that class. +% If you don't give an optional argument, the package assumes +% \meta{number}$\,=1$. +% +% These keys are described more detailed in section +% \ref{uEmphasizeIdentifiers}. +% +% \item[1.0] +% \rkeyname{delim}|=|[\texttt*[\texttt*]]\texttt[\meta{type}\texttt]^^A +% [\texttt[\meta{style}\texttt]]\meta{delimiter\textup(s\textup)} +% \item[1.0] +% \rkeyname{moredelim}|=|[\texttt*[\texttt*]]\texttt[\meta{type}\texttt]^^A +% [\texttt[\meta{style}\texttt]]\meta{delimiter\textup(s\textup)} +% \item[1.0] +% \rkeyname{deletedelim}|=|[\texttt*[\texttt*]]\texttt[\meta{type}\texttt]^^A +% \meta{delimiter\textup(s\textup)} +% +% define, add, or remove user supplied delimiters. (Note that this +% does not affect strings or comments.) +% +% In the first two cases \meta{style} is used to print the delimited +% code (and the delimiters). Here, \meta{style} could be something like +% |\bfseries| or |\itshape|, or it could refer to other styles via +% \texttt{keywordstyle}, \texttt{keywordstyle2}, \texttt{emphstyle}, +% etc. +% +% Supported types are \texttt{l} and \texttt{s}, see the comment keys +% in section \ref{uLanguageDefinitions} for an explanation. If you use +% the prefix \texttt i, i.e.~\texttt{il} or \texttt{is}, the delimiters +% are not printed, which is some kind of invisibility. +% +% If you use one optional star, the package will detect keywords, +% comments, and strings inside the delimited code. With both optional +% stars, aditionally the style is applied cumulatively; see section +% \ref{uDelimiters}. % \end{syntax} % % -% \subsection{Getting all characters right} +% \subsubsection{Getting all characters right} % % \begin{syntax} -% \item[0.18,true] \rkeyname{extendedchars}|=|\meta{\alternative{true,false}}\syntaxor\rkeyname{extendedchars} +% \item[0.18,true] +% \rkeyname{extendedchars}|=|\meta{\alternative{true,false}}^^A +% \syntaxor\rkeyname{extendedchars} % -% allows or prohibits extended characters in listings, that means -% (national) characters of codes 128--255. If you use extended -% characters, you should load \packagename{fontenc} and/or -% \packagename{inputenc}, for example. +% allows or prohibits extended characters in listings, that means +% (national) characters of codes 128--255. If you use extended +% characters, you should load \packagename{fontenc} and/or +% \packagename{inputenc}, for example. % -% \item[1.0,{{}}] \rkeyname{inputencoding}|=|\meta{encoding} +% \item[1.0,{{}}] \rkeyname{inputencoding}|=|\meta{encoding} % -% determines the input encoding. The usage of this key requires the -% \packagename{inputenc} package; nothing happens if it's not loaded. +% determines the input encoding. The usage of this key requires the +% \packagename{inputenc} package; nothing happens if it's not loaded. % -% \item[1.1,false] \rkeyname{upquote}|=|\meta{\alternative{true,false}}\label{uoption:upquote} +% \item[1.1,false] +% \rkeyname{upquote}|=|\meta{\alternative{true,false}}\label{uoption:upquote} % -% determines whether the left and right quote are printed |`'| or -% \texttt{\textasciigrave\textquotesingle}. -% This key requires the \packagename{textcomp} package if true. +% determines whether the left and right quote are printed |`'| or +% \texttt{\textasciigrave\textquotesingle}. This key requires the +% \packagename{textcomp} package if true. % -% \item[0.12,8] \rkeyname{tabsize}|=|\meta{number} +% \item[0.12,8] \rkeyname{tabsize}|=|\meta{number} % -% sets tabulator stops at columns $\meta{number}+1$, $2\cdot\meta{number}+1$, $3\cdot\meta{number}+1$, and so on. -% Each tabulator in a listing moves the current column to the next -% tabulator stop. +% sets tabulator stops at columns +% $\meta{number}+1$, $2\cdot\meta{number}+1$, +% $3\cdot\meta{number}+1$, and so on. Each tabulator in a listing +% moves the current column to the next tabulator stop. % -% \item[0.20,false] \rkeyname{showtabs}|=|\meta{\alternative{true,false}} +% \item[0.20,false] \rkeyname{showtabs}|=|\meta{\alternative{true,false}} % -% make tabulators visible or invisible. A visible tabulator looks like -% \lstinline[showtabs]! !, but that can be changed. If you choose -% invisible tabulators but visible spaces, tabulators are converted to -% an appropriate number of spaces. +% make tabulators visible or invisible. A visible tabulator looks like +% \lstinline[showtabs]! !, but that can be changed. If you choose +% invisible tabulators but visible spaces, tabulators are converted to +% an appropriate number of spaces. % -% \item[0.20] \rkeyname{tab}|=|\meta{tokens} +% \item[0.20] \rkeyname{tab}|=|\meta{tokens} % -% \meta{tokens} is used to print a visible tabulator. You might want to use |$\to$|, |$\mapsto$|, |$\dashv$| or something like that instead of the strange default definition. +% \meta{tokens} is used to print a visible tabulator. You might want to +% use |$\to$|, |$\mapsto$|, +% |$\dashv$| or something like that instead of the strange default +% definition. % -% \item[0.20,false] \rkeyname{showspaces}|=|\meta{\alternative{true,false}} +% \item[0.20,false] +% \rkeyname{showspaces}|=|\meta{\alternative{true,false}} % -% lets all blank spaces appear {\textvisiblespace} or as blank spaces. +% lets all blank spaces appear {\textvisiblespace} or as blank spaces. % -% \item[0.12,true] \rkeyname{showstringspaces}|=|\meta{\alternative{true,false}} +% \item[0.12,true] +% \rkeyname{showstringspaces}|=|\meta{\alternative{true,false}} % -% lets blank spaces in strings appear {\textvisiblespace} or as blank -% spaces. +% lets blank spaces in strings appear {\textvisiblespace} or as blank +% spaces. % -% \item[0.19,\bigbreak] \rkeyname{formfeed}|=|\meta{tokens} +% \item[0.19,\bigbreak] \rkeyname{formfeed}|=|\meta{tokens} % -% Whenever a listing contains a form feed, \meta{tokens} is executed. +% Whenever a listing contains a form feed, \meta{tokens} is executed. % \end{syntax} % % -% \subsection{Line numbers}\label{rLineNumbers} +% \subsubsection{Line numbers}\label{rLineNumbers} % % \begin{syntax} -% \item[1.0,none] \rkeyname{numbers}|=|\meta{\alternative{none,left,right}} +% \item[1.0,none] +% \rkeyname{numbers}|=|\meta{\alternative{none,left,right}} % -% makes the package either print no line numbers, or put them on the -% left or the right side of a listing. +% makes the package either print no line numbers, or put them on the +% left or the right side of a listing. % -% \item[0.16,1] \rkeyname{stepnumber}|=|\meta{number} +% \item[0.16,1] \rkeyname{stepnumber}|=|\meta{number} % -% All lines with ``line number $\equiv 0$ modulo \meta{number}'' get a -% line number. -% If you turn line numbers on and off with \keyname{numbers}, the -% parameter \keyname{stepnumber} will keep its value. Alternatively you -% can turn them off via |stepnumber=0| and on with a nonzero number, and -% keep the value of \keyname{numbers}. +% All lines with ``line number $\equiv +% 0$ modulo \meta{number}'' get a line number. If you turn line +% numbers on and off with \keyname{numbers}, the parameter +% \keyname{stepnumber} will keep its value. Alternatively you can turn +% them off via |stepnumber=0| and on with a nonzero number, and keep +% the value of \keyname{numbers}. % -% \item[1.1,false] \rkeyname{numberfirstline}|=|\meta{\alternative{true,false}}\label{uoption:numberfirstline} +% \item[1.1,false] +% \rkeyname{numberfirstline}|=|\meta{\alternative{true,false}}^^A +% \label{uoption:numberfirstline} % -% The first line of each listing gets numbered (if numbers are on at all) -% even if the line number is not divisible by \keyname{stepnumber}. +% The first line of each listing gets numbered (if numbers are on at +% all) even if the line number is not divisible by +% \keyname{stepnumber}. % -% \item[0.16,{{}}] \rkeyname{numberstyle}|=|\meta{style} +% \item[0.16,{{}}] \rkeyname{numberstyle}|=|\meta{style} % -% determines the font and size of the numbers. +% determines the font and size of the numbers. % -% \item[0.19,10pt] \rkeyname{numbersep}|=|\meta{dimension} +% \item[0.19,10pt] \rkeyname{numbersep}|=|\meta{dimension} % -% is the distance between number and listing. +% is the distance between number and listing. % -% \item[1.0,true] \rkeyname{numberblanklines}|=|\meta{\alternative{true,false}} +% \item[1.0,true] +% \rkeyname{numberblanklines}|=|\meta{\alternative{true,false}} % -% If this is set to false, blank lines get no printed line number. +% If this is set to false, blank lines get no printed line number. % -% \item[0.20,auto] \rkeyname{firstnumber}|=|\meta{\alternative{auto,last,\normalfont\meta{number}}} +% \item[0.20,auto] +% \rkeyname{firstnumber}|=|\meta{\alternative{auto,last,\normalfont\meta{number}}} % -% \texttt{auto} lets the package choose the first number: a new listing -% starts with number one, a named listing continues the most recent -% same-named listing (see below), and a stand alone file begins with -% the number corresponding to the first input line. +% \texttt{auto} lets the package choose the first number: a new listing +% starts with number one, a named listing continues the most recent +% same-named listing (see below), and a stand alone file begins with +% the number corresponding to the first input line. % -% \texttt{last} continues the numbering of the most recent listing and -% \meta{number} sets it to the number. +% \texttt{last} continues the numbering of the most recent listing and +% \meta{number} sets it to the number. % -% \item[1.0] \rkeyname{name}|=|\meta{name} +% \item[1.0] \rkeyname{name}|=|\meta{name} % -% names a listing. Displayed environment-listings with the same name -% share a line counter if |firstnumber=auto| is in effect. +% names a listing. Displayed environment-listings with the same name +% share a line counter if |firstnumber=auto| is in effect. % -% \item[0.20,\arabic{lstnumber},data] \rcmdname\thelstnumber +% \item[0.20,\arabic{lstnumber},data] \rcmdname\thelstnumber % -% prints the lines' numbers. +% prints the lines' numbers. % \end{syntax} % We show an example on how to redefine |\thelstnumber|. But if you test it, % you won't get the result shown on the left. @@ -2560,23 +2658,26 @@ % \end{lstsample} % % \begin{advise} -% \item -% The example shows a sequence $n,n+1,\ldots,n+7$ of 8 three-digit figures such that the sequence contains each digit $0,1,\ldots,9$. -% But 8 is not minimal with that property. -% Find the minimal number and prove that it is minimal. -% How many minimal sequences do exist? -% -% Now look at the generalized problem: -% Let $k\in\{1,\ldots,10\}$ be given. -% Find the minimal number $m\in\{1,\ldots,10\}$ such that there is a sequence $n,{n+1},\ldots,\allowbreak{n+m-1}$ of $m$ $k$-digit figures which contains each digit $\{0,\ldots,9\}$. -% Prove that the number is minimal. -% How many minimal sequences do exist? -% -% If you solve this problem with a computer, write a \TeX\ program! +% \item The example shows a sequence +% $n,n+1,\ldots,n+7$ of 8 three-digit figures such that the sequence +% contains each digit +% $0,1,\ldots,9$. But 8 is not minimal with that property. Find the +% minimal number and prove that it is minimal. How many minimal +% sequences do exist? +% +% Now look at the generalized problem: Let +% $k\in\{1,\ldots,10\}$ be given. Find the minimal number +% $m\in\{1,\ldots,10\}$ such that there is a sequence +% $n,{n+1},\ldots,\allowbreak{n+m-1}$ of $m$ +% $k$-digit figures which contains each digit +% $\{0,\ldots,9\}$. Prove that the number is minimal. How many +% minimal sequences do exist? +% +% If you solve this problem with a computer, write a \TeX\ program! % \end{advise} % % -% \subsection{Captions} +% \subsubsection{Captions} % % In despite of \LaTeX\ standard behaviour, captions and floats are independent % from each other here; you can use captions with non-floating listings. @@ -2642,52 +2743,59 @@ % \end{syntax} % % -% \subsection{Margins and line shape}\label{rMarginsAndLineShape} +% \subsubsection{Margins and line shape}\label{rMarginsAndLineShape} % % \begin{syntax} -% \item[0.21,\linewidth] \rkeyname{linewidth}|=|\meta{dimension} +% \item[0.21,\linewidth] \rkeyname{linewidth}|=|\meta{dimension} % -% defines the base line width for listings. The following three keys are -% taken into account additionally. +% defines the base line width for listings. The following three keys +% are taken into account additionally. % -% \item[0.19,0pt] \rkeyname{xleftmargin}|=|\meta{dimension} -% \item[1.0,0pt] \rkeyname{xrightmargin}|=|\meta{dimension} +% \item[0.19,0pt] \rkeyname{xleftmargin}|=|\meta{dimension} +% \item[1.0,0pt] \rkeyname{xrightmargin}|=|\meta{dimension} % -% The dimensions are used as extra margins on the left and right. Line -% numbers and frames are both moved accordingly. +% The dimensions are used as extra margins on the left and right. Line +% numbers and frames are both moved accordingly. % -% \item[0.19,false] \rkeyname{resetmargins}|=|\meta{\alternative{true,false}} +% \item[0.19,false] +% \rkeyname{resetmargins}|=|\meta{\alternative{true,false}} % -% If true, indention from list environments like \texttt{enumerate} or -% \texttt{itemize} is reset, i.e.~not used. +% If true, indention from list environments like \texttt{enumerate} or +% \texttt{itemize} is reset, i.e.~not used. % -% \item[0.20,false] \rkeyname{breaklines}|=|\meta{\alternative{true,false}}\syntaxor\rkeyname{breaklines} +% \item[0.20,false] +% \rkeyname{breaklines}|=|\meta{\alternative{true,false}}\syntaxor\rkeyname{breaklines} % -% activates or deactivates automatic line breaking of long lines. +% activates or deactivates automatic line breaking of long lines. % -% \item[1.2,false] \rkeyname{breakatwhitespace}|=|\meta{\alternative{true,false}}\syntaxor\rkeyname{breakatwhitespace}\label{uoption:breakatwhitespace} +% \item[1.2,false] +% \rkeyname{breakatwhitespace}|=|\meta{\alternative{true,false}}^^A +% \syntaxor\rkeyname{breakatwhitespace}\label{uoption:breakatwhitespace} % -% If true, it allows line breaks only at white space. +% If true, it allows line breaks only at white space. % -% \item[0.20,{{}}] \rkeyname{prebreak}|=|\meta{tokens} -% \item[0.20,{{}}] \rkeyname{postbreak}|=|\meta{tokens} +% \item[0.20,{{}}] \rkeyname{prebreak}|=|\meta{tokens} +% \item[0.20,{{}}] \rkeyname{postbreak}|=|\meta{tokens} % -% \meta{tokens} appear at the end of the current line respectively at the beginning of the next (broken part of the) line. +% \meta{tokens} appear at the end of the current line respectively at +% the beginning of the next (broken part of the) line. % -% You must not use dynamic space (in particular spaces) since internally we use |\discretionary|. -% However |\space| is redefined to be used inside \meta{tokens}. +% You must not use dynamic space (in particular spaces) since +% internally we use |\discretionary|. However |\space| is redefined to +% be used inside \meta{tokens}. % -% \item[0.20,20pt] \rkeyname{breakindent}|=|\meta{dimension} +% \item[0.20,20pt] \rkeyname{breakindent}|=|\meta{dimension} % -% is the indention of the second, third, \ldots\ line of broken lines. +% is the indention of the second, third, \ldots\ line of broken lines. % -% \item[0.20,true] \rkeyname{breakautoindent}|=|\meta{\alternative{true,false}}\syntaxor\rkeyname{breakautoindent} +% \item[0.20,true] +% \rkeyname{breakautoindent}|=|\meta{\alternative{true,false}}^^A +% \syntaxor\rkeyname{breakautoindent} % -% activates or deactivates automatic indention of broken lines. This -% indention is used additionally to \ikeyname{breakindent}, see the -% example below. -% Visible spaces or visible tabulators might set this auto -% indention to zero. +% activates or deactivates automatic indention of broken lines. This +% indention is used additionally to \ikeyname{breakindent}, see the +% example below. Visible spaces or visible tabulators might set this +% auto indention to zero. % \end{syntax} % In the following example we use tabulators to create long lines, but the % verbatim part uses |tabsize=1|. @@ -2707,65 +2815,69 @@ % \end{lstsample} % % -% \subsection{Frames}\label{rFrames} +% \subsubsection{Frames}\label{rFrames} % % \begin{syntax} -% \item[1.0,none] \rkeyname{frame}|=|\meta{\alternative{none,leftline,topline,bottomline,lines,single,shadowbox}} +% \item[1.0,none] +% \rkeyname{frame}|=|\meta{\alternative{none,leftline,topline,bottomline,^^A +% lines,single,shadowbox}} % -% draws either no frame, a single line on the left, at the top, at the -% bottom, at the top and bottom, a whole single frame, or a shadowbox. +% draws either no frame, a single line on the left, at the top, at the +% bottom, at the top and bottom, a whole single frame, or a shadowbox. % -% Note that \packagename{fancyvrb} supports the same frame types except -% \texttt{shadowbox}. The shadow color is \keyname{rulesepcolor}, see -% below. +% Note that \packagename{fancyvrb} supports the same frame types except +% \texttt{shadowbox}. The shadow color is \keyname{rulesepcolor}, see +% below. % -% \item[0.19,{{}}] \rkeyname{frame}|=|\meta{subset of \textup{\texttt{trblTRBL}}} +% \item[0.19,{{}}] \rkeyname{frame}|=|\meta{subset of +% \textup{\texttt{trblTRBL}}} % -% The characters \texttt{trblTRBL} designate lines at the top and -% bottom of a listing and to lines on the right and left. Upper case -% characters are used to draw double rules. So |frame=tlrb| draws a -% single frame and |frame=TL| double lines at the top and on the left. +% The characters \texttt{trblTRBL} designate lines at the top and +% bottom of a listing and to lines on the right and left. Upper case +% characters are used to draw double rules. So |frame=tlrb| draws a +% single frame and |frame=TL| double lines at the top and on the left. % -% Note that frames usually reside outside the listing's space. +% Note that frames usually reside outside the listing's space. % -% \item[0.20,ffff] \rkeyname{frameround}|=|\meta{\alternative{t,f}}\meta{\alternative{t,f}}\meta{\alternative{t,f}}\meta{\alternative{t,f}} +% \item[0.20,ffff] +% \rkeyname{frameround}|=|\meta{\alternative{t,f}}\meta{\alternative{t,f}}^^A +% \meta{\alternative{t,f}}\meta{\alternative{t,f}} % -% The four letters designate the top right, bottom right, bottom -% left and top left corner. In this order. \texttt{t} makes the -% according corner round. If you use round corners, the rule width is -% controlled via |\thinlines| and |\thicklines|. +% The four letters designate the top right, bottom right, bottom left +% and top left corner. In this order. \texttt{t} makes the according +% corner round. If you use round corners, the rule width is controlled +% via |\thinlines| and |\thicklines|. % -% Note: The size of the quarter circles depends on \keyname{framesep} -% and is independent of the extra margins of a frame. The size is -% possibly adjusted to fit \LaTeX's circle sizes. +% Note: The size of the quarter circles depends on \keyname{framesep} +% and is independent of the extra margins of a frame. The size is +% possibly adjusted to fit \LaTeX's circle sizes. % -% \item[0.19,3pt] \rkeyname{framesep}|=|\meta{dimension} -% \item[0.19,2pt] \rkeyname{rulesep}|=|\meta{dimension} +% \item[0.19,3pt] \rkeyname{framesep}|=|\meta{dimension} +% \item[0.19,2pt] \rkeyname{rulesep}|=|\meta{dimension} % -% control the space between frame and listing and between double rules. +% control the space between frame and listing and between double rules. % -% \item[0.19,0.4pt] \rkeyname{framerule}|=|\meta{dimension} +% \item[0.19,0.4pt] \rkeyname{framerule}|=|\meta{dimension} % -% controls the width of the rules. +% controls the width of the rules. % -% \item[1.0,0pt] \rkeyname{framexleftmargin}|=|\meta{dimension} -% \item[1.0,0pt] \rkeyname{framexrightmargin}|=|\meta{dimension} -% \item[1.0,0pt] \rkeyname{framextopmargin}|=|\meta{dimension} -% \item[1.0,0pt] \rkeyname{framexbottommargin}|=|\meta{dimension} +% \item[1.0,0pt] \rkeyname{framexleftmargin}|=|\meta{dimension} +% \item[1.0,0pt] \rkeyname{framexrightmargin}|=|\meta{dimension} +% \item[1.0,0pt] \rkeyname{framextopmargin}|=|\meta{dimension} +% \item[1.0,0pt] \rkeyname{framexbottommargin}|=|\meta{dimension} % -% are the dimensions which are used additionally to \keyname{framesep} -% to make up the margin of a frame. +% are the dimensions which are used additionally to \keyname{framesep} +% to make up the margin of a frame. % -% \item[0.21] \rkeyname{backgroundcolor}|=|\meta{color command} -% \item[0.21] \rkeyname{rulecolor}|=|\meta{color command} -% \item[1.0] \rkeyname{fillcolor}|=|\meta{color command} -% \item[1.0] \rkeyname{rulesepcolor}|=|\meta{color command} +% \item[0.21] \rkeyname{backgroundcolor}|=|\meta{color command} +% \item[0.21] \rkeyname{rulecolor}|=|\meta{color command} +% \item[1.0] \rkeyname{fillcolor}|=|\meta{color command} +% \item[1.0] \rkeyname{rulesepcolor}|=|\meta{color command} % -% specify the colour of the background, the rules, the space between -% `text box' and first rule, and of the space between two rules, -% respectively. -% Note that the value requires a |\color| command, for example -% \keyname{rulecolor}|=\color{blue}|. +% specify the colour of the background, the rules, the space between +% `text box' and first rule, and of the space between two rules, +% respectively. Note that the value requires a |\color| command, for +% example \keyname{rulecolor}|=\color{blue}|. % \end{syntax} % \ikeyname{frame} does not work with |fancyvrb=true| or when the package % internally makes a |\hbox| around the listing! And there are certainly more @@ -2799,25 +2911,26 @@ % \end{lstlisting} % \end{lstsample} % \begin{syntax} -% \item[0.20,,\dag] \rkeyname{frameshape}|=|\marg{top shape}\marg{left shape}\marg{right shape}\marg{bottom shape} -% -% gives you full control over the drawn frame parts. -% The arguments are not case sensitive. -% -% Both \meta{left shape} and \meta{right shape} are `left-to-right' -% \alternative{y,n} character sequences (or empty). Each |y| lets the -% package draw a rule, otherwise the rule is blank. These vertical rules -% are drawn `left-to-right' according to the specified shapes. -% The example above uses |yny|. -% -% \meta{top shape} and \meta{bottom shape} are `left-rule-right' -% sequences (or empty). The first `left-rule-right' sequence is attached -% to the most inner rule, the second to the next, and so on. -% Each sequence has three characters: `rule' is either |y| or |n|; -% `left' and `right' are |y|, |n| or |r| (which makes a corner round). -% The example uses |RYRYNYYYY| for both shapes: -% |RYR| describes the most inner (top and bottom) frame shape, |YNY| -% the middle, and |YYY| the most outer. +% \item[0.20,,\dag] \rkeyname{frameshape}|=|\marg{top shape}\marg{left +% shape}\marg{right shape}\marg{bottom shape} +% +% gives you full control over the drawn frame parts. The arguments are +% not case sensitive. +% +% Both \meta{left shape} and \meta{right shape} are `left-to-right' +% \alternative{y,n} character sequences (or empty). Each |y| lets the +% package draw a rule, otherwise the rule is blank. These vertical +% rules are drawn `left-to-right' according to the specified shapes. +% The example above uses |yny|. +% +% \meta{top shape} and \meta{bottom shape} are `left-rule-right' +% sequences (or empty). The first `left-rule-right' sequence is +% attached to the most inner rule, the second to the next, and so on. +% Each sequence has three characters: `rule' is either |y| or |n|; +% `left' and `right' are |y|, |n| or |r| (which makes a corner round). +% The example uses |RYRYNYYYY| for both shapes: |RYR| describes the +% most inner (top and bottom) frame shape, |YNY| the middle, and |YYY| +% the most outer. % \end{syntax} % To summarize, the example above used % \begin{verbatim} @@ -2826,94 +2939,107 @@ % However you'll get in trouble if you use round corners when they are too big. % % -% \subsection{Indexing} +% \subsubsection{Indexing} % % \begin{syntax} -% \item[0.19] \rkeyname{index}|=|\oarg{number}\oarg{keyword classes}\marg{identifiers} -% \item[0.21] \rkeyname{moreindex}|=|\oarg{number}\oarg{keyword classes}\marg{identifiers} -% \item[0.21] \rkeyname{deleteindex}|=|\oarg{number}\oarg{keyword classes}\marg{identifiers} -% -% define, add and remove \meta{identifiers} and \meta{keyword classes} -% from the index class list \meta{number}. If you don't specify the -% optional number, the package assumes \meta{number} $=1$. -% -% Each appearance of the explicitly given identifiers and each appearance -% of the identifiers of the specified \meta{keyword classes} is indexed. -% For example, you could write |index=[1][keywords]| to index all -% keywords. Note that |[1]| is required here---otherwise we couldn't use -% the second optional argument. -% -% \item[0.19,\lstindexmacro] \rkeyname{indexstyle}|=|\oarg{number}\meta{tokens \textup(one-parameter command\textup)} -% -% \meta{tokens} actually indexes the identifiers for the list -% \meta{number}. In contrast to the style keys, \meta{tokens} -% \emph{must} read exactly one parameter, namely the identifier. -% Default definition is\icmdname{\lstindexmacro}\vspace*{-\itemsep} +% \item[0.19] \rkeyname{index}|=|\oarg{number}\oarg{keyword +% classes}\marg{identifiers} +% \item[0.21] \rkeyname{moreindex}|=|\oarg{number}\oarg{keyword +% classes}\marg{identifiers} +% \item[0.21] \rkeyname{deleteindex}|=|\oarg{number}\oarg{keyword +% classes}\marg{identifiers} +% +% define, add and remove \meta{identifiers} and \meta{keyword classes} +% from the index class list \meta{number}. If you don't specify the +% optional number, the package assumes \meta{number} $=1$. +% +% Each appearance of the explicitly given identifiers and each +% appearance of the identifiers of the specified \meta{keyword classes} +% is indexed. For example, you could write |index=[1][keywords]| to +% index all keywords. Note that |[1]| is required here---otherwise we +% couldn't use the second optional argument. +% +% \item[0.19,\lstindexmacro] +% \rkeyname{indexstyle}|=|\oarg{number}\meta{tokens +% \textup(one-parameter command\textup)} +% +% \meta{tokens} actually indexes the identifiers for the list +% \meta{number}. In contrast to the style keys, \meta{tokens} +% \emph{must} read exactly one parameter, namely the identifier. +% Default definition is\icmdname{\lstindexmacro}\vspace*{-\itemsep} % \begin{verbatim} % \newcommand\lstindexmacro[1]{\index{{\ttfamily#1}}}\end{verbatim} % \vspace*{-\itemsep}which you shouldn't modify. % Define your own indexing commands and use them as argument to this key. -% \end{syntax} +% \end{syntax} % Section \ref{uIndexing} describes this feature in detail. % % -% \subsection{Column alignment}\label{rColumnAlignment} +% \subsubsection{Column alignment}\label{rColumnAlignment} % % \begin{syntax} -% \item[1.0,{[c]fixed}] \rkeyname{columns}|=|\oarg{\alternative{c,l,r}}\meta{alignment} -% -% selects the column alignment. The \meta{alignment} can be |fixed|, -% |flexible|, |spaceflexible|, or |fullflexible|; see section -% \ref{uFixedAndFlexibleColumns} for details. -% -% The optional |c|, |l|, or |r| controls the horizontal orientation of -% smallest output units (keywords, identifiers, etc.). The arguments work -% as follows, where vertical bars visualize the effect: -% $\vert$\lstinline[columns={[c]fixed}]!listing!$\vert$, -% $\vert$\lstinline[columns={[l]fixed}]!listing!$\vert$, and -% $\vert$\lstinline[columns={[r]fixed}]!listing!$\vert$ -% in fixed column mode, -% $\vert$\lstinline[columns={[c]flexible}]!listing!$\vert$, -% $\vert$\lstinline[columns={[l]flexible}]!listing!$\vert$, and -% $\vert$\lstinline[columns={[r]flexible}]!listing!$\vert$ -% with flexible columns, and -% $\vert$\lstinline[columns={[c]fullflexible}]!listing!$\vert$, -% $\vert$\lstinline[columns={[l]fullflexible}]!listing!$\vert$, and -% $\vert$\lstinline[columns={[r]fullflexible}]!listing!$\vert$ -% with space-flexible or full flexible columns (which ignore the -% optional argument, since they do not add extra space around -% printable characters). -% -% \item[0.18,false] \rkeyname{flexiblecolumns}|=|\meta{\alternative{true,false}}\syntaxor\rkeyname{flexiblecolumns} -% -% selects the most recently selected flexible or fixed column format, -% refer to section \ref{uFixedAndFlexibleColumns}. -% -% \item[0.21,false,\dag] \rkeyname{keepspaces}|=|\meta{\alternative{true,false}} -% -% |keepspaces=true| tells the package not to drop spaces to fix column -% alignment and always converts tabulators to spaces. -% -% \item[0.16] \rkeyname{basewidth}|=|\meta{dimension}\syntaxor -% \item[0.18,{{0.6em,0.45em}}] \rkeyname{basewidth}|={|\meta{fixed}|,|\meta{flexible mode}|}| -% -% sets the width of a single character box for fixed and flexible column -% mode (both to the same value or individually). -% -% \item[0.20,false] \rkeyname{fontadjust}|=|\meta{\alternative{true,false}}\syntaxor\rkeyname{fontadjust} -% -% If true the package adjusts the base width every font selection. -% This makes sense only if \ikeyname{basewidth} is given in font specific -% units like `em' or `ex'---otherwise this boolean has no effect. -% -% After loading the package, it doesn't adjust the width every font -% selection: it looks at \ikeyname{basewidth} each listing and uses the -% value for the whole listing. This is possibly inadequate if the style -% keys in section \ref{rFigureOutTheAppearance} make heavy font size -% changes, see the example below. -% -% Note that this key might disturb the column alignment and might have an -% effect on the keywords' appearance! +% \item[1.0,{[c]fixed}] +% \rkeyname{columns}|=|\oarg{\alternative{c,l,r}}\meta{alignment} +% +% selects the column alignment. The \meta{alignment} can be |fixed|, +% |flexible|, |spaceflexible|, or |fullflexible|; see section +% \ref{uFixedAndFlexibleColumns} for details. +% +% The optional |c|, |l|, or |r| controls the horizontal orientation of +% smallest output units (keywords, identifiers, etc.). The arguments +% work as follows, where vertical bars visualize the effect: +% $\vert$\lstinline[columns={[c]fixed}]!listing!$\vert$, +% $\vert$\lstinline[columns={[l]fixed}]!listing!$\vert$, and +% $\vert$\lstinline[columns={[r]fixed}]!listing!$\vert$ in fixed column +% mode, +% $\vert$\lstinline[columns={[c]flexible}]!listing!$\vert$, +% $\vert$\lstinline[columns={[l]flexible}]!listing!$\vert$, and +% $\vert$\lstinline[columns={[r]flexible}]!listing!$\vert$ with +% flexible columns, and +% $\vert$\lstinline[columns={[c]fullflexible}]!listing!$\vert$, +% $\vert$\lstinline[columns={[l]fullflexible}]!listing!$\vert$, and +% $\vert$\lstinline[columns={[r]fullflexible}]!listing!$\vert$ with +% space-flexible or full flexible columns (which ignore the optional +% argument, since they do not add extra space around printable +% characters). +% +% \item[0.18,false] +% \rkeyname{flexiblecolumns}|=|\meta{\alternative{true,false}}^^A +% \syntaxor\rkeyname{flexiblecolumns} +% +% selects the most recently selected flexible or fixed column format, +% refer to section \ref{uFixedAndFlexibleColumns}. +% +% \item[0.21,false,\dag] +% \rkeyname{keepspaces}|=|\meta{\alternative{true,false}} +% +% |keepspaces=true| tells the package not to drop spaces to fix column +% alignment and always converts tabulators to spaces. +% +% \item[0.16] \rkeyname{basewidth}|=|\meta{dimension}\syntaxor +% \item[0.18,{{0.6em,0.45em}}] +% \rkeyname{basewidth}|={|\meta{fixed}|,|\meta{flexible mode}|}| +% +% sets the width of a single character box for fixed and flexible +% column mode (both to the same value or individually). +% +% \item[0.20,false] +% \rkeyname{fontadjust}|=|\meta{\alternative{true,false}}^^A +% \syntaxor\rkeyname{fontadjust} +% +% If true the package adjusts the base width every font selection. +% This makes sense only if \ikeyname{basewidth} is given in font +% specific units like `em' or `ex'---otherwise this boolean has no +% effect. +% +% After loading the package, it doesn't adjust the width every font +% selection: it looks at \ikeyname{basewidth} each listing and uses the +% value for the whole listing. This is possibly inadequate if the style +% keys in section \ref{rFigureOutTheAppearance} make heavy font size +% changes, see the example below. +% +% Note that this key might disturb the column alignment and might have +% an effect on the keywords' appearance! % \end{syntax} % \begin{lstsample}{\lstset{basicstyle=\normalsize}}{} % \lstset{commentstyle=\scriptsize} @@ -2938,7 +3064,7 @@ % \end{lstsample} % % -% \subsection{Escaping to \LaTeX}\label{rEscapingToLaTeX} +% \subsubsection{Escaping to \LaTeX}\label{rEscapingToLaTeX} % % \textbf{Note:} {\itshape Any escape to \LaTeX\ may disturb the column % alignment since the package can't control the spacing there.} @@ -2960,32 +3086,36 @@ % \end{lstsample} % % \begin{syntax} -% \item[0.19,false] \rkeyname{mathescape}|=|\meta{\alternative{true,false}} +% \item[0.19,false] +% \rkeyname{mathescape}|=|\meta{\alternative{true,false}} % -% activates or deactivates special behaviour of the dollar sign. -% If activated a dollar sign acts as \TeX's text math shift. +% activates or deactivates special behaviour of the dollar sign. If +% activated a dollar sign acts as \TeX's text math shift. % -% This key is useful if you want to typeset formulas in listings. +% This key is useful if you want to typeset formulas in listings. % -% \item[0.19,{{}}] \rkeyname{escapechar}|=|\meta{character}\syntaxor\rkeyname{escapechar}|={}| +% \item[0.19,{{}}] +% \rkeyname{escapechar}|=|\meta{character}\syntaxor\rkeyname{escapechar}|={}| % -% If not empty the given character escapes the user to \LaTeX: all code -% between two such characters is interpreted as \LaTeX\ code. Note that -% \TeX's special characters must be entered with a preceding backslash, -% e.g.~|escapechar=\%|. +% If not empty the given character escapes the user to \LaTeX: all code +% between two such characters is interpreted as \LaTeX\ code. Note that +% \TeX's special characters must be entered with a preceding backslash, +% e.g.~|escapechar=\%|. % -% \item[0.20,{{}}] \rkeyname{escapeinside}|=|\meta{character}\meta{character}\syntaxor\rkeyname{escapeinside}|={}| +% \item[0.20,{{}}] +% \rkeyname{escapeinside}|=|\meta{character}\meta{character}^^A +% \syntaxor\rkeyname{escapeinside}|={}| % -% Is a generalization of \ikeyname{escapechar}. If the value is not -% empty, the package escapes to \LaTeX\ between the first and second -% character. +% Is a generalization of \ikeyname{escapechar}. If the value is not +% empty, the package escapes to \LaTeX\ between the first and second +% character. % -% \item[0.20,{{}}] \rkeyname{escapebegin}|=|\meta{tokens} -% \item[0.20,{{}}] \rkeyname{escapeend}|=|\meta{tokens} +% \item[0.20,{{}}] \rkeyname{escapebegin}|=|\meta{tokens} +% \item[0.20,{{}}] \rkeyname{escapeend}|=|\meta{tokens} % -% The tokens are executed at the beginning respectively at the end of -% each escape, in particular for \ikeyname{texcl}. -% See section \ref{uNationalCharacters} for an application. +% The tokens are executed at the beginning respectively at the end of +% each escape, in particular for \ikeyname{texcl}. See section +% \ref{uNationalCharacters} for an application. % \end{syntax} % % \begin{lstsample}{\lstset{morecomment=[l]//}}{} @@ -3036,32 +3166,38 @@ % some remarkable features the \packagename{listings} package doesn't have. % (Some are possible, but you must find somebody who will implement them |;-)|. % \begin{syntax} -% \item[0.19] \rkeyname{fancyvrb}|=|\meta{\alternative{true,false}} -% -% activates or deactivates the interface. If active, verbatim code is -% read by \packagename{fancyvrb} but typeset by \packagename{listings}, -% i.e.~with emphasized keywords, strings, comments, and so on. -% Internally we use a very special definition of |\FancyVerbFormatLine|. -% -% This interface works with |Verbatim|, |BVerbatim| and |LVerbatim|. -% But you shouldn't use \packagename{fancyvrb}'s \keyname{defineactive}. -% (As far as I can see it doesn't matter since it does nothing at all, -% but for safety \ldots .) -% If \packagename{fancyvrb} and \packagename{listings} provide similar -% functionality, you should use \packagename{fancyvrb}'s. -% -% \item[1.1,{\overlay 1}] \rkeyname{fvcmdparams}|=|\meta{command$_1$}\meta{number$_1$}\ldots\label{uoption:fvcmdparams} -% \item[1.1] \rkeyname{morefvcmdparams}|=|\meta{command$_1$}\meta{number$_1$}\ldots\label{uoption:morefvcmdparams} -% -% If you use \packagename{fancyvrb}'s \keyname{commandchars}, you must -% tell the \packagename{listings} package how many arguments each command -% takes. If a command takes no arguments, there is nothing to do. -% -% The first (third, fifth, \ldots) parameter to the keys is the command -% and the second (fourth, sixth, \ldots) is the number of arguments -% that command takes. So, if you want to use |\textcolor{red}{keyword}| -% with the \packagename{fancyvrb}-\packagename{listings} interface, you -% should write |\lstset{morefvcmdparams=\textcolor 2}|. +% \item[0.19] \rkeyname{fancyvrb}|=|\meta{\alternative{true,false}} +% +% activates or deactivates the interface. If active, verbatim code is +% read by \packagename{fancyvrb} but typeset by \packagename{listings}, +% i.e.~with emphasized keywords, strings, comments, and so on. +% Internally we use a very special definition of +% |\FancyVerbFormatLine|. +% +% This interface works with |Verbatim|, |BVerbatim| and |LVerbatim|. +% But you shouldn't use \packagename{fancyvrb}'s +% \keyname{defineactive}. (As far as I can see it doesn't matter since +% it does nothing at all, but for safety \ldots .) If +% \packagename{fancyvrb} and \packagename{listings} provide similar +% functionality, you should use \packagename{fancyvrb}'s. +% +% \item[1.1,{\overlay 1}] +% \rkeyname{fvcmdparams}|=|\meta{command$_1$}\meta{number$_1$}^^A +% \ldots\label{uoption:fvcmdparams} +% \item[1.1] +% \rkeyname{morefvcmdparams}|=|\meta{command$_1$}\meta{number$_1$}^^A +% \ldots\label{uoption:morefvcmdparams} +% +% If you use \packagename{fancyvrb}'s \keyname{commandchars}, you must +% tell the \packagename{listings} package how many arguments each +% command takes. If a command takes no arguments, there is nothing to +% do. +% +% The first (third, fifth, \ldots) parameter to the keys is the command +% and the second (fourth, sixth, \ldots) is the number of arguments +% that command takes. So, if you want to use |\textcolor{red}{keyword}| +% with the \packagename{fancyvrb}-\packagename{listings} interface, you +% should write |\lstset{morefvcmdparams=\textcolor 2}|. % \end{syntax} % % \iffancyvrb @@ -3152,7 +3288,11 @@ % to language definitions. Otherwise you're probably unprepared for the full % syntax of |\lstdefinelanguage|. % \begin{syntax} -% \item[0.19] \rcmdname\lstdefinelanguage\syntaxnewline[\oarg{dialect}]\marg{language}\syntaxnewline[\oarg{base dialect}\marg{and base language}]\syntaxnewline\marg{key=value list}\syntaxnewline[\oarg{list of required aspects \textup(keywordcomments,texcs,etc.\textup)}] +% \item[0.19] \rcmdname\lstdefinelanguage\syntaxnewline[\oarg{dialect}]^^A +% \marg{language}\syntaxnewline[\oarg{base dialect}^^A +% \marg{and base language}]\syntaxnewline\marg{key=value list}^^A +% \syntaxnewline[\oarg{list of required aspects ^^A +% \textup(keywordcomments,texcs,etc.\textup)}] % % defines the (given dialect of the) programming language \meta{language}. % If the language definition is based on another definition, you must @@ -3203,90 +3343,103 @@ % {\upshape|\|, |{|, |}|, |%|, |#|} or {\upshape|&|} as (part of) an argument % to the keywords below, you must do it with a preceding backslash!} % \begin{syntax} -% \item[1.0,,{\dag bug}] \rkeyname{keywordsprefix}|=|\meta{prefix} -% -% All identifiers starting with \meta{prefix} will be printed as first -% order keywords. -% -% Bugs: Currently there are several limitations. -% (1) The prefix is always case sensitive. -% (2) Only one prefix can be defined at a time. -% (3) If used `standalone' outside a language definition, the key might -% work only after selecting a nonempty language (and switching back to -% the empty language if necessary). -% (4) The key does not respect the value of \keyname{classoffset} and -% has no optional class \meta{number} argument. -% -% \item[0.11] \rkeyname{keywords}|=|\oarg{number}\marg{list of keywords} -% \item[0.11] \rkeyname{morekeywords}|=|\oarg{number}\marg{list of keywords} -% \item[0.18] \rkeyname{deletekeywords}|=|\oarg{number}\marg{list of keywords} -% -% define, add to or remove the keywords from keyword list \meta{number}. -% The use of \keyname{keywords} is discouraged since it deletes all -% previously defined keywords in the list and is thus incompatible with -% the \keyname{alsolanguage} key. -% -% Please note the keys \ikeyname{alsoletter} and \ikeyname{alsodigit} -% below if you use unusual charaters in keywords. -% -% \item[0.19,,deprecated] \rkeyname{ndkeywords}|=|\marg{list of keywords} -% \item[0.19,,deprecated] \rkeyname{morendkeywords}|=|\marg{list of keywords} -% \item[0.19,,deprecated] \rkeyname{deletendkeywords}|=|\marg{list of keywords} -% -% define, add to or remove the keywords from keyword list 2; note that -% this is equivalent to |keywords=[2]|\ldots etc. -% The use of \keyname{ndkeywords} is strongly discouraged. -% -% \item[0.19,,{addon,optional}] \rkeyname{texcs}|=|\oarg{class number}\marg{list of control sequences \textup(without backslashes\textup)} -% \item[0.20,,{addon,optional}] \rkeyname{moretexcs}|=|\oarg{class number}\marg{list of control sequences \textup(without backslashes\textup)} -% \item[0.21,,{addon,optional}] \rkeyname{deletetexcs}|=|\oarg{class number}\marg{list of control sequences \textup(without backslashes\textup)} -% -% Ditto for control sequences in \TeX\ and \LaTeX. -% -% \item[0.18,,optional] \rkeyname{directives}|=|\marg{list of compiler directives} -% \item[0.21,,optional] \rkeyname{moredirectives}|=|\marg{list of compiler directives} -% \item[0.21,,optional] \rkeyname{deletedirectives}|=|\marg{list of compiler directives} -% -% defines compiler directives in C, \Cpp, Objective-C, and POV. -% -% \item[0.14] \rkeyname{sensitive}|=|\meta{\alternative{true,false}} -% -% makes the keywords, control sequences, and directives case sensitive -% and insensitive, respectively. This key affects the keywords, control -% sequences, and directives only when a listing is processed. In all -% other situations they are case sensitive, for example, -% |deletekeywords={save,Test}| removes `save' and `Test', but neither -% `SavE' nor `test'. -% -% \item[0.19] \rkeyname{alsoletter}|=|\marg{character sequence} -% \item[0.19] \rkeyname{alsodigit}|=|\marg{character sequence} -% \item[0.19] \rkeyname{alsoother}|=|\marg{character sequence} -% -% All identifiers (keywords, directives, and such) consist of a letter -% followed by alpha-numeric characters (letters and digits). -% For example, if you write -% |keywords={one-two,\#include}|, -% the minus sign must become a digit and the sharp a letter since the -% keywords can't be detected otherwise. -% -% Table \ref{rStdCharTable} show the standard configuration of the -% \packagename{listings} package. The three keys overwrite the default -% behaviour. Each character of the sequence becomes a letter, digit -% and other, respectively. -% -% \item[0.20] \rkeyname{otherkeywords}|=|\marg{keywords} -% -% Defines keywords that contain other characters, or start with digits. -% Each given `keyword' is printed in keyword style, but without changing -% the `letter', `digit' and `other' status of the characters. This key -% is designed to define keywords like |=>|, |->|, |-->|, |--|, |::|, and -% so on. If one keyword is a subsequence of another (like |--| and -% |-->|), you must specify the shorter first. -% -% \item[0.20,,{renamed,optional}] \rkeyname{tag}|=|\meta{character}\meta{character}\syntaxor\rkeyname{tag}|={}|\label{uoption:tag} -% -% The first order keywords are active only between the first and second -% character. This key is used for HTML. +% \item[1.0,,{\dag bug}] \rkeyname{keywordsprefix}|=|\meta{prefix} +% +% All identifiers starting with \meta{prefix} will be printed as first +% order keywords. +% +% Bugs: Currently there are several limitations. (1) The prefix is +% always case sensitive. (2) Only one prefix can be defined at a time. +% (3) If used `standalone' outside a language definition, the key might +% work only after selecting a nonempty language (and switching back to +% the empty language if necessary). (4) The key does not respect the +% value of \keyname{classoffset} and has no optional class +% \meta{number} argument. +% +% \item[0.11] \rkeyname{keywords}|=|\oarg{number}\marg{list of keywords} +% \item[0.11] \rkeyname{morekeywords}|=|\oarg{number}\marg{list of +% keywords} +% \item[0.18] \rkeyname{deletekeywords}|=|\oarg{number}\marg{list of +% keywords} +% +% define, add to or remove the keywords from keyword list +% \meta{number}. The use of \keyname{keywords} is discouraged since it +% deletes all previously defined keywords in the list and is thus +% incompatible with the \keyname{alsolanguage} key. +% +% Please note the keys \ikeyname{alsoletter} and \ikeyname{alsodigit} +% below if you use unusual charaters in keywords. +% +% \item[0.19,,deprecated] \rkeyname{ndkeywords}|=|\marg{list of keywords} +% \item[0.19,,deprecated] \rkeyname{morendkeywords}|=|\marg{list of +% keywords} +% \item[0.19,,deprecated] \rkeyname{deletendkeywords}|=|\marg{list of +% keywords} +% +% define, add to or remove the keywords from keyword list 2; note that +% this is equivalent to |keywords=[2]|\ldots etc. The use of +% \keyname{ndkeywords} is strongly discouraged. +% +% \item[0.19,,{addon,optional}] \rkeyname{texcs}|=|\oarg{class +% number}\marg{list of control sequences \textup(without +% backslashes\textup)} +% \item[0.20,,{addon,optional}] \rkeyname{moretexcs}|=|\oarg{class +% number}\marg{list of control sequences \textup(without +% backslashes\textup)} +% \item[0.21,,{addon,optional}] \rkeyname{deletetexcs}|=|\oarg{class +% number}\marg{list of control sequences \textup(without +% backslashes\textup)} +% +% Ditto for control sequences in \TeX\ and \LaTeX. +% +% \item[0.18,,optional] \rkeyname{directives}|=|\marg{list of compiler +% directives} +% \item[0.21,,optional] \rkeyname{moredirectives}|=|\marg{list of +% compiler directives} +% \item[0.21,,optional] \rkeyname{deletedirectives}|=|\marg{list of +% compiler directives} +% +% defines compiler directives in C, \Cpp, Objective-C, and POV. +% +% \item[0.14] \rkeyname{sensitive}|=|\meta{\alternative{true,false}} +% +% makes the keywords, control sequences, and directives case sensitive +% and insensitive, respectively. This key affects the keywords, control +% sequences, and directives only when a listing is processed. In all +% other situations they are case sensitive, for example, +% |deletekeywords={save,Test}| removes `save' and `Test', but neither +% `SavE' nor `test'. +% +% \item[0.19] \rkeyname{alsoletter}|=|\marg{character sequence} +% \item[0.19] \rkeyname{alsodigit}|=|\marg{character sequence} +% \item[0.19] \rkeyname{alsoother}|=|\marg{character sequence} +% +% All identifiers (keywords, directives, and such) consist of a letter +% followed by alpha-numeric characters (letters and digits). For +% example, if you write |keywords={one-two,\#include}|, the minus sign +% must become a digit and the sharp a letter since the keywords can't +% be detected otherwise. +% +% Table \ref{rStdCharTable} show the standard configuration of the +% \packagename{listings} package. The three keys overwrite the default +% behaviour. Each character of the sequence becomes a letter, digit and +% other, respectively. +% +% \item[0.20] \rkeyname{otherkeywords}|=|\marg{keywords} +% +% Defines keywords that contain other characters, or start with digits. +% Each given `keyword' is printed in keyword style, but without +% changing the `letter', `digit' and `other' status of the +% characters. This key is designed to define keywords like |=>|, |->|, +% |-->|, |--|, |::|, and so on. If one keyword is a subsequence of +% another (like |--| and |-->|), you must specify the shorter first. +% +% \item[0.20,,{renamed,optional}] +% \rkeyname{tag}|=|\meta{character}\meta{character}^^A +% \syntaxor\rkeyname{tag}|={}|\label{uoption:tag} +% +% The first order keywords are active only between the first and second +% character. This key is used for HTML. % \end{syntax} % % \begin{table}[tb] @@ -3299,7 +3452,8 @@ % & \texttt{@ \textdollar\ } |_|\\ % digit & \texttt{0 1 2 3 4 5 6 7 8 9}\\ % other & \texttt{!\ " \#\ \%\ \&\ ' ( ) * + , - .\ / :\ ; < = > ?}\\ -% & {\catcode`\|=12\texttt{[ \char92\ ] \textasciicircum\ \char123\ | \char125\ \textasciitilde}}\\ +% & {\catcode`\|=12\texttt{[ \char92\ ] \textasciicircum\ \char123\ +% | \char125\ \textasciitilde}}\\ % space & chr(32)\\ % tabulator & chr(9)\\ % form feed & chr(12)\\ @@ -3313,94 +3467,106 @@ % % \paragraph{Strings} % \begin{syntax} -% \item[0.12] \rkeyname{string}|=|\oarg{\alternative{b,d,m,bd,s}}\marg{delimiter \textup(character\textup)} -% \item[0.21] \rkeyname{morestring}|=|\oarg{\alternative{b,d,m,bd,s}}\marg{delimiter} -% \item[0.21] \rkeyname{deletestring}|=|\oarg{\alternative{b,d,m,bd,s}}\marg{delimiter} -% -% define, add to or delete the delimiter from the list of string -% delimiters. Starting and ending delimiters are the same, i.e.~in the -% source code the delimiters must match each other. -% -% The optional argument is the type and controls the how the delimiter -% itself is represented in a string or character literal: it is escaped by a -% |b|ackslash, |d|oubled (or both is allowed via |bd|). Alternately, the -% type can refer to an unusual form of delimiter: |s|tring delimiters (akin -% to the |s| comment type) or |m|atlab-style delimiters. The latter is a -% special type for Ada and Matlab and possibly other languages where the -% string delimiters are also used for other purposes. It is equivalent -% to |d|, except that a string does not start after a letter, a right -% parenthesis, a right bracket, or some other characters. +% \item[0.12] +% \rkeyname{string}|=|\oarg{\alternative{b,d,m,bd,s}}\marg{delimiter +% \textup(character\textup)} +% \item[0.21] +% \rkeyname{morestring}|=|\oarg{\alternative{b,d,m,bd,s}}\marg{delimiter} +% \item[0.21] +% \rkeyname{deletestring}|=|\oarg{\alternative{b,d,m,bd,s}}\marg{delimiter} +% +% define, add to or delete the delimiter from the list of string +% delimiters. Starting and ending delimiters are the same, i.e.~in the +% source code the delimiters must match each other. +% +% The optional argument is the type and controls the how the delimiter +% itself is represented in a string or character literal: it is escaped +% by a |b|ackslash, |d|oubled (or both is allowed via |bd|). +% Alternately, the type can refer to an unusual form of delimiter: +% |s|tring delimiters (akin to the |s| comment type) or |m|atlab-style +% delimiters. The latter is a special type for Ada and Matlab and +% possibly other languages where the string delimiters are also used +% for other purposes. It is equivalent to |d|, except that a string +% does not start after a letter, a right parenthesis, a right bracket, +% or some other characters. % \end{syntax} % % % \paragraph{Comments} % \begin{syntax} -% \item[0.13] \rkeyname{comment}|=|\oarg{type}\meta{delimiter\textup(s\textup)} -% \item[0.21] \rkeyname{morecomment}|=|\oarg{type}\meta{delimiter\textup(s\textup)} -% \item[0.21] \rkeyname{deletecomment}|=|\oarg{type}\meta{delimiter\textup(s\textup)} -% -% Ditto for comments, but some types require more than a single -% delimiter. The following overview uses \keyname{morecomment} as the -% example, but the examples apply to \keyname{comment} and \keyname{deletecomment} -% as well. -% -% \item[0.13] \keyname{morecomment}|=[l]|\meta{delimiter} -% -% The delimiter starts a comment line, which in general starts with the -% delimiter and ends at end of line. If the character sequence |//| -% should start a comment line (like in \Cpp, Comal 80 or Java), -% |morecomment=[l]//| is the correct declaration. For Matlab it -% would be |morecomment=[l]\%|---note the preceding backslash. -% -% \item[0.13] \keyname{morecomment}|=[s]|\marg{delimiter}\marg{delimiter} -% -% Here we have two delimiters. The second ends a comment starting with -% the first delimiter. If you require two such comments you can use this -% type twice. C, Java, PL/I, Prolog and SQL all define single comments -% via |morecomment=[s]{/*}{*/}|, and Algol does it with -% |morecomment=[s]{\#}{\#}|, which means that the sharp delimits both -% beginning and end of a single comment. -% -% \item[0.13] \keyname{morecomment}|=[n]|\marg{delimiter}\marg{delimiter} -% -% is similar to type |s|, but comments can be nested. Identical arguments -% are not allowed---think a while about it! -% Modula-2 and Oberon-2 use |morecomment=[n]{(*}{*)}|. -% -% \item[0.18] \keyname{morecomment}|=[f]|\meta{delimiter} -% \item[0.18] \keyname{morecomment}|=[f][commentstyle]|\oarg{n=preceding columns}\meta{delimiter} -% -% The delimiter starts a comment line if and only if it appears on a -% fixed column-number, namely if it is in column $n$ (zero based). -% -% \item[0.17,,optional] \rkeyname{keywordcomment}|=|\marg{keywords} -% \item[0.21,,optional] \rkeyname{morekeywordcomment}|=|\marg{keywords} -% \item[0.21,,optional] \rkeyname{deletekeywordcomment}|=|\marg{keywords} -% -% A keyword comment begins with a keyword and ends with the same keyword. -% Consider |keywordcomment={comment,co}|. Then -% `\textbf{comment}\allowbreak\ldots\textbf{comment}' and -% `\textbf{co}\ldots\textbf{co}' are comments. -% -% \item[0.17,,optional] \rkeyname{keywordcommentsemicolon}|=|\marg{keywords}\marg{keywords}\marg{keywords} -% -% The definition of a `keyword comment semicolon' requires three keyword -% lists, e.g.~|{end}{else,end}{comment}|. A semicolon always ends such a -% comment. Any keyword of the first argument begins a comment and any -% keyword of the second argument ends it (and a semicolon also); -% a comment starting with any keyword of the third argument is terminated -% with the next semicolon only. In the example all possible comments are -% `\textbf{end}\ldots\textbf{else}', `\textbf{end}\ldots\textbf{end}' -% (does not start a comment again) and `\textbf{comment}\ldots;' and -% `\textbf{end}\ldots;'. -% Maybe a curious definition, but Algol and Simula use such comments. -% -% Note: The keywords here need not to be a subset of the defined -% keywords. They won't appear in keyword style if they aren't. -% -% \item[0.17,,optional] \rkeyname{podcomment}|=|\meta{\alternative{true,false}} -% -% activates or deactivates PODs---Perl specific. +% \item[0.13] +% \rkeyname{comment}|=|\oarg{type}\meta{delimiter\textup(s\textup)} +% \item[0.21] +% \rkeyname{morecomment}|=|\oarg{type}\meta{delimiter\textup(s\textup)} +% \item[0.21] +% \rkeyname{deletecomment}|=|\oarg{type}\meta{delimiter\textup(s\textup)} +% +% Ditto for comments, but some types require more than a single +% delimiter. The following overview uses \keyname{morecomment} as the +% example, but the examples apply to \keyname{comment} and +% \keyname{deletecomment} as well. +% +% \item[0.13] \keyname{morecomment}|=[l]|\meta{delimiter} +% +% The delimiter starts a comment line, which in general starts with the +% delimiter and ends at end of line. If the character sequence |//| +% should start a comment line (like in \Cpp, Comal 80 or Java), +% |morecomment=[l]//| is the correct declaration. For Matlab it would +% be |morecomment=[l]\%|---note the preceding backslash. +% +% \item[0.13] \keyname{morecomment}|=[s]|\marg{delimiter}\marg{delimiter} +% +% Here we have two delimiters. The second ends a comment starting with +% the first delimiter. If you require two such comments you can use +% this type twice. C, Java, PL/I, Prolog and SQL all define single +% comments via |morecomment=[s]{/*}{*/}|, and Algol does it with +% |morecomment=[s]{\#}{\#}|, which means that the sharp delimits both +% beginning and end of a single comment. +% +% \item[0.13] \keyname{morecomment}|=[n]|\marg{delimiter}\marg{delimiter} +% +% is similar to type |s|, but comments can be nested. Identical +% arguments are not allowed---think a while about it! Modula-2 and +% Oberon-2 use |morecomment=[n]{(*}{*)}|. +% +% \item[0.18] \keyname{morecomment}|=[f]|\meta{delimiter} +% \item[0.18] \keyname{morecomment}|=[f][commentstyle]|\oarg{n=preceding +% columns}\meta{delimiter} +% +% The delimiter starts a comment line if and only if it appears on a +% fixed column-number, namely if it is in column $n$ (zero based). +% +% \item[0.17,,optional] \rkeyname{keywordcomment}|=|\marg{keywords} +% \item[0.21,,optional] \rkeyname{morekeywordcomment}|=|\marg{keywords} +% \item[0.21,,optional] \rkeyname{deletekeywordcomment}|=|\marg{keywords} +% +% A keyword comment begins with a keyword and ends with the same +% keyword. Consider |keywordcomment={comment,co}|. Then +% `\textbf{comment}\allowbreak\ldots\textbf{comment}' and +% `\textbf{co}\ldots\textbf{co}' are comments. +% +% \item[0.17,,optional] +% \rkeyname{keywordcommentsemicolon}|=|\marg{keywords}\marg{keywords}^^A +% \marg{keywords} +% +% The definition of a `keyword comment semicolon' requires three +% keyword lists, e.g.~|{end}{else,end}{comment}|. A semicolon always +% ends such a comment. Any keyword of the first argument begins a +% comment and any keyword of the second argument ends it (and a +% semicolon also); a comment starting with any keyword of the third +% argument is terminated with the next semicolon only. In the example +% all possible comments are `\textbf{end}\ldots\textbf{else}', +% `\textbf{end}\ldots\textbf{end}' (does not start a comment again) and +% `\textbf{comment}\ldots;' and `\textbf{end}\ldots;'. Maybe a curious +% definition, but Algol and Simula use such comments. +% +% Note: The keywords here need not to be a subset of the defined +% keywords. They won't appear in keyword style if they aren't. +% +% \item[0.17,,optional] +% \rkeyname{podcomment}|=|\meta{\alternative{true,false}} +% +% activates or deactivates PODs---Perl specific. % \end{syntax} % % @@ -3605,7 +3771,9 @@ % \subsection{Literate programming} % % We begin with an example and hide the crucial key=value list. -% \begin{lstsample}{\lstset{literate={:=}{{$\gets$}}1 {<=}{{$\leq$}}1 {>=}{{$\geq$}}1 {<>}{{$\neq$}}1}}{} +% \begin{lstsample}{% +% \lstset{literate={:=}{{$\gets$}}1 {<=}{{$\leq$}}1 {>=}{{$\geq$}}1 ^^A +% {<>}{{$\neq$}}1}}{} % \begin{lstlisting} % var i:integer; % @@ -3619,28 +3787,29 @@ % Now you might want to know how this has been done. Have a \emph{close} % look at the following key. % \begin{syntax} -% \item[0.20,,\dag] \rkeyname{literate}|=|[|*|]\meta{replacement item}\ldots\meta{replacement item} -% -% First note that there are no commas between the items. Each item -% consists of three arguments: -% \marg{replace}\marg{replacement text}\marg{length}. -% \meta{replace} is the original character sequence. -% Instead of printing these characters, we use \meta{replacement text}, -% which takes the width of \meta{length} characters in the output. -% -% Each `printing unit' in \meta{replacement text} \emph{must} be in braces -% unless it's a single character. For example, you must put braces -% around |$\leq$|. -% If you want to replace |<-1->| by |$\leftarrow1\rightarrow$|, the -% replacement item would be |{<-1->}{{$\leftarrow$}1{$\rightarrow$}}3|. -% Note the braces around the arrows. -% -% If one \meta{replace} is a subsequence of another \meta{replace}, you -% must define the shorter sequence first. For example, |{-}| must be defined -% before |{--}| and this before |{-->}|. -% -% The optional star indicates that literate replacements should not be -% made in strings, comments, and other delimited text. +% \item[0.20,,\dag] \rkeyname{literate}|=|[|*|]\meta{replacement +% item}\ldots\meta{replacement item} +% +% First note that there are no commas between the items. Each item +% consists of three arguments: \marg{replace}\marg{replacement +% text}\marg{length}. \meta{replace} is the original character +% sequence. Instead of printing these characters, we use +% \meta{replacement text}, which takes the width of \meta{length} +% characters in the output. +% +% Each `printing unit' in \meta{replacement text} \emph{must} be in +% braces unless it's a single character. For example, you must put +% braces around |$\leq$|. If you want to replace |<-1->| by +% |$\leftarrow1\rightarrow$|, the replacement item would be +% |{<-1->}{{$\leftarrow$}1{$\rightarrow$}}3|. Note the braces around +% the arrows. +% +% If one \meta{replace} is a subsequence of another \meta{replace}, you +% must define the shorter sequence first. For example, |{-}| must be +% defined before |{--}| and this before |{-->}|. +% +% The optional star indicates that literate replacements should not be +% made in strings, comments, and other delimited text. % \end{syntax} % In the example above, I've used % \begin{verbatim} @@ -3688,7 +3857,8 @@ % (possibly not the definitions but the results). A single `format item' has % the form % \begin{itemize}\item[] -% \meta{input chars}|=|\oarg{exceptional chars}\meta{pre}\oarg{\texttt{\string\string}}\meta{post} +% \meta{input chars}|=|\oarg{exceptional chars}\meta{pre}\oarg{^^A +% \texttt{\string\string}}\meta{post} % \end{itemize} % Whenever \meta{input chars} aren't followed by one of the \meta{exceptional % chars}, formatting is done according to the rest of the value. If |\string| @@ -4100,7 +4270,8 @@ % package. % % -% \subsubsection*{How to print national characters with $\Lambda$ and \packagename{listings}}\label{uNationalCharacters} +% \subsubsection*{How to print national characters with $\Lambda$ and +% \packagename{listings}}\label{uNationalCharacters} % % Apart from typing in national characters directly, you can use the `escape' % feature described in section \ref{rEscapingToLaTeX}. @@ -4144,7 +4315,7 @@ % % % \subsubsection*{How to get bold typewriter type keywords} -% Use the \href{http://www.ctan.org/tex-archive/fonts/luximono}{\packagename{LuxiMono}} package. +% Use the \href{http://mirror.ctan.org/fonts/luximono}{\packagename{LuxiMono}} package. % % \iffalse % Many people asked for bold typewriter fonts since they aren't included in @@ -4495,7 +4666,9 @@ % the listing is part of a tabular environment as found out by % \lsthelper{Nasser~M.~Abbasi}{2016/05/25}{possible bug in listings % package}. \lsthelper{David~Carlisle}{2016/05/25}{% -% http://tex.stackexchange.com/questions/311383/adding-frame-none-to-lstlisting-options-in-lstdefinestyle-gives-error-with-tabu} +% http://tex.stackexchange.com/questions/311383/^^A +% adding-frame-none-to-lstlisting-options-in-lstdefinestyle^^A +% -gives-error-with-tabu} % gave a hint how to avoid this problem and so the separator |&| is % replaced by |:|. % @@ -5081,94 +5254,94 @@ % syntax is shown on the left. On the right you'll find examples how the % package actually defines some keys. % \begin{syntax} -% \item[0.21] -% \cs{lst@InstallFamily} -% -% \marg{prefix}\syntaxfill \texttt k\\ -% \marg{name}\syntaxfill |{keywords}|\\ -% \marg{style name}\syntaxfill |{keywordstyle}|\\ -% \marg{style init}\syntaxfill |\bfseries|\\ -% \marg{default style name}\syntaxfill |{keywordstyle}|\\ -% \marg{working procedure}\syntaxfill |{}|\\ -% \meta{\alternative{l,o}}\syntaxfill |l|\\ -% \meta{\alternative{d,o}}\syntaxfill |d| -% -% installs either a keyword or `working' class of identifiers according -% to whether \meta{working procedure} is empty. -% -% The three keys \meta{name}, \keyname{more}\meta{name} and -% \keyname{delete}\meta{name}, and if not empty \meta{style name} are -% defined. The first order member of the latter one is initialized with -% \meta{style init} if not equivalent to |\relax|. If the user leaves a -% class style undefined, \meta{default style name} is used instead. -% Thus, make sure that this style is always defined. In the example, -% the first order keywordstyle is set to |\bfseries| and is the default -% for all other classes. -% -% If \meta{working procedure} is not empty, this code is executed when -% reaching such an (user defined) identifier. \meta{working procedure} -% takes exactly one argument, namely the class number to which the -% actual identifier belongs to. If the code uses variables and requires -% values from previous calls, you must define these variables -% |\global|ly. It's not sure whether working procedures are executed -% inside a (separate) group or not. -% -% \texttt l indicates a language key, i.e.~the lists are reset every -% language selection. \texttt o stands for `other' key. -% The keyword respectively working test is either installed at the -% \hookname{DetectKeyword} or \hookname{Output} hook according to -% \meta{\alternative{d,o}}. -% -% \item[0.20] -% \cs{lst@InstallKeywords} -% -% \marg{prefix}\syntaxfill \texttt{cs}\\ -% \marg{name}\syntaxfill |{texcs}|\\ -% \marg{style name}\syntaxfill |{texcsstyle}|\\ -% \marg{style init}\syntaxfill |\relax|\\ -% \marg{default style name}\syntaxfill |{keywordstyle}|\\ -% \marg{working procedure}\syntaxfill see below\\ -% \meta{\alternative{l,o}}\syntaxfill |l|\\ -% \meta{\alternative{d,o}}\syntaxfill |d| -% -% Same parameters, same functionality with one execption. The macro -% installs exactly one keyword class and not a whole family. Therefore -% the argument to \meta{working procedure} is constant (currently empty). -% -% The working procedure of the example reads as follows.\vspace*{-.5\baselineskip} +% \item[0.21] \cs{lst@InstallFamily} +% +% \marg{prefix}\syntaxfill \texttt k\\ +% \marg{name}\syntaxfill |{keywords}|\\ +% \marg{style name}\syntaxfill |{keywordstyle}|\\ +% \marg{style init}\syntaxfill |\bfseries|\\ +% \marg{default style name}\syntaxfill |{keywordstyle}|\\ +% \marg{working procedure}\syntaxfill |{}|\\ +% \meta{\alternative{l,o}}\syntaxfill |l|\\ +% \meta{\alternative{d,o}}\syntaxfill |d| +% +% installs either a keyword or `working' class of identifiers according +% to whether \meta{working procedure} is empty. +% +% The three keys \meta{name}, \keyname{more}\meta{name} and +% \keyname{delete}\meta{name}, and if not empty \meta{style name} are +% defined. The first order member of the latter one is initialized with +% \meta{style init} if not equivalent to |\relax|. If the user leaves a +% class style undefined, \meta{default style name} is used instead. +% Thus, make sure that this style is always defined. In the example, +% the first order keywordstyle is set to |\bfseries| and is the default +% for all other classes. +% +% If \meta{working procedure} is not empty, this code is executed when +% reaching such an (user defined) identifier. \meta{working procedure} +% takes exactly one argument, namely the class number to which the +% actual identifier belongs to. If the code uses variables and requires +% values from previous calls, you must define these variables +% |\global|ly. It's not sure whether working procedures are executed +% inside a (separate) group or not. +% +% \texttt l indicates a language key, i.e.~the lists are reset every +% language selection. \texttt o stands for `other' key. The keyword +% respectively working test is either installed at the +% \hookname{DetectKeyword} or \hookname{Output} hook according to +% \meta{\alternative{d,o}}. +% +% \item[0.20] \cs{lst@InstallKeywords} +% +% \marg{prefix}\syntaxfill \texttt{cs}\\ +% \marg{name}\syntaxfill |{texcs}|\\ +% \marg{style name}\syntaxfill |{texcsstyle}|\\ +% \marg{style init}\syntaxfill |\relax|\\ +% \marg{default style name}\syntaxfill |{keywordstyle}|\\ +% \marg{working procedure}\syntaxfill see below\\ +% \meta{\alternative{l,o}}\syntaxfill |l|\\ +% \meta{\alternative{d,o}}\syntaxfill |d| +% +% Same parameters, same functionality with one execption. The macro +% installs exactly one keyword class and not a whole family. Therefore +% the argument to \meta{working procedure} is constant (currently +% empty). +% +% The working procedure of the example reads as +% follows.\vspace*{-.5\baselineskip} % \begin{verbatim} % {\ifx\lst@lastother\lstum@backslash % \let\lst@thestyle\lst@texcsstyle % \fi}\end{verbatim} -%\vspace*{-.5\baselineskip} -% What does this procedure do? First of all it is called only if a -% keyword from the user supplied list (or language definition) is found. -% The procedure now checks for a preceding backslash and sets the output -% style accordingly. +% % \vspace*{-.5\baselineskip} +% What does this procedure do? First of all it is called only if a keyword +% from the user supplied list (or language definition) is found. The +% procedure now checks for a preceding backslash and sets the output style +% accordingly. % -%\iffalse +% \iffalse % \item[0.20] |\lst@InstallTest|\marg{prefix}\syntaxbreak -% |\lst@|\meta{name}|@list||\lst@|\meta{name}~|\lst@g|\meta{name}|@list||\lst@g|\meta{name}\syntaxbreak -% |\lst@g|\meta{name}|@sty|~\meta{\alternative{w,s}}\meta{\alternative{d,o}} -% -% installs a `working identifier' test or keyword style depending on -% \meta{\alternative{w,s}}. |\lst@g|\meta{name}|@sty| contains the -% working procedure or style macro. Note that the behaviour of the tests -% depends on the \texttt{savemem} option. -% The keyword respectively working test is either installed at the -% \hookname{DetectKeyword} or \hookname{Output} hook according to -% \meta{\alternative{d,o}}. -% -%^^A Either each call of this macro or each different \meta{prefix} inserts -%^^A another test (depending on the \texttt{savemem} option). -% -% |\lst@|\meta{name} contains the current identifier list and -% |\lst@|\meta{name}|@list| a `|\lst@|\meta{$n_i$}|\lst@g|\meta{$n_i$}' -% sequence of currently used classes. If no other classes are used, -% this equals |\lst@|\meta{name}|\lst@g|\meta{name}. The global versions -% |\lst@g|\ldots\ are used to keep track of the keywords. -% (This description needs improvement.) -%\fi +% |\lst@|\meta{name}|@list||\lst@|\meta{name}~|\lst@g|\meta{name}|@list|^^A +% |\lst@g|\meta{name}\syntaxbreak +% |\lst@g|\meta{name}|@sty|~\meta{\alternative{w,s}}\meta{\alternative{d,o}} +% +% installs a `working identifier' test or keyword style depending on +% \meta{\alternative{w,s}}. |\lst@g|\meta{name}|@sty| contains the +% working procedure or style macro. Note that the behaviour of the tests +% depends on the \texttt{savemem} option. The keyword respectively +% working test is either installed at the \hookname{DetectKeyword} or +% \hookname{Output} hook according to \meta{\alternative{d,o}}. +% +% ^^A Either each call of this macro or each different \meta{prefix} +% inserts ^^A another test (depending on the \texttt{savemem} option). +% +% |\lst@|\meta{name} contains the current identifier list and +% |\lst@|\meta{name}|@list| a `|\lst@|\meta{$n_i$}|\lst@g|\meta{$n_i$}' +% sequence of currently used classes. If no other classes are used, this +% equals |\lst@|\meta{name}|\lst@g|\meta{name}. The global versions +% |\lst@g|\ldots\ are used to keep track of the keywords. (This +% description needs improvement.) +% \fi % \end{syntax} % % @@ -5321,37 +5494,40 @@ % Note that the user supplied value covers the second and third line of % arguments. % \begin{syntax} -% \item[0.21,,changed] -% \cs{lst@Delim} -% -% \meta{default style macro}\syntaxfill \cs{lst@commentstyle}\\ \relax -% [\texttt*[\texttt*]]\texttt[\meta{type}\texttt][\texttt[\meta{style}\texttt][\texttt[\meta{type option}\texttt]]]\\ -% \meta{delimiter\textup(s\textup)}\cs{relax}\syntaxfill|#2|\cs{relax}\\ -% \marg{delimiter name}\syntaxfill|{Comment}|\\ -% \meta{delimiter types macro}\syntaxfill\texttt{\cs{lst@commenttypes}}\\ -% \alternative{\cs{@empty},\cs{@nil},\cs{relax}}\syntaxfill|#1|\\ -% \marg{begin- and end-delim macro}\syntaxfill|{|\cs{lst@BeginComment}\cs{lst@EndComment}|}|\\ -% \meta{extra prefix}\syntaxfill |i|\\ -% \meta{extra conversion}\syntaxfill |\@empty|\\ -% \marg{begin- and end-delim macro}\syntaxfill|{|\cs{lst@BeginIComment}\cs{lst@EndIComment}|}| -% -% Most arguments should be clear. We'll discuss the last four. Both -% \marg{begin- and end-delim macro} must contain exactly two control -% sequences, which are given to |\lst@|\meta{name}[|DM|]|@|\meta{type} -% to begin and end a delimiter. These are the arguments |#3| and |#4| in our -% first example of |\lst@StringDM@l|. Depending on whether the user chosen -% type starts with \meta{extra prefix}, the first two or the last control -% sequences are used. -% -% By default the package takes the delimiter(s), makes the characters active, -% and places them after |\lst@|\meta{name}[|DM|]|@|\meta{type}. If the user -% type starts with \meta{extra prefix}, \meta{extra conversion} might change -% the definition of |\lst@next| to choose a different conversion. The default -% is equivalent to |\lst@XConvert| with |\lst@false|. -% -% Note that \meta{type} never starts with \meta{extra prefix} since it is -% discarded. The functionality must be fully implemented by choosing a -% different \marg{begin- and end-delim macro} pair. +% \item[0.21,,changed] \cs{lst@Delim} +% +% \meta{default style macro}\syntaxfill \cs{lst@commentstyle}\\ \relax +% [\texttt*[\texttt*]]\texttt[\meta{type}\texttt][\texttt[\meta{style}^^A +% \texttt][\texttt[\meta{type option}\texttt]]]\\ +% \meta{delimiter\textup(s\textup)}\cs{relax}\syntaxfill|#2|\cs{relax}\\ +% \marg{delimiter name}\syntaxfill|{Comment}|\\ +% \meta{delimiter types macro}\syntaxfill\texttt{\cs{lst@commenttypes}}\\ +% \alternative{\cs{@empty},\cs{@nil},\cs{relax}}\syntaxfill|#1|\\ +% \marg{begin- and end-delim macro}\syntaxfill|{|\cs{lst@BeginComment}^^A +% \cs{lst@EndComment}|}|\\ +% \meta{extra prefix}\syntaxfill |i|\\ +% \meta{extra conversion}\syntaxfill |\@empty|\\ +% \marg{begin- and end-delim macro}\syntaxfill|{|\cs{lst@BeginIComment}^^A +% \cs{lst@EndIComment}|}| +% +% Most arguments should be clear. We'll discuss the last four. Both +% \marg{begin- and end-delim macro} must contain exactly two control +% sequences, which are given to |\lst@|\meta{name}[|DM|]|@|\meta{type} +% to begin and end a delimiter. These are the arguments |#3| and |#4| +% in our first example of |\lst@StringDM@l|. Depending on whether the +% user chosen type starts with \meta{extra prefix}, the first two or +% the last control sequences are used. +% +% By default the package takes the delimiter(s), makes the characters +% active, and places them after +% |\lst@|\meta{name}[|DM|]|@|\meta{type}. If the user type starts with +% \meta{extra prefix}, \meta{extra conversion} might change the +% definition of |\lst@next| to choose a different conversion. The +% default is equivalent to |\lst@XConvert| with |\lst@false|. +% +% Note that \meta{type} never starts with \meta{extra prefix} since it +% is discarded. The functionality must be fully implemented by choosing +% a different \marg{begin- and end-delim macro} pair. % \end{syntax} % You might need to know the syntaxes of the \meta{begin- and end-delim macro}s. % They are called as follows. @@ -5427,119 +5603,127 @@ % \subsection{General purpose macros}\label{dGeneralPurposeMacros} % % \begin{syntax} -% \item[0.19] |\lst@AddTo|\meta{macro}\marg{\TeX~material} +% \item[0.19] |\lst@AddTo|\meta{macro}\marg{\TeX~material} % -% adds \meta{\TeX~material} globally to the contents of \meta{macro}. +% adds \meta{\TeX~material} globally to the contents of \meta{macro}. % -% \item[0.20] |\lst@Extend|\meta{macro}\marg{\TeX~material} +% \item[0.20] |\lst@Extend|\meta{macro}\marg{\TeX~material} % -% calls |\lst@AddTo| after the first token of \meta{\TeX~material} is -% |\expand|ed|after|. For example, |\lst@Extend \a \b| merges the -% contents of the two macros and stores it globally in |\a|. +% calls |\lst@AddTo| after the first token of \meta{\TeX~material} is +% |\expand|ed|after|. For example, |\lst@Extend \a \b| merges the +% contents of the two macros and stores it globally in |\a|. % -% \item[0.19] |\lst@lAddTo|\meta{macro}\marg{\TeX~material} -% \item[0.20] |\lst@lExtend|\meta{macro}\marg{\TeX~material} +% \item[0.19] |\lst@lAddTo|\meta{macro}\marg{\TeX~material} +% \item[0.20] |\lst@lExtend|\meta{macro}\marg{\TeX~material} % -% are local versions of |\lst@AddTo| and |\lst@Extend|. +% are local versions of |\lst@AddTo| and |\lst@Extend|. % -% \item[0.18] |\lst@DeleteKeysIn|\meta{macro}\meta{macro \textup(keys to remove\textup)} +% \item[0.18] |\lst@DeleteKeysIn|\meta{macro}\meta{macro \textup(keys to +% remove\textup)} % -% Both macros contain a comma separated list of keys (or keywords). All -% keys appearing in the second macro are removed (locally) from the first. +% Both macros contain a comma separated list of keys (or keywords). All +% keys appearing in the second macro are removed (locally) from the +% first. % -% \item[0.19] |\lst@ReplaceIn|\meta{macro}\meta{macro \textup(containing replacement list\textup)} -% \item[0.20] |\lst@ReplaceInArg|\meta{macro}\marg{replacement list} +% \item[0.19] |\lst@ReplaceIn|\meta{macro}\meta{macro \textup(containing +% replacement list\textup)} +% \item[0.20] |\lst@ReplaceInArg|\meta{macro}\marg{replacement list} % -% The replacement list has the form $a_1b_1$\ldots$a_nb_n$, where each -% $a_i$ and $b_i$ is a character sequence (enclosed in braces if -% necessary) and may contain macros, but the first token of $b_i$ must -% not be equivalent to |\@empty|. Each sequence $a_i$ inside the first -% macro is (locally) replaced by $b_i$. -% The suffix |Arg| refers to the \emph{braced} second argument instead of -% a (nonbraced) macro. It's a hint that we get the `real' argument and -% not a `pointer' to the argument. +% The replacement list has the form +% $a_1b_1$\ldots$a_nb_n$, where each $a_i$ and +% $b_i$ is a character sequence (enclosed in braces if necessary) and +% may contain macros, but the first token of +% $b_i$ must not be equivalent to |\@empty|. Each sequence +% $a_i$ inside the first macro is (locally) replaced by +% $b_i$. The suffix |Arg| refers to the \emph{braced} second argument +% instead of a (nonbraced) macro. It's a hint that we get the `real' +% argument and not a `pointer' to the argument. % -% \item[0.20] |\lst@IfSubstring|\marg{character sequence}\meta{macro}\marg{then}\marg{else} +% \item[0.20] |\lst@IfSubstring|\marg{character +% sequence}\meta{macro}\marg{then}\marg{else} % -% \meta{then} is executed if \meta{character sequence} is a substring of -% the contents of \meta{macro}. Otherwise \meta{else} is called. +% \meta{then} is executed if \meta{character sequence} is a substring +% of the contents of \meta{macro}. Otherwise \meta{else} is called. % -% \item[0.12] |\lst@IfOneOf|\meta{character sequence}|\relax|\meta{macro}\marg{then}\marg{else} +% \item[0.12] |\lst@IfOneOf|\meta{character +% sequence}|\relax|\meta{macro}\marg{then}\marg{else} % -% |\relax| terminates the first parameter here since it is faster than -% enclosing it in braces. \meta{macro} contains a comma separated list -% of identifiers. If the character sequence is one of these indentifiers, -% \meta{then} is executed, and otherwise \meta{else}. +% |\relax| terminates the first parameter here since it is faster than +% enclosing it in braces. \meta{macro} contains a comma separated list +% of identifiers. If the character sequence is one of these +% indentifiers, \meta{then} is executed, and otherwise \meta{else}. % -% \item[0.21] |\lst@Swap|\marg{tok1}\marg{tok2} +% \item[0.21] |\lst@Swap|\marg{tok1}\marg{tok2} % -% changes places of the following two tokens or arguments \emph{without} -% inserting braces. For example, |\lst@Swap{abc}{def}| expands to -% |defabc|. +% changes places of the following two tokens or arguments +% \emph{without} inserting braces. For example, |\lst@Swap{abc}{def}| +% expands to |defabc|. % -% \item[0.18] |\lst@IfNextChars|\meta{macro}\marg{then}\marg{else} -% \item[0.19] |\lst@IfNextCharsArg|\marg{character sequence}\marg{then}\marg{else} +% \item[0.18] |\lst@IfNextChars|\meta{macro}\marg{then}\marg{else} +% \item[0.19] |\lst@IfNextCharsArg|\marg{character +% sequence}\marg{then}\marg{else} % -% Both macros execute either \meta{then} or \meta{else} according to -% whether the given character sequence respectively the contents of the -% given macro is found (after the three arguments). Note an important -% difference between these macros and \LaTeX's |\@ifnextchar|: -% We remove the characters behind the arguments until it is possible to -% decide which part must be executed. However, we save these characters -% in the macro |\lst@eaten|, so they can be inserted using \meta{then} or -% \meta{else}. +% Both macros execute either \meta{then} or \meta{else} according to +% whether the given character sequence respectively the contents of the +% given macro is found (after the three arguments). Note an important +% difference between these macros and \LaTeX's |\@ifnextchar|: We +% remove the characters behind the arguments until it is possible to +% decide which part must be executed. However, we save these characters +% in the macro |\lst@eaten|, so they can be inserted using \meta{then} +% or \meta{else}. % -% \item[0.19] |\lst@IfNextCharActive|\marg{then}\marg{else} +% \item[0.19] |\lst@IfNextCharActive|\marg{then}\marg{else} % -% executes \meta{then} if next character is active, and \meta{else} -% otherwise. +% executes \meta{then} if next character is active, and \meta{else} +% otherwise. % -% \item[0.20] |\lst@DefActive|\meta{macro}\marg{character sequence} +% \item[0.20] |\lst@DefActive|\meta{macro}\marg{character sequence} % -% stores the character sequence in \meta{macro}, but all characters -% become active. The string \emph{must not} contain a begin group, end -% group or escape character (|{}\|); it may contain a left brace, right -% brace or backslash with other meaning (= catcode). This command -% would be quite surplus if \meta{character sequence} is not already read -% by \TeX\ since such catcodes can be changed easily. It is explicitly -% allowed that the charcaters have been read, e.g.~in -% |\def\test{\lst@DefActive\temp{ABC}}|! +% stores the character sequence in \meta{macro}, but all characters +% become active. The string \emph{must not} contain a begin group, end +% group or escape character (|{}\|); it may contain a left brace, right +% brace or backslash with other meaning (= catcode). This command would +% be quite surplus if \meta{character sequence} is not already read by +% \TeX\ since such catcodes can be changed easily. It is explicitly +% allowed that the charcaters have been read, e.g.~in +% |\def\test{\lst@DefActive\temp{ABC}}|! % -% Note that this macro changes |\lccode|s 0--9 without restoring them. +% Note that this macro changes |\lccode|s 0--9 without restoring them. % -% \item[0.20] |\lst@DefOther|\meta{macro}\marg{character sequence} +% \item[0.20] |\lst@DefOther|\meta{macro}\marg{character sequence} % -% stores \meta{character sequence} in \meta{macro}, but all characters -% have catcode 12. Moreover all spaces are removed and control sequences -% are converted to their name without preceding backslash. For example, -% |\{ Chip \}| leads to |{Chip}| where all catcodes are 12---internally -% the primitive |\meaning| is used. +% stores \meta{character sequence} in \meta{macro}, but all characters +% have catcode 12. Moreover all spaces are removed and control +% sequences are converted to their name without preceding +% backslash. For example, |\{ Chip \}| leads to |{Chip}| where all +% catcodes are 12---internally the primitive |\meaning| is used. % -% \iffalse -% \item[0.19] |\lst@MakeActive|\marg{character sequence} +% \iffalse +% \item[0.19] |\lst@MakeActive|\marg{character sequence} % -% stores the character sequence in |\lst@arg| and has the same -% restrictions as |\lst@DefActive|. If fact, the latter definition uses -% this macro here. -% \fi +% stores the character sequence in |\lst@arg| and has the same +% restrictions as |\lst@DefActive|. If fact, the latter definition uses +% this macro here. \fi % \end{syntax} % % % \subsection{Character tables manipulated}\label{dCharacterTablesManipulated} % % \begin{syntax} -% \item[0.20] |\lst@SaveDef|\marg{character code}\meta{macro} +% \item[0.20] |\lst@SaveDef|\marg{character code}\meta{macro} % -% Saves the current definition of the specified character in -% \meta{macro}. You should always save a character definition before you -% redefine it! And use the saved version instead of writing directly -% |\lst@Process|\ldots---the character could already be redefined and -% thus not equivalent to its standard definition. +% Saves the current definition of the specified character in +% \meta{macro}. You should always save a character definition before +% you redefine it! And use the saved version instead of writing +% directly |\lst@Process|\ldots---the character could already be +% redefined and thus not equivalent to its standard definition. % -% \item[0.20] |\lst@DefSaveDef|\marg{character code}\meta{macro}\meta{parameter text}\marg{definition} -% \item[0.20] |\lst@LetSaveDef|\marg{character code}\meta{macro}\meta{token} +% \item[0.20] |\lst@DefSaveDef|\marg{character +% code}\meta{macro}\meta{parameter text}\marg{definition} +% \item[0.20] |\lst@LetSaveDef|\marg{character +% code}\meta{macro}\meta{token} % -% combine |\lst@SaveDef| and |\lst@Def| respectively |\lst@Let|. +% combine |\lst@SaveDef| and |\lst@Def| respectively |\lst@Let|. % \end{syntax} % Of course I shouldn't forget to mention \emph{where} to alter the character % table. Hook material at \hookname{SelectCharTable} makes permanent changes, @@ -5579,37 +5763,40 @@ % counter by one. % % \begin{syntax} -% \item[0.21] |\lst@CArg|\meta{active characters}|\relax|\meta{macro} +% \item[0.21] |\lst@CArg|\meta{active characters}|\relax|\meta{macro} % -% The string of active characters is split into \meta{1st}, \meta{2nd}, -% and \marg{rest}. If one doesn't exist, an empty argument is used. Then -% \meta{macro} is called with |{|\meta{1st}\meta{2nd}\marg{rest}|}| plus -% a yet undefined control sequence \meta{save 1st}. This macro is -% intended to hold the current definition of \meta{1st}, so \meta{1st} -% can be redefined without loosing information. +% The string of active characters is split into \meta{1st}, \meta{2nd}, +% and \marg{rest}. If one doesn't exist, an empty argument is +% used. Then \meta{macro} is called with +% |{|\meta{1st}\meta{2nd}\marg{rest}|}| plus a yet undefined control +% sequence \meta{save 1st}. This macro is intended to hold the current +% definition of \meta{1st}, so \meta{1st} can be redefined without +% loosing information. % -% \item[0.19] |\lst@CArgX|\meta{characters}|\relax|\meta{macro} +% \item[0.19] |\lst@CArgX|\meta{characters}|\relax|\meta{macro} % -% makes \meta{characters} active before calling |\lst@CArg|. +% makes \meta{characters} active before calling |\lst@CArg|. % -% \item[0.21] |\lst@CDef{|\meta{1st}\meta{2nd}\marg{rest}|}|\meta{save 1st}\marg{execute}\marg{pre}\marg{post} +% \item[0.21] |\lst@CDef{|\meta{1st}\meta{2nd}\marg{rest}|}|\meta{save +% 1st}\marg{execute}\marg{pre}\marg{post} % -% should be used in connection with |\lst@CArg| or |\lst@CArgX|, i.e.~as -% \meta{macro} there. \meta{1st}, \meta{2nd}, and \meta{rest} must be -% active characters and \meta{save 1st} must be an undefined control -% sequence. +% should be used in connection with |\lst@CArg| or |\lst@CArgX|, +% i.e.~as \meta{macro} there. \meta{1st}, \meta{2nd}, and \meta{rest} +% must be active characters and \meta{save 1st} must be an undefined +% control sequence. % -% Whenever the package reaches the character \meta{1st} (in a listing), -% \meta{execute} is executed. If the package detects the whole string -% \meta{1st}\meta{2nd}\meta{rest}, we additionally execute \meta{pre}, -% then the string, and finally \meta{post}. +% Whenever the package reaches the character \meta{1st} (in a listing), +% \meta{execute} is executed. If the package detects the whole string +% \meta{1st}\meta{2nd}\meta{rest}, we additionally execute \meta{pre}, +% then the string, and finally \meta{post}. % -% \item[0.21] |\lst@CDefX|\meta{1st}\meta{2nd}\marg{rest}\meta{save 1st}\marg{execute}\marg{pre}\marg{post} +% \item[0.21] |\lst@CDefX|\meta{1st}\meta{2nd}\marg{rest}\meta{save +% 1st}\marg{execute}\marg{pre}\marg{post} % -% Ditto except that we execute \meta{pre} and \meta{post} without the -% original string if we reach \meta{1st}\meta{2nd}\meta{rest}. -% This means that the string is replaced by \meta{pre}\meta{post} (with -% preceding \meta{execute}). +% Ditto except that we execute \meta{pre} and \meta{post} without the +% original string if we reach \meta{1st}\meta{2nd}\meta{rest}. This +% means that the string is replaced by \meta{pre}\meta{post} (with +% preceding \meta{execute}). % \end{syntax} % As the final example, here's the definition of |\lst@DefDelimB|. % \begin{verbatim} @@ -5629,7 +5816,7 @@ % \part{Implementation} % % -% \CheckSum{12368} +% \CheckSum{12377} %^^A %^^A Don't index TeX-primitives. %^^A @@ -5773,8 +5960,8 @@ % All files will have same date and version. % \begin{macrocode} %<*kernel|misc|doc> -\def\filedate{2018/09/02} -\def\fileversion{1.7} +\def\filedate{2019/02/27} +\def\fileversion{1.8b} %</kernel|misc|doc> % \end{macrocode} % What we need and who we are. @@ -5964,7 +6151,8 @@ % % \subsection{Substring tests}\label{iSubstringTests} % -% \lstset{language=TeX,gobble=4,xleftmargin=20pt,columns=[l]fullflexible,mathescape,keywordstyle=\ttfamily,texcsstyle=\bfseries} +% \lstset{language=TeX,gobble=4,xleftmargin=20pt,columns=[l]fullflexible,^^A +% mathescape,keywordstyle=\ttfamily,texcsstyle=\bfseries} % \let\texverb\lstinline % \lstnewenvironment{texcode}[1][]{\lstset{#1}}{} % \lstset{keywords={def,key}} @@ -6531,41 +6719,42 @@ % All these files can be loaded partially and on demand---except the kernel % which provides this functionality. % \begin{syntax} -% \item[0.21] |\lst@Require|\marg{name}\marg{prefix}\marg{feature list}\meta{alias}\meta{file list macro} +% \item[0.21] |\lst@Require|\marg{name}\marg{prefix}\marg{feature +% list}\meta{alias}\meta{file list macro} % -% tries to load all items of \meta{feature list} from the files -% listed in \meta{file list macro}. -% Each item has the form [\oarg{sub}]\meta{feature}. -% |\lst@if| equals |\iftrue| if and only if all items were loadable. +% tries to load all items of \meta{feature list} from the files listed +% in \meta{file list macro}. Each item has the form +% [\oarg{sub}]\meta{feature}. |\lst@if| equals |\iftrue| if and only +% if all items were loadable. % -% The macro \meta{alias} gets an item as argument and must define -% appropriate versions of |\lst@oalias| and |\lst@malias|. In fact -% the feature associated with these definitions is loaded. You can -% use \meta{alias}=|\lst@NoAlias| for no substitution. +% The macro \meta{alias} gets an item as argument and must define +% appropriate versions of |\lst@oalias| and |\lst@malias|. In fact the +% feature associated with these definitions is loaded. You can use +% \meta{alias}=|\lst@NoAlias| for no substitution. % -% \meta{prefix} identifies the type internally and \meta{name} is used -% for messages. +% \meta{prefix} identifies the type internally and \meta{name} is used +% for messages. % -% For example, |\lstloadaspects| uses the following arguments where |#1| -% is the list of aspects: |{aspects}|\allowbreak|a|\allowbreak -% |{#1}|\allowbreak|\lst@NoAlias|\allowbreak|\lstaspectfiles|. +% For example, |\lstloadaspects| uses the following arguments where +% |#1| is the list of aspects: |{aspects}|\allowbreak|a|\allowbreak +% |{#1}|\allowbreak|\lst@NoAlias|\allowbreak|\lstaspectfiles|. % -% \item[0.20] |\lst@DefDriver|\marg{name}\marg{prefix}\meta{interface macro}|\if|\alternative{true,false} +% \item[0.20] |\lst@DefDriver|\marg{name}\marg{prefix}\meta{interface +% macro}|\if|\alternative{true,false} % +% \item[0.21] +% |\lst@IfRequired|\oarg{sub}\marg{feature}\marg{then}\marg{else} % +% is used inside a driver file by the aspect, language, or whatever +% else defining commands. \meta{then} is executed if and only if +% \oarg{sub}\marg{feature} has been requested via |\lst@Require|. +% Otherwise \meta{else} is executed---which is also the case for +% subsequent calls with the same \oarg{sub}\marg{feature}. % -% \item[0.21] |\lst@IfRequired|\oarg{sub}\marg{feature}\marg{then}\marg{else} +% \meta{then} and \meta{else} may use |\lst@prefix| (read access only). % -% is used inside a driver file by the aspect, language, or whatever -% else defining commands. \meta{then} is executed if and only if -% \oarg{sub}\marg{feature} has been requested via |\lst@Require|. -% Otherwise \meta{else} is executed---which is also the case for -% subsequent calls with the same \oarg{sub}\marg{feature}. -% -% \meta{then} and \meta{else} may use |\lst@prefix| (read access only). -% -% |\lst@BeginAspect| in section \ref{iAspectCommands} and |\lst@DefDriver| -% serve as examples. +% |\lst@BeginAspect| in section \ref{iAspectCommands} and +% |\lst@DefDriver| serve as examples. % \end{syntax} % % \begin{macro}{\lst@Require} @@ -8410,19 +8599,23 @@ % where the first A is active and the second has catcode 12. We use the % following macros to build the character table. % \begin{syntax} -% \item[0.19] |\lst@CCPut|\meta{class macro}\meta{$c_1$}\ldots\meta{$c_k$}|\z@| -% -% extends the standard character table by the characters with codes -% \meta{$c_1$}\ldots\meta{$c_k$} making each character use -% \meta{class macro}. All these characters must be printable via -% |\char|\meta{$c_i$}. -% -% \item[0.20] |\lst@CCPutMacro|\meta{class$_1$}\meta{$c_1$}\meta{definition$_1$}\ldots|\@empty\z@\@empty| -% -% also extends the standard character table: the character \meta{$c_i$} -% will use \meta{class$_i$} and is printed via \meta{definition$_i$}. -% These definitions must be \meta{spec. token}s in the sense of section -% \ref{dCharacterTables}. +% \item[0.19] |\lst@CCPut|\meta{class +% macro}\meta{$c_1$}\ldots\meta{$c_k$}|\z@| +% +% extends the standard character table by the characters with codes +% \meta{$c_1$}\ldots\meta{$c_k$} making each character use \meta{class +% macro}. All these characters must be printable via +% |\char|\meta{$c_i$}. +% +% \item[0.20] +% |\lst@CCPutMacro|\meta{class$_1$}\meta{$c_1$}\meta{definition$_1$}^^A +% \ldots|\@empty\z@\@empty| +% +% also extends the standard character table: the character +% \meta{$c_i$} will use +% \meta{class$_i$} and is printed via +% \meta{definition$_i$}. These definitions must be \meta{spec. token}s +% in the sense of section \ref{dCharacterTables}. % \end{syntax} % % \begin{macro}{\lst@Def} @@ -12411,7 +12604,8 @@ % \lsthelper{Ivo~Pletikosi\'c}{2015/08/18}{listings + hyperref, lstmisc.sty} % reported another problem with the redefinition of |\thelstlisting|. % \lsthelper{Heiko~Oberdiek}{2001/11/08}% -% {http://tex.stackexchange.com/questions/261437/renewing-the-thelstlisting-command-when-hyperref-is-on} +% {http://tex.stackexchange.com/questions/261437/renewing-the-thelstlisting^^A +% -command-when-hyperref-is-on} % again provided a fix: |\thelstlisting| must be replaced by |\theHlstlisting|. % \begin{macrocode} \AtBeginDocument{% @@ -14659,16 +14853,30 @@ \def\lstinputlisting{% \begingroup \lst@setcatcodes \lst@inputlisting} \newcommand\lst@inputlisting[2][]{% - \endgroup - \def\lst@set{#1}% - \IfFileExists{\lst@inputpath#2}% - {\expandafter\lst@InputListing\expandafter{\lst@inputpath#2}}% - {\filename@parse{\lst@inputpath#2}% - \edef\reserved@a{\noexpand\lst@MissingFileError - {\filename@area\filename@base}% - {\ifx\filename@ext\relax tex\else\filename@ext\fi}}% - \reserved@a}% - \lst@doendpe \@newlistfalse \ignorespaces} + \endgroup +% \end{macrocode} +% |\lst@set| takes the local options, especially |inputpath=<path>| for +% formatting the input file. So |\lstset| must be updated to have the right +% value of |\lst@inputpath|. The whole procedure must be grouped to make +% the change local. +% \begin{macrocode} + \bgroup\def\lst@set{#1}% + \expandafter\lstset\expandafter{\lst@set}% + \IfFileExists{\lst@inputpath#2}% + {\lst@InputListing{\lst@inputpath#2}}% + {\filename@parse{\lst@inputpath#2}% + \edef\reserved@a{\noexpand\lst@MissingFileError + {\filename@area\filename@base}% + {\ifx\filename@ext\relax tex\else\filename@ext\fi}}% + \reserved@a +% \end{macrocode} +% We must provide a valid value for |\lst@doendpe| in the (error) case that there +% exists no file. +% \begin{macrocode} + \let\lst@doendpe\@empty}% + \egroup + \lst@doendpe \@newlistfalse \ignorespaces% +} % \end{macrocode} % We use |\lst@doendpe| to remove indention at the beginning of the next % line---except there is an empty line after |\lstinputlisting|. Bug was @@ -14922,7 +15130,7 @@ {\PackageError{Listings}{Environment `#1' already defined}\@eha \@gobbletwo}} \def\@tempa#1#2#3{% -\gdef\lstnewenvironment@##1##2##3##4##5{% + \gdef\lstnewenvironment@##1##2##3##4##5{% \begingroup % \end{macrocode} % A lonely `end environment' produces an error. @@ -15065,23 +15273,27 @@ % the user has given the name argument, set the keys, and deal with % continued line numbering. % \begin{macrocode} -\lstnewenvironment{lstlisting}[2][] - {% -% \end{macrocode} -% There is a problem with vertical space as pointed out by -% \lsthelper{Jean-Yves~Baudais}{2016/03/11}{some vertical space -% problem}. A similar problem arises with a listing beginning at -% the top of a |\paragraph| or at the beginning of an |example| -% environment. Jean-Yves provided a solution---|\let\if@nobreak\iffalse|---as has -% been discussed on |fr.comp.text.tex|. The problem vanishes also if there -% is a top rule at the beginning of the listing or if |leavevmode| -% introduces the listing, so -% \begin{macrocode} - \leavevmode% +\lstnewenvironment{lstlisting}[2][]{% \lst@TestEOLChar{#2}% \lstset{#1}% - \csname\@lst @SetFirstNumber\endcsname} - {\csname\@lst @SaveFirstNumber\endcsname} + \csname\@lst @SetFirstNumber\endcsname% + }{% +% \end{macrocode} +% There is a problem with vertical space below a listing as pointed out by +% \lsthelper{Jean-Yves~Baudais}{2016/03/11}{some vertical space problem}. A +% similar problem arises with a listing beginning at the top of a +% |\paragraph| or at the beginning of an |example| environment. Jean-Yves +% provided a solution---|\let\if@nobreak\iffalse|---as has been discussed +% on |fr.comp.text.tex|. The assumption, that the problem vanishes if there +% is a top rule at the beginning of the listing or if |\leavevmode| +% introduces the listing, was wrong as \lsthelper{Karl +% Berry}{karl@freefriends.org}{2018/10/26} and \lsthelper{Sven +% Schreiber}{svetosch@gmx.net}{2018/10/23} reported independently, so the +% proposed code goes into the second part of the environment definition +% \begin{macrocode} + \let\if@nobreak\iffalse% + \csname\@lst @SaveFirstNumber\endcsname% + } % \end{macrocode} % \begin{macrocode} %</kernel> diff --git a/Master/texmf-dist/source/latex/listings/listings.ins b/Master/texmf-dist/source/latex/listings/listings.ins index 88d4020cd23..29e790f2eb6 100644 --- a/Master/texmf-dist/source/latex/listings/listings.ins +++ b/Master/texmf-dist/source/latex/listings/listings.ins @@ -9,7 +9,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% \input docstrip \preamble diff --git a/Master/texmf-dist/source/latex/listings/lstdrvrs.dtx b/Master/texmf-dist/source/latex/listings/lstdrvrs.dtx index 7976dbe413a..b185d4d7682 100644 --- a/Master/texmf-dist/source/latex/listings/lstdrvrs.dtx +++ b/Master/texmf-dist/source/latex/listings/lstdrvrs.dtx @@ -6,7 +6,7 @@ \documentclass{ltxdoc} \usepackage{lstdoc, textcomp} \EnableCrossrefs -\CodelineIndex +\CodelineIndex% \begin{document} \DocInput{lstdrvrs.dtx} \end{document} @@ -30,9 +30,10 @@ % the \packagename{listings} package. % \end{abstract}} % -% \title{Language, Style and Format drivers\\ for \textsf{Listings}\\ {\large by Carsten Heinz and individual authors:}} +% \title{Language, Style and Format drivers\\ for \textsf{Listings}\\ +% {\large by Carsten Heinz and individual authors:}} % \author{\InputIfFileExists{lstdrvrs.tmp}{}{}} -% \date{2018/09/02\enspace\enspace Version 1.7\ \box\abstractbox} +% \date{2019/02/27\enspace\enspace Version 1.8b\ \box\abstractbox} % % \hypersetup{pdfsubject=Language definitions,pdfauthor=Jobst Hoffmann % <j.hoffmann-(at)-fh-aachen.de>} @@ -42,7 +43,8 @@ % \newwrite\authors \immediate\openout\authors lstdrvrs.tmp\relax % \gdef\lstthanks#1#2#3{#1\global\let\lstthanks\lstthanksb\lstwrite{#1}} % \gdef\lstthanksb#1#2#3{#1\lstwrite{\string\and\space#1}} -% \gdef\lstwrite#1{\begingroup\let~\space\def\"{\string\"}\def\'{\string\'}\immediate\write\authors{#1}\endgroup} +% \gdef\lstwrite#1{\begingroup\let~\space\def\"{\string\"}^^A +% \def\'{\string\'}\immediate\write\authors{#1}\endgroup} % % \renewcommand*\lsthelper[4]{#1} % @@ -69,7 +71,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% @@ -103,6 +105,7 @@ \file{listings-acm.prf}{\from{lstdrvrs.dtx}{acm-prf}} \file{listings-bash.prf}{\from{lstdrvrs.dtx}{bash-prf}} \file{listings-fortran.prf}{\from{lstdrvrs.dtx}{fortran-prf}} + \file{listings-hansl.prf}{\from{lstdrvrs.dtx}{hansl-prf}} \file{listings-lua.prf}{\from{lstdrvrs.dtx}{lua-prf}} \file{listings-python.prf}{\from{lstdrvrs.dtx}{python-prf}} } @@ -129,7 +132,7 @@ % \endgroup % We mainly define default dialects. % \begin{macrocode} -\ProvidesFile{listings.cfg}[2018/09/02 1.7 listings configuration] +\ProvidesFile{listings.cfg}[2019/02/27 1.8b listings configuration] \def\lstlanguagefiles {lstlang0.sty,lstlang1.sty,lstlang2.sty,lstlang3.sty} \lstset{defaultdialect=[R/3 6.10]ABAP, @@ -173,9 +176,10 @@ %<+acm-prf>\ProvidesFile{listings-acm.prf} %<+bash-prf>\ProvidesFile{listings-bash.prf} %<+fortran-prf>\ProvidesFile{listings-fortran.prf} +%<+hansl-prf>\ProvidesFile{listings-hansl.prf} %<+lua-prf>\ProvidesFile{listings-lua.prf} %<+python-prf>\ProvidesFile{listings-python.prf} -%<-config> [2018/09/02 1.7 listings language file] +%<-config> [2019/02/27 1.8b listings language file] % \end{macrocode} % % @@ -184,8 +188,9 @@ % % \subsection{Abap} % -% \lstthanks{Knut Lickert}{knut.lickert@gmx.de}{2000/08/01,2001/12/29,2002/04/11} -% added support for Abap.\footnote{In this section `I' is Knut Lickert.} +% \lstthanks{Knut Lickert}{knut.lickert@gmx.de}{% +% 2000/08/01,2001/12/29,2002/04/11} added support for Abap.\footnote{In +% this section `I' is Knut Lickert.} % % \begingroup % \begin{macrocode} @@ -225,42 +230,44 @@ % new in R/2~5.0 (compared with R/2 4.3). But as I am not using % R/2~4.3 any more, I start with R/2~5.0. % \begin{macrocode} -\lst@definelanguage[R/2 5.0]{ABAP}% - {sensitive=f,% - procnamekeys={report,program,form,function,module},% - morekeywords={*,add,after,alias,analyzer,and,append,appending,area,assign,at,% - authority-check,before,binary,blank,break-point,calendar,call,% - case,change,changing,check,clear,cnt,co,collect,commit,common,% - component,compute,condense,corresponding,cos,cp,cs,currency-conversion,% - cursor,data,database,dataset,decimals,define,delete,deleting,dequeue,% - describe,detail,dialog,directory,div,divide,do,documentation,% - during,dynpro,else,end-of-page,end-of-selection,endat,endcase,% - enddo,endfor,endform,endif,endloop,endmodule,endselect,% - endwhile,enqueue,exceptions,exit,exp,export,exporting,extract,% - field,fields,field-groups,field-symbols,find,for,form,format,free,% - from,function,generating,get,giving,hide,id,if,import,% - importing,in,incl,include,initial,initialization,input,insert,% - interrupt,into,is,language,leave,leading,left-justified,like,line,lines,line-count, - line-selection,list-processing,load,local,log,logfile,loop,% - margin,mark,mask,memory,menue,message,mod,modify,module,move,% - move-text,multiply,na,new,new-line,new-page,no-gaps,np,ns,% - number,obligatory,occurs,of,on,or,others,output,parameter,% - parameters,parts,perform,pf-status,places,position,process,% - raise,raising,ranges,read,refresh,refresh-dynpro,reject,remote,% - replace,report,reserve,reset,restart,right-justified,run,screen,scroll,search,% - segments,select,select-options,selection-screen,set,shift,sin,% - single,sqrt,start-of-selection,statement,structure,submit,% - subtract,summary,summing,suppress,system,table,tables,task,% - text,time,to,top-of-page,trace,transaction,transfer,% - transfer-dynpro,translate,type,unpack,update,user-command,% - using,value,when,where,while,window,with,workfile,write,},% - morecomment=[l]",% - morecomment=[f][commentstyle][0]*,% - morestring=[d]'% - }[keywords,comments,strings,procnames] -% \end{macrocode} -% This section for R/2~4.3 is not really maintained. It is just what I remember -% of the past. +\lst@definelanguage[R/2 5.0]{ABAP}{% + sensitive=f,% + procnamekeys={report,program,form,function,module},% + morekeywords={*, add, after, alias, analyzer, and, append, appending,% + area, assign, at, authority-check, before, binary, blank, break-point,% + calendar, call, case, change, changing, check, clear, cnt, co, collect,% + commit, common, component, compute, condense, corresponding, cos, cp,% + cs, currency-conversion, cursor, data, database, dataset, decimals,% + define, delete, deleting, dequeue, describe, detail, dialog, directory,% + div, divide, do, documentation, during, dynpro, else, end-of-page,% + end-of-selection, endat, endcase, enddo, endfor, endform, endif,% + endloop, endmodule, endselect, endwhile, enqueue, exceptions, exit,% + exp, export, exporting, extract, field, fields, field-groups,% + field-symbols, find, for, form, format, free, from, function,% + generating, get, giving, hide, id, if, import, importing, in, incl,% + include, initial, initialization, input, insert, interrupt, into, is,% + language, leave, leading, left-justified, like, line, lines,% + line-count, line-selection, list-processing, load, local, log, logfile,% + loop, margin, mark, mask, memory, menue, message, mod, modify, module,% + move, move-text, multiply, na, new, new-line, new-page, no-gaps, np,% + ns, number, obligatory, occurs, of, on, or, others, output, parameter,% + parameters, parts, perform, pf-status, places, position, process,% + raise, raising, ranges, read, refresh, refresh-dynpro, reject, remote,% + replace, report, reserve, reset, restart, right-justified, run, screen,% + scroll, search, segments, select, select-options, selection-screen,% + set, shift, sin, single, sqrt, start-of-selection, statement,% + structure, submit, subtract, summary, summing, suppress, system, table,% + tables, task, text, time, to, top-of-page, trace, transaction,% + transfer, transfer-dynpro, translate, type, unpack, update,% + user-command, using, value, when, where, while, window, with, workfile,% + write},% + morecomment=[l]",% + morecomment=[f][commentstyle][0]*,% + morestring=[d]'% +}[keywords,comments,strings,procnames] +% \end{macrocode} +% This section for R/2~4.3 is not really maintained. It is just what I +% remember of the past. % \begin{macrocode} \lst@definelanguage[R/2 4.3]{ABAP}[R/2 5.0]{ABAP}% {deletekeywords={function,importing,exporting,changing,exceptions,% @@ -280,7 +287,8 @@ % language definition was provided by \lstthanks{Stefan Pinnow}{Stefan % Pinnow <Mo-Gul@gmx.net>}{2013/09/08}. It is intended for writing models. % \lsthelper{Maximilian~Dammann}{maximilian.dammann@tu-clausthal.de} -% {2014/09/16}{missing keyword} pointed out the missing keyword ``Description''. +% {2014/09/16}{missing keyword} pointed out the missing keyword +% ``Description''. % \begingroup % \begin{macrocode} %<*lang2> @@ -290,19 +298,19 @@ %% ACM and ACMscript definition %% (c) 2013 Stefan Pinnow %% -\lst@definelanguage{ACM}{ - morekeywords={ - abs,After,acos,And,As,asin,atan,At,Call,Compatibility,Connect,cos,cosh,% - Create,Delay,Description,Difference,Do,Else,ElseIf,End,EndFor,EndIf,% - EndParallel,EndState,EndSwitch,EndText,EndWith,exp,External,Fixed,For,% - ForEach,Free,Global,Hidden,If,Implementation,In,Initial,Input,InterSection,% - IntegerSet,Invoke,Is,Language,Library,Link,Log10,LogE,Max,Min,Model,Of,% - Once,Options,Output,Parallel,Parameter,Pause,Port,Print,Private,% - Procedure,Product,Ramp,Repeat,Restart,Return,Round,Runs,Sigma,sin,sinh,% - Size,SnapShot,sqr,sqrt,SRamp,State,Stream,StringSet,Structure,Switch,% - SubRoutine,SymDiff,tan,tanh,Task,Text,Time,Then,Truncate,Union,Until,% - Uses,Variable,Wait,When,With,WithIn,WorkSpace% - },% +\lst@definelanguage{ACM}{% + morekeywords={ abs, After, acos, And, As, asin, atan, At, Call,% + Compatibility, Connect, cos, cosh, Create, Delay, Description,% + Difference, Do, Else, ElseIf, End, EndFor, EndIf, EndParallel,% + EndState, EndSwitch, EndText, EndWith, exp, External, Fixed, For,% + ForEach, Free, Global, Hidden, If, Implementation, In, Initial, Input,% + InterSection, IntegerSet, Invoke, Is, Language, Library, Link, Log10,% + LogE, Max, Min, Model, Of, Once, Options, Output, Parallel, Parameter,% + Pause, Port, Print, Private, Procedure, Product, Ramp, Repeat, Restart,% + Return, Round, Runs, Sigma, sin, sinh, Size, SnapShot, sqr, sqrt,% + SRamp, State, Stream, StringSet, Structure, Switch, SubRoutine,% + SymDiff, tan, tanh, Task, Text, Time, Then, Truncate, Union, Until,% + Uses, Variable, Wait, When, With, WithIn, WorkSpace},% sensitive=false,% morecomment=[l]{//},% morecomment=[s]{/*}{*/},% @@ -381,7 +389,8 @@ % \subsection{ACSL} % % This language was provided by \lstthanks{Andreas~Matthias}{amat@kabsi.at} -% {2000/03/21}. I'm sorry for forgetting to add this language for a long time. +% {2000/03/21}. I'm sorry for forgetting to add this language for a long +% time. % \begingroup % \begin{macrocode} %<*lang1> @@ -514,15 +523,16 @@ %% %% Motorola 68K definition (c) 2006 Michael Franke %% -\lst@definelanguage[Motorola68k]{Assembler}% - {morekeywords={ABCD,ADD,% -ADDA,ADDI,ADDQ,ADDX,AND,ANDI,ASL,ASR,BCC,BLS,BCS,BLT,BEQ,BMI,BF,BNE,BGE,BPL,% -BGT,BT,BHI,BVC,BLE,BVS,BCHG,BCLR,BRA,BSET,BSR,BTST,CHK,CLR,CMP,CMPA,CMPI,CMPM,% -DBCC,DBLS,DBCS,DBLT,DBEQ,DBMI,DBF,DBNE,DBGE,DBPL,DBGT,DBT,DBHI,DBVC,DBLE,DBVS,DIVS,% -DIVU,EOR,EORI,EXG,EXT,ILLEGAL,JMP,JSR,LEA,LINK,LSL,LSR,MOVE,MOVEA,MOVEM,MOVEP,MOVEQ,% -MULS,MULU,NBCD,NEG,NEGX,NOP,NOT,OR,ORI,PEA,RESET,ROL,ROR,ROXL,ROXR,RTE,RTR,RTS,SBCD,% -SCC,SLS,SCS,SLT,SEQ,SMI,SF,SNE,SGE,SPL,SGT,ST,SHI,SVC,SLE,SVS,STOP,SUB,SUBA,SUBI,SUBQ,% -SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% +\lst@definelanguage[Motorola68k]{Assembler}{% + morekeywords={ABCD,ADD,% + ADDA,ADDI,ADDQ,ADDX,AND,ANDI,ASL,ASR,BCC,BLS,BCS,BLT,BEQ,BMI,BF,BNE,% + BGE,BPL,BGT,BT,BHI,BVC,BLE,BVS,BCHG,BCLR,BRA,BSET,BSR,BTST,CHK,CLR,% + CMP,CMPA,CMPI,CMPM,DBCC,DBLS,DBCS,DBLT,DBEQ,DBMI,DBF,DBNE,DBGE,DBPL,% + DBGT,DBT,DBHI,DBVC,DBLE,DBVS,DIVS,DIVU,EOR,EORI,EXG,EXT,ILLEGAL,JMP,% + JSR,LEA,LINK,LSL,LSR,MOVE,MOVEA,MOVEM,MOVEP,MOVEQ,MULS,MULU,NBCD,NEG,% + NEGX,NOP,NOT,OR,ORI,PEA,RESET,ROL,ROR,ROXL,ROXR,RTE,RTR,RTS,SBCD,% + SCC,SLS,SCS,SLT,SEQ,SMI,SF,SNE,SGE,SPL,SGT,ST,SHI,SVC,SLE,SVS,STOP,% + SUB,SUBA,SUBI,SUBQ,SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% sensitive=false,% morecomment=[l]*,% morecomment=[l];% @@ -770,9 +780,9 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % % \subsection{Clean} % -% Thanks to \lstthanks{Jos\'e~Romildo~Malaquias}{romildo@iceb.ufop.br}{2000/08/08}. -% \lsthelper{Markus~Pahlow}{pahlowm@mar.dfo-mpo.gc.ca}{2001/10/12}{missing comma} -% found a missing comma +% Thanks to \lstthanks{Jos\'e~Romildo~Malaquias}{romildo@iceb.ufop.br}{% +% 2000/08/08}. \lsthelper{Markus~Pahlow}{pahlowm@mar.dfo-mpo.gc.ca}{% +% 2001/10/12}{missing comma} found a missing comma. % \begingroup % \begin{macrocode} %<*lang3> @@ -902,7 +912,8 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % \endgroup % % -% \lstthanks{J\"org~Viermann}{}{2004/07/17} provided the keywords for Handel-C. +% \lstthanks{J\"org~Viermann}{}{2004/07/17} provided the keywords for +% Handel-C. % \begingroup % \begin{macrocode} %<*lang1> @@ -954,7 +965,8 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % \begin{macrocode} %<*lang1> % \end{macrocode} -% Thanks go to \lstthanks{Martin~Brodbeck}{Martin.Brodbeck@gmx.de}{2002/03/17}. +% Thanks go to \lstthanks{Martin~Brodbeck}{Martin.Brodbeck@gmx.de}% +% {2002/03/17}. % \begin{macrocode} %% %% C-Sharp definition (c) 2002 Martin Brodbeck @@ -1038,40 +1050,39 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% %<*lang3> % \end{macrocode} % \begin{macrocode} -\lst@definelanguage{CIL}% - {morekeywords=[1]{assembly,beforefieldinit,class,default,cdecl,cil,corflags,% - culture,custom,data,entrypoint,fastcall,field,file,% - hidebysig,hash,il,imagebase,locals,managed,marshall,% - maxstack,mresource,method,module,namespace,publickey,% - stdcall,subsystem,thiscall,unmanaged,vararg,ver,vtfixup,% - % types - bool,char,float32,float64,int,int8,int16,int32,% - int64,method,native,object,string,modopt,modreq,pinned,% - typedref,valuetype,unsigned,void,% - % defining types - abstract,ansi,auto,autochar,beforefieldinit,boxed,class,% - explicit,extends,implements,interface,famandassem,family,% - famorassem,inherits,nested,override,pack,private,property,% - public,rtspecialname,sealed,sequential,serializable,size,% - specialname,static,unicode,% - % postfix - algorithm,alignment,extern,init,from,nometadata,with},% - morekeywords=[2]{add,and,arglist,beq,bge,bgt,ble,blt,bne,br,break,brfalse,% - brtrue,call,calli,ceq,cgt,ckfinite,clt,conv,cpblk,div,% - dup,endfilter,endfinally,initblk,jmp,ldarg,ldarga,ldc,% - ldftn,ldind,ldloc,ldloca,ldnull,leave,localloc,mul,neg,% - nop,not,or,pop,rem,ret,shl,shr,starg,stind,stloc,sub,% - switch,xor,% - % prefix - tail,unaligned,volatile,% - % postfix - un,s,ovf,% - % object - box,callvirt,castclass,cpobj,cctor,ctor,initobj,isinst,% - ldelem,ldelema,ldfld,ldflda,ldlen,ldobj,ldsfld,ldsflda,% - ldstr,ldtoken,ldvirtftn,mkrefany,newarr,newobj,refanytype,% - refanyval,rethrow,sizeof,stelem,stfld,stobj,stsfld,throw,% - unbox},% +\lst@definelanguage{CIL}{% + morekeywords=[1]{assembly, beforefieldinit, class, default, cdecl, cil,% + corflags, culture, custom, data, entrypoint, fastcall, field, file,% + hidebysig, hash, il, imagebase, locals, managed, marshall, maxstack,% + mresource, method, module, namespace, publickey, stdcall, subsystem,% + thiscall, unmanaged, vararg, ver, vtfixup,% + % types + bool, char, float32, float64, int, int8, int16, int32, int64, method,% + native, object, string, modopt, modreq, pinned, typedref, valuetype,% + unsigned, void,% + % defining types + abstract, ansi, auto, autochar, beforefieldinit, boxed, class,% + explicit, extends, implements, interface, famandassem, family,% + famorassem, inherits, nested, override, pack, private, property,% + public, rtspecialname, sealed, sequential, serializable, size,% + specialname, static, unicode,% + % postfix + algorithm, alignment, extern, init, from, nometadata, with},% + morekeywords=[2]{add, and, arglist, beq, bge, bgt, ble, blt, bne, br,% + break, brfalse, brtrue, call, calli, ceq, cgt, ckfinite, clt, conv,% + cpblk, div, dup, endfilter, endfinally, initblk, jmp, ldarg, ldarga,% + ldc, ldftn, ldind, ldloc, ldloca, ldnull, leave, localloc, mul, neg,% + nop, not, or, pop, rem, ret, shl, shr, starg, stind, stloc, sub,% + switch, xor,% + % prefix + tail, unaligned, volatile, + % postfix + un, s, ovf, + % object + box, callvirt, castclass, cpobj, cctor, ctor, initobj, isinst, ldelem,% + ldelema, ldfld, ldflda, ldlen, ldobj, ldsfld, ldsflda, ldstr, ldtoken,% + ldvirtftn, mkrefany, newarr, newobj, refanytype, refanyval, rethrow,% + sizeof, stelem, stfld, stobj, stsfld, throw, unbox},% sensitive=true,% morecomment=[l]{//},% morestring=[b]"% @@ -1085,11 +1096,10 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % % \subsection{Cobol} % -% Keywords are not marked if their names are broken by EOL, for example DEBUG- -% CONTENTS. Sometimes portions of a string are not printed as a string. -% This happens if the double quote is not doubled to insert a quote, -% e.g.~|""bad" cobol"| won't be printed correctly. -% \begingroup +% Keywords are not marked if their names are broken by EOL, for example +% DEBUG-CONTENTS. Sometimes portions of a string are not printed as a +% string. This happens if the double quote is not doubled to insert a +% quote, e.g.~|""bad" cobol"| won't be printed correctly. \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} @@ -1652,8 +1662,8 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % % \subsection{Euphoria} % -% \lstthanks{Detlef~Reimers}{dreimers@aol.com}{1998/08/30} sent me the language -% definition. +% \lstthanks{Detlef~Reimers}{dreimers@aol.com}{1998/08/30} sent me the +% language definition. % \begingroup % \begin{macrocode} %<*lang2> @@ -1722,13 +1732,14 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % \end{macrocode} % New procedures in Fortran 2008: % \begin{macrocode} - morekeywords=[3]{ACOSH,ASINH,ATANH,ATOMIC_DEFINE,ATOMIC_REF,BESSEL_J0,% - BESSEL_J1,BESSEL_JN,BESSEL_Y0,BESSEL_Y1,BESSEL_YN,BGE,BGT,BLE,BLT,% - C_SIZEOF,COMPILER_OPTIONS,COMPILER_VERSION,DSHIFTL,DSHIFTR,ERF,ERFC,% - ERFC_SCALED,EXECUTE_COMMAND_LINE,GAMMA,HYPOT,IALL,IANY,IMAGE_INDEX,% - IPARITY,LCOBOUND,LEADZ,LOG_GAMMA,MASKL,MASKR,MERGE_BITS,NORM2,% - NUM_IMAGES,PARITY,POPCNT,POPPAR,SHIFTA,SHIFTL,SHIFTR,STORAGE_SIZE,% - THIS_IMAGE,TRAILZ,UCOBOUND}% + morekeywords=[3]{ACOSH, ASINH, ATANH, ATOMIC_DEFINE, ATOMIC_REF,% + BESSEL_J0, BESSEL_J1, BESSEL_JN, BESSEL_Y0, BESSEL_Y1, BESSEL_YN,% + BGE, BGT, BLE, BLT, C_SIZEOF, COMPILER_OPTIONS, COMPILER_VERSION,% + DSHIFTL, DSHIFTR, ERF, ERFC, ERFC_SCALED, EXECUTE_COMMAND_LINE,% + FINDLOC, GAMMA, HYPOT, IALL, IANY, IMAGE_INDEX, IPARITY, LCOBOUND,% + LEADZ, LOG_GAMMA, MASKL, MASKR, MERGE_BITS, NORM2, NUM_IMAGES,% + PARITY, POPCNT, POPPAR, SHIFTA, SHIFTL, SHIFTR, STORAGE_SIZE,% + THIS_IMAGE, TRAILZ, UCOBOUND}% }% % \end{macrocode} % Fortran 2003 introduces the following keywords: @@ -1740,14 +1751,14 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % \end{macrocode} % These are new options/specifiers: % \begin{macrocode} - morekeywords=[2]{DECIMAL,ENCODING,IOMSG,ROUND}, + morekeywords=[2]{DECIMAL, ENCODING, IOMSG, ROUND},% % \end{macrocode} % And also some new procedures: % \begin{macrocode} - morekeywords=[3]{C_ASSOCIATED,C_F_POINTER,C_F_PROCPOINTER,C_FUNLOC,% - C_LOC,COMMAND_ARGUMENT_COUNT,EXTENDS_TYPE_OF,GET_COMMAND,GET_COMMAND_ARGUMENT,% - GET_ENVIRONMENT_VARIABLE,IS_IOSTAT_END,MOVE_ALLOC,NEW_LINE,SAME_TYPE_AS,% - SELECTED_CHAR_KIND}% + morekeywords=[3]{C_ASSOCIATED, C_F_POINTER, C_F_PROCPOINTER, C_FUNLOC,% + C_LOC, COMMAND_ARGUMENT_COUNT, EXTENDS_TYPE_OF, GET_COMMAND,% + GET_COMMAND_ARGUMENT, GET_ENVIRONMENT_VARIABLE, IS_IOSTAT_END,% + MOVE_ALLOC,NEW_LINE,SAME_TYPE_AS, SELECTED_CHAR_KIND}% }% % \end{macrocode} % \lsthelper{Denis Girou}{Denis.Girou@idris.fr}{1998/07/26}{Fortran 95=90} @@ -1755,26 +1766,24 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % \begin{macrocode} \lst@definelanguage[90]{Fortran}[95]{Fortran}{} % \end{macrocode} -% There is no |morecomment=[f]| in Fortran 90 since otherwise |CONTAINS| could -% start a comment. This problem was reported by \lsthelper{Magne Rudshaug} -% {magne@ife.no}{1998/01/09}{no morecomment=[f] in Fortran 90}. +% There is no |morecomment=[f]| in Fortran 90 since otherwise |CONTAINS| +% could start a comment. This problem was reported by \lsthelper{Magne +% Rudshaug} {magne@ife.no}{1998/01/09}{no morecomment=[f] in Fortran 90}. % Moreover the keyword |INCLUDE| is due to him. % \begin{macrocode} -\lst@definelanguage[95]{Fortran}[77]{Fortran}% - {deletekeywords=SAVE,% - morekeywords={ALLOCATABLE,ALLOCATE,ASSIGNMENT,CASE,% - CONTAINS,CYCLE,DEALLOCATE,DEFAULT,EXIT,INCLUDE,IN,NONE,% - OUT,INTENT,INTERFACE,MODULE,NAMELIST,% - NULLIFY,ONLY,OPERATOR,OPTIONAL,OUT,POINTER,PRIVATE,% - PUBLIC,RECURSIVE,RESULT,SELECT,SEQUENCE,% - TARGET,USE,WHERE,WHILE,BLOCKDATA,DOUBLEPRECISION,% - ENDBLOCKDATA,ENDFILE,ENDFUNCTION,ENDINTERFACE,% - ENDMODULE,ENDPROGRAM,ENDSELECT,ENDSUBROUTINE,ENDTYPE,ENDWHERE,% - INOUT,SELECTCASE,% +\lst@definelanguage[95]{Fortran}[77]{Fortran}{% + deletekeywords=SAVE,% + morekeywords={ALLOCATABLE, ALLOCATE, ASSIGNMENT, CASE, CONTAINS, CYCLE,% + DEALLOCATE, DEFAULT, EXIT, INCLUDE, IN, NONE, OUT, INTENT, INTERFACE,% + MODULE, NAMELIST, NULLIFY, ONLY, OPERATOR, OPTIONAL, OUT, POINTER,% + PRIVATE, PUBLIC, RECURSIVE, RESULT, SELECT, SEQUENCE, TARGET, USE,% + WHERE, WHILE, BLOCKDATA, DOUBLEPRECISION, ENDBLOCKDATA, ENDFILE,% + ENDFUNCTION, ENDINTERFACE, ENDMODULE, ENDPROGRAM, ENDSELECT,% + ENDSUBROUTINE, ENDTYPE, ENDWHERE, INOUT, SELECTCASE,% % \end{macrocode} % Theses keys were missing from the 1.4 version of listings: % \begin{macrocode} - ELEMENTAL, ELSEWHERE, FORALL, PURE,% + ELEMENTAL, ELSEWHERE, FORALL, PURE,% % \end{macrocode} % This is another key missing from the 1.4 version of listings: % \begin{macrocode} @@ -1782,25 +1791,25 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % \end{macrocode} % The list of option keywords/specifiers new in Fortran 90 and 95: % \begin{macrocode} - morekeywords=[2]{ACTION,ADVANCE,DELIM,IOLENGTH,LEN,NAME,% - NML,PAD,POSITION,READWRITE,SIZE,STAT},% corrected NML from NMT + morekeywords=[2]{ACTION, ADVANCE, DELIM, IOLENGTH, LEN, NAME, NML, PAD,% + POSITION, READWRITE, SIZE, STAT},% corrected NML from NMT % \end{macrocode} % and the list of intrinsic procedures new in Fortran 90 and 95: % \begin{macrocode} - morekeywords=[3]{ACHAR,ADJUSTL,ADJUSTR,ALL,ALLOCATED,ANY,ASSOCIATED,% - BIT_SIZE,% - BTEST,CEILING,COUNT,CPU_TIME,CSHIFT,DATE_AND_TIME,DIGITS,DOT_PRODUCT,% - EOSHIFT,EPSILON,EXPONENT,FLOOR,FRACTION,HUGE,IACHAR,IAND,IBCLR, - IBITS,IBSET,ICHAR,IEOR,IOR,ISHFT,ISHFTC,KIND,LBOUND,LEN_TRIM,% left out LOGICAL - MATMUL,MAXEXPONENT,MAXLOC,MAXVAL,MERGE,MINEXPONENT,MINLOC,MINVAL,% - MODULO,MVBITS,NEAREST,NOT,NULL,PACK,PRECISION,PRESENT,PRODUCT,% - RADIX,RANDOM_NUMBER,RANDOM_SEED,RANGE,RANK,REPEAT,RESHAPE,RRSPACING,% - SCALE,SCAN,SELECTED_INT_KIND,SELECTED_REAL_KIND,SET_EXPONENT,SHAPE,% - SINH,SIZE,SPACING,SPREAD,SUM,SYSTEM_CLOCK,TINY,TRANSFER,TRANSPOSE,% - TRIM,UBOUND,UNPACK,VERIFY},% - deletecomment=[f],% no fixed comment line: 1998 Magne Rudshaug - morecomment=[l]!% - }% + morekeywords=[3]{ACHAR, ADJUSTL, ADJUSTR, ALL, ALLOCATED, ANY, ASSOCIATED,% + BIT_SIZE, BTEST, CEILING, COUNT, CPU_TIME, CSHIFT, DATE_AND_TIME, DIGITS,% + DOT_PRODUCT, EOSHIFT, EPSILON, EXPONENT, FLOOR, FRACTION, HUGE, IACHAR,% + IAND, IBCLR, IBITS, IBSET, ICHAR, IEOR, IOR, ISHFT, ISHFTC, KIND, LBOUND,% + LEN_TRIM,% left out LOGICAL + MATMUL, MAXEXPONENT, MAXLOC, MAXVAL, MERGE, MINEXPONENT, MINLOC, MINVAL,% + MODULO, MVBITS, NEAREST, NOT, NULL, PACK, PRECISION, PRESENT, PRODUCT,% + RADIX, RANDOM_NUMBER, RANDOM_SEED, RANGE, RANK, REPEAT, RESHAPE,% + RRSPACING, SCALE, SCAN, SELECTED_INT_KIND, SELECTED_REAL_KIND,% + SET_EXPONENT, SHAPE, SINH, SIZE, SPACING, SPREAD, SUM, SYSTEM_CLOCK,% + TINY, TRANSFER, TRANSPOSE, TRIM, UBOUND, UNPACK, VERIFY},% + deletecomment=[f],% no fixed comment line: 1998 Magne Rudshaug +morecomment=[l]!% +}% % \end{macrocode} % As proposed by \lsthelper{J\"orn Wilms}{wilms@rocinante.colorado.edu} % {1997/07/07}{Fortran with \lstsensitivefalse} keywords are \emph{not} case @@ -1808,36 +1817,37 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % versions) allows space in keywords; thus, this list contains some of the % more common variants (e.g., `|GO TO|' and `|GOTO|'). % \begin{macrocode} -\lst@definelanguage[77]{Fortran}% +\lst@definelanguage[77]{Fortran}{% % \end{macrocode} % Jobst Hoffmann divided the list of keywords into two lists. The first % list contains the statement keywords, the second list contains the option % keywords/specifiers and values. This makes the different meanings of the % keywords distinguishable. % \begin{macrocode} - {morekeywords={ASSIGN,BACKSPACE,CALL,CHARACTER,% - CLOSE,COMMON,COMPLEX,CONTINUE,DATA,DIMENSION,DO,DOUBLE,% - ELSE,ELSEIF,END,ENDIF,ENDDO,ENTRY,EQUIVALENCE,EXTERNAL,% - FILE,FORMAT,FUNCTION,GO,TO,GOTO,IF,IMPLICIT,% - INQUIRE,INTEGER,INTRINSIC,LOGICAL,% - OPEN,PARAMETER,PAUSE,PRECISION,PRINT,PROGRAM,READ,REAL,% - RETURN,REWIND,STOP,SUBROUTINE,THEN,% - WRITE,SAVE},% - morekeywords=[2]{ACCESS,BLANK,BLOCK,DIRECT,EOF,ERR,EXIST,% - FMT,FORM,FORMATTED,IOSTAT,NAMED,NEXTREC,NUMBER,OPENED,% - REC,RECL,SEQUENTIAL,STATUS,TYPE,UNFORMATTED,UNIT},% + morekeywords={ASSIGN, BACKSPACE, CALL, CHARACTER, % + CLOSE, COMMON, COMPLEX, CONTINUE, DATA, DIMENSION, DO, DOUBLE, % + ELSE, ELSEIF, END, ENDIF, ENDDO, ENTRY, EQUIVALENCE, EXTERNAL, % + FILE, FORMAT, FUNCTION, GO, TO, GOTO, IF, IMPLICIT, % + INQUIRE, INTEGER, INTRINSIC, LOGICAL, % + OPEN, PARAMETER, PAUSE, PRECISION, PRINT, PROGRAM, READ, REAL, % + RETURN, REWIND, STOP, SUBROUTINE, THEN, % + WRITE, SAVE},% + morekeywords=[2]{ACCESS, BLANK, BLOCK, DIRECT, EOF, ERR, EXIST,% + FMT, FORM, FORMATTED, IOSTAT, NAMED, NEXTREC, NUMBER, OPENED,% + REC, RECL, SEQUENTIAL, STATUS, TYPE, UNFORMATTED, UNIT},% % \end{macrocode} % And here is another list: the list of intrinsic procedures (remember: all % functions belong to the Fortran language specification!) % \begin{macrocode} - morekeywords=[3]{INT,DBLE,CMPLX,ICHAR,CHAR,AINT,ANINT,% left out real - NINT,ABS,MOD,SIGN,DIM,DPROD,MAX,MIN,AIMAG,CONJG,SQRT,% - EXP,LOG,LOG10,SIN,COS,TAN,ASIN,ACOS,ATAN,ATAN2,SINH,% - COSH,TANH,LGE,LGT,LLE,LLT,LEN,INDEX},% + morekeywords=[3]{INT, DBLE, CMPLX, ICHAR, CHAR, AINT, ANINT,% left out real + NINT, ABS, MOD, SIGN, DIM, DPROD, MAX, MIN, AIMAG, CONJG, SQRT,% + EXP, LOG, LOG10, SIN, COS, TAN, ASIN, ACOS, ATAN, ATAN2, SINH,% + COSH, TANH, LGE, LGT, LLE, LLT, LEN, INDEX},% % \end{macrocode} % And here is the last list: fortran operators: % \begin{macrocode} - morekeywords=[4]{AND,EQ,EQV,FALSE,GE,GT,OR,LE,LT,NE,NEQV,NOT,TRUE},% + morekeywords=[4]{AND, EQ, EQV, FALSE, GE, GT, OR, LE, LT, NE, NEQV,% + NOT, TRUE},% sensitive=f,%% not Fortran-77 standard, but allowed in Fortran-95 %% morecomment=[f]*,% morecomment=[f]C,% @@ -2070,100 +2080,96 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % \subsection{Hansl/Gretl} % % Thanks to \lstthanks{Ignacio -% D\'{i}az-Emparanza}{ignacio.diaz-emparanza@ehu.es}{2013/10/24} for providing -% the definition of hansl. Hansl is the gretl scripting language (see -% \url{http://gretl.sourceforge.net}). -% \begingroup +% D\'{i}az-Emparanza}{ignacio.diaz-emparanza@ehu.es}{2013/10/24}, +% \lstthanks{Riccardo (Jack) Lucchetti}{r.lucchetti@univpm.it}{2018/11/03}, +% and \lstthanks{Sven Schreiber}{svetosch@gmx.net}{2018/11/22} +% for providing the definition of hansl. Hansl is the gretl scripting +% language (see \url{http://gretl.sourceforge.net}).% +% \begingroup% % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} -%% -%% http://gretl.sourceforge.net/gretl-help/cmdref.html -%% (c) 2013 Ignacio D\'iaz-Emparanza -%% \lst@definelanguage{hansl}{% - % $-variables are internal functions in hansl - keywordsprefix ={\$}, + showstringspaces = false, % morekeywords={ % hansl commands: - add,adf,anova,append,ar,ar1,% - arbond,arch,arima,biprobit,boxplot,break,% - catch,chow,clear,coeffsum,coint,coint2,% - corr,corrgm,cusum,data,dataset,debug,% - delete,diff,difftest,discrete,dpanel,dummify,% - duration,elif,else,end,endif,endloop,% - eqnprint,equation,estimate,fcast,foreign,fractint,% - freq,function,garch,genr,gmm,gnuplot,% - graphpg,hausman,heckit,help,hsk,hurst,% - if,include,info,intreg,join,kalman,% - kpss,labels,lad,lags,ldiff,leverage,% - levinlin,logistic,logit,logs,loop,mahal,% - makepkg,markers,meantest,mle,modeltab,modprint,% - modtest,mpols,negbin,nls,normtest,nulldata,% - ols,omit,open,orthdev,outfile,panel,% - pca,pergm,poisson,print,printf,probit,% - pvalue,qlrtest,qqplot,quantreg,quit,rename,% - reset,restrict,rmplot,run,runs,scatters,% - sdiff,set,setinfo,setobs,setmiss,shell,% - smpl,spearman,sprintf,square,sscanf,store,% - summary,system,tabprint,textplot,tobit,tsls,% - var,varlist,vartest,vecm,vif,wls,% - xcorrgm,xtab,scalar,series,matrix,string},% - morekeywords=[2]{ % Functions - abs,acos,acosh,aggregate,argname,% - asin,asinh,atan,atanh,atof,% - bessel,BFGSmax,bkfilt,boxcox,bwfilt,% - cdemean,cdf,cdiv,ceil,cholesky,% - chowlin,cmult,cnorm,colname,colnames,% - cols,corr,corrgm,cos,cosh,% - cov,critical,cum,deseas,det,% - diag,diagcat,diff,digamma,dnorm,% - dsort,dummify,eigengen,eigensym,eigsolve,% - epochday,errmsg,exp,fcstats,fdjac,% - fft,ffti,filter,firstobs,fixname,% - floor,fracdiff,gammafun,getenv,getline,% - ghk,gini,ginv,halton,hdprod,% - hpfilt,I,imaxc,imaxr,imhof,% - iminc,iminr,inbundle,infnorm,inlist,% - int,inv,invcdf,invmills,invpd,% - irf,irr,isconst,isnan,isnull,% - isodate,iwishart,kdensity,kfilter,ksimul,% - ksmooth,kurtosis,lags,lastobs,ldet,% - ldiff,lincomb,ljungbox,lngamma,log,% - log10,log2,loess,logistic,lower,% - lrvar,max,maxc,maxr,mcorr,% - mcov,mcovg,mean,meanc,meanr,% - median,mexp,min,minc,minr,% - missing,misszero,mlag,mnormal,mols,% - monthlen,movavg,mpols,mrandgen,mread,% - mreverse,mrls,mshape,msortby,muniform,% - mwrite,mxtab,nadarwat,nelem,ngetenv,% - nobs,normal,npv,NRmax,nullspace,% - obs,obslabel,obsnum,ok,onenorm,% - ones,orthdev,pdf,pergm,pmax,% - pmean,pmin,pnobs,polroots,polyfit,% - princomp,prodc,prodr,psd,psdroot,% - pshrink,psum,pvalue,pxsum,qform,% - qnorm,qrdecomp,quadtable,quantile,randgen,% - randgen1,randint,rank,ranking,rcond,% - readfile,regsub,remove,replace,resample,% - round,rownames,rows,sd,sdc,% - sdiff,selifc,selifr,seq,setnote,% - simann,sin,sinh,skewness,sort,% - sortby,sqrt,sscanf,sst,strlen,% - strncmp,strsplit,strstr,strstrip,strsub,% - sum,sumall,sumc,sumr,svd,% - tan,tanh,toepsolv,tolower,toupper,% - tr,transp,trimr,typestr,uniform,% - uniq,unvech,upper,urcpval,values,% - var,varname,varnum,varsimul,vec,% - vech,weekday,wmean,wsd,wvar,% - xmax,xmin,xpx,zeromiss,zeros,% + add, adf, anova, append, ar, ar1, arbond, arch, arima, biprobit, break,% + boxplot, chow, clear, coeffsum, coint, coint2, corr, corrgm, cusum,% + data, dataset, delete, diff, difftest, discrete, dpanel, dummify,% + duration, elif, else, end, endif, endloop, eqnprint, equation,% + estimate, eval, fcast, flush, foreign, fractint, freq, function,% + funcerr, garch, genr, gmm, gnuplot, graphpg, hausman, heckit, help,% + hfplot, hsk, hurst, if, include, info, intreg, join, kpss, labels, lad,% + lags, ldiff, leverage, levinlin, logistic, logit, logs, loop, mahal,% + makepkg, markers, meantest, midasreg, mle, modeltab, modprint, modtest,% + mpi, mpols, negbin, nls, normtest, nulldata, ols, omit, open, orthdev,% + outfile, panel, pca, pergm, plot, poisson, print, printf, probit,% + pvalue, quantreg, qlrtest, qqplot, quit, rename, reset, restrict,% + rmplot, run, runs, scatters, sdiff, set, setinfo, setobs, setopt,% + setmiss, smpl, spearman, square, store,% + summary, system, tabprint, textplot, tobit, tsls, var, varlist,% + vartest, vecm, vif, wls, xcorrgm, xtab, debug, return, catch, pkg,% + arma, deriv, params, hessian, for, foreach, while, const},% + morekeywords=[2]{ % accessors: + \$nobs, \$nvars, \$pd, \$t1, \$t2, \$tmax, \$datatype, \$test,% + \$pvalue, \$qlrbreak, \$rlnl, \$stopwatch, \$unit, \$obsmajor,% + \$obsminor, \$obsmicro, \$obsdate, \$windows, \$version, \$error,% + \$seed, \$huge, \$ess, \$T, \$rsq, \$sigma, \$df, \$ncoeff, \$lnl,% + \$gmmcrit, \$aic, \$bic, \$hqc, \$trsq, \$dw, \$dwpval, \$Fstat,% + \$chisq, \$diagtest, \$diagpval, \$pmanteau, \$uhat, \$yhat, \$llt,% + \$ahat, \$sample, \$h, \$coeff, \$stderr, \$vcv, \$rho, \$compan,% + \$xtxinv, \$vecGamma, \$vma, \$fevd, \$evals, \$jalpha, \$jbeta,% + \$jvbeta, \$s00, \$s11, \$s01, \$ec, \$hausman, \$sargan, \$sysGamma,% + \$sysA, \$sysB, \$fcast, \$fcse, \$coeff_ci, \$ehat, \$mnlprobs,% + \$xlist, \$ylist, \$command, \$depvar, \$model, \$system, \$sysinfo},% + morekeywords=[3]{ % functions + BFGScmax, BFGSmax, GSSmax, I, NMmax, NRmax, abs, acos, acosh,% + aggregate, argname, array, asin, asinh, atan, atanh, atof, bessel,% + bkfilt, bootci, bootpval, boxcox, bread, bwfilt, bwrite, cdemean, cdf,% + cdiv, cdummify, ceil, cholesky, chowlin, cmult, cnameget, cnameset,% + cnorm, cnumber, cols, corr, corrgm, cos, cosh, cov, critical, cum,% + curl, dayspan, defarray, defbundle, deflist, deseas, det, diag,% + diagcat, diff, digamma, dnorm, dropcoll, dsort, dummify, easterday,% + ecdf, eigengen, eigensym, eigsolve, epochday, errmsg, exists, exp,% + fcstats, fdjac, feval, fevd, fft, ffti, filter, firstobs, fixname,% + floor, fracdiff, fraclag, freq, gammafun, genseries, getenv, getinfo,% + getkeys, getline, ghk, gini, ginv, grab, halton, hdprod, hfdiff,% + hflags, hfldiff, hflist, hpfilt, imaxc, imaxr, imhof, iminc, iminr,% + inbundle, infnorm, inlist, instring, int, inv, invcdf, invmills, invpd,% + irf, irr, isconst, isdiscrete, isdummy, isnan, isoconv, isodate,% + iwishart, jsonget, jsongetb, juldate, kdensity, kdsmooth, kfilter,% + kmeier, kpsscrit, ksetup, ksimdata, ksimul, ksmooth, kurtosis, lags,% + lastobs, ldet, ldiff, lincomb, linearize, ljungbox, lngamma, loess,% + log, log10, log2, logistic, lower, lrcovar, lrvar, max, maxc, maxr,% + mcorr, mcov, mcovg, mean, meanc, meanr, median, mexp, mgradient, min,% + minc, minr, missing, misszero, mlag, mlincomb, mnormal, mols, monthlen,% + movavg, mpiallred, mpibcast, mpirecv, mpireduce, mpiscatter, mpisend,% + mpols, mrandgen, mread, mreverse, mrls, mshape, msortby, muniform,% + mweights, mwrite, mxtab, naalen, nadarwat, nelem, ngetenv, nlines,% + nobs, normal, normtest, npcorr, npv, nullspace, numhess, obslabel,% + obsnum, ok, onenorm, ones, orthdev, pdf, pergm, pexpand, pmax, pmean,% + pmin, pnobs, polroots, polyfit, princomp, printf, prodc, prodr, psd,% + psdroot, pshrink, psum, pvalue, pxnobs, pxsum, qform, qlrpval, qnorm,% + qrdecomp, quadtable, quantile, randgen, randgen1, randint, rank,% + ranking, rcond, readfile, regsub, remove, replace, resample, rnameget,% + rnameset, round, rows, sd, sdc, sdiff, seasonals, selifc, selifr, seq,% + setnote, simann, sin, sinh, skewness, sleep, smplspan, sort, sortby,% + sprintf, sqrt, square, sscanf, sst, stringify, strlen, strncmp,% + strsplit, strstr, strstrip, strsub, strvals, substr, sum, sumall, sumc,% + sumr, svd, svm, tan, tanh, toepsolv, tolower, toupper, tr, transp,% + trimr, typeof, typestr, uniform, uniq, unvech, upper, urcpval, values,% + var, varname, varnames, varnum, varsimul, vec, vech, weekday, wmean,% + wsd, wvar, xmax, xmin, xmlget, zeromiss, zeros, NMmin, GSSmin,% + BFGScmin, BFGSmin },% + morekeywords=[4]{ % genr aliases: + null, series, scalar, matrix, string, list, bundle, strings, matrices,% + bundles, lists% },% sensitive=t,% morecomment=[l]{\#},% morecomment=[s]{/*}{*/},% - morestring=[b]{"}}% + morestring=[b]{"}% +}% \lstalias{gretl}{hansl} % \end{macrocode} % \begin{macrocode} @@ -2171,6 +2177,42 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % \end{macrocode} % \endgroup % +% \begingroup% +% The developers of the hansl support also supplied a definition of a style +% for printing hansl code: +% \begin{macrocode} +%<*hansl-prf> +% \end{macrocode} +% \begin{macrocode} +\usepackage[rgb, x11names]{xcolor} + +% settings for black and white +\lstdefinestyle{hanslbw}{% + keywordstyle = \bfseries, + keywordstyle = [2]\bfseries, + keywordstyle = [3]\itshape, + keywordstyle = [4]\underbar, + commentstyle = \ttfamily, + stringstyle = \ttfamily +} +% settings for colored printing +\lstdefinestyle{hanslcolor}{% + basicstyle = \small\ttfamily, + keywordstyle = \color{red}, + keywordstyle = [2]\color{green}, + keywordstyle = [3]\color{cyan}, + keywordstyle = [4]\color{olive}, + commentstyle = \color{blue}\rmfamily, % + stringstyle = \color{magenta}, + moredelim = [l][\color{green}]{--} +}% +% \end{macrocode} +% This code is provided in the file |listings-hansl.prf|, see section +% 2.4.1 (Preferences) of the \packagename{listings} documentation. +% \begin{macrocode} +%</hansl-prf> +% \end{macrocode} +% \endgroup % % \subsection{Haskell} % @@ -2315,11 +2357,13 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% }[keywords,comments,strings,html]% % \end{macrocode} % \lsthelper{Peter~Biechele}{peter.biechele@physik.uni-freiburg.de} -% {1999/07/01}{! Missing $\}$ inserted} reported a problem which was due to -% missing |\@empty| in value of |SelectCharTable|. And after receiving a bug -% report from \lsthelper{Jochen Schneider}{jschneider@ds3.etech.haw-hamburg.de} -% {2002/04/05}{use of \lst@thestyle doesn't match its definition} I converted -% the version 0.21 contents of |MoreSelectCharTable| to version 1.0. +% {1999/07/01}{! Missing +% $\}$ inserted} reported a problem which was due to missing |\@empty| in +% value of |SelectCharTable|. And after receiving a bug report from +% \lsthelper{Jochen Schneider}{jschneider@ds3.etech.haw-hamburg.de} +% {2002/04/05}{use of \lst@thestyle doesn't match its definition} I +% converted the version 0.21 contents of |MoreSelectCharTable| to version +% 1.0. % \begin{macrocode} %</lang1> % \end{macrocode} @@ -2370,88 +2414,89 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% %% Inform definition (c) 2003 Jonathan Sauer %% \lst@definelanguage{inform}{% - % Language keywords - morekeywords={breakdo,else,false,for,has,hasnt,if,% - in,indirect,jump,notin,nothing,NULL,objectloop,ofclass,% - private,property,provides,return,rfalse,rtrue,self,string,% - switch,to,true,until,while,with,% - creature,held,multiexcept,multiheld,multiinside,noun,number,% - scope,topic},% - % - % Inform functions - morekeywords=[2]{box,child,children,font,give,inversion,metaclass,move,% - new_line,parent,print,print_ret,read,remove,restore,sibling,% - save,spaces,quit,style,bold,underline,reverse,roman remaining,% - create,destroy,recreate,copy},% - % - % Inform definitions - morekeywords=[3]{Attribute,Array,Class,Constant,Default,End,Endif,Extend,% - Global,Ifdef,Iffalse,Ifndef,Ifnot,Iftrue,Include,Object,% - Property,Verb,Release,Serial,Statusline},% - % - % Library attributes - morekeywords=[4]{absent,animate,clothing,concealed,container,door,edible,% - enterable,female,general,light,lockable locked,male,moved,% - neuter,on,open,openable,pluralname,proper,scenery,scored,% - static,supporter,switchable,talkable,transparent,visited,% - workflag,worn},% - % - % Library properties - morekeywords=[5]{n_to,s_to,e_to,w_to,ne_to,nw_to,se_to,sw_to,in_to,% - out_to,u_to,d_to,add_to_scope,after,article,articles,before,% - cant_go,capacity,daemon,describe,description,door_dir,door_to,% - each_turn,found_in,grammar,initial,inside_description,invent,% - life,list_together,name number,orders,parse_name,plural,% - react_after,react_before,short_name,short_name_indef,time_left,% - time_out,when_closed,when_open,when_on,when_off,% - with_key},% - % - % Library routines - morekeywords=[6]{Achieved,AfterRoutines,AllowPushDir,Banner,ChangePlayer,% - CommonAncestor,DictionaryLookup,GetGNAOfObject,HasLightSource,% - IndirectlyContains,IsSeeThrough,Locale,LoopOverScope,LTI_Insert,% - MoveFloatingObjects,NextWord,NextWordStopped,NounDomain,% - ObjectIsUntouchable OffersLight,ParseToken,PlaceInScope,PlayerTo,% - PronounNotice,PronounValue,ScopeWithin,SetPronoun,SetTime,% - StartDaemon,StartTimer,StopDaemon,StopTimer,TestScope,TryNumber,% - UnsignedCompare,WordAddress,WordInProperty,WordLength,% - WriteListFrom,YesOrNo},% - % - % Library,entry points - morekeywords=[7]{AfterLife,AfterPrompt,Amusing,BeforeParsing,ChooseObjects,% - DarkToDark,DeathMessage,GamePostRoutine GamePreRoutine,% - Initialise,InScope,LookRoutine,NewRoom,ParseNoun,ParseNumber,% - ParserError,PrintRank,PrintTaskName,PrintVerb,TimePasses,% - UnknownVerb},% - % - % Library constants - morekeywords=[8]{NEWLINE_BIT,INDENT_BIT,FULLINV_BIT,ENGLISH_BIT,RECURSE_BIT,% - ALWAYS_BIT,TERSE_BIT,PARTINV_BIT,DEFART_BIT,WORKFLAG_BIT,% - ISARE_BIT,CONCEAL_BIT},% - % - % Library,meta actions - morekeywords=[9]{Pronouns,Quit,Restart,Restore,Save,Verify,ScriptOn,ScriptOff,% - NotifyOn,NotifyOff,Places,Objects,Score,FullScore,Version,LMode1,% - LMode2,Lmode3},% - % - % Library,main actions - morekeywords=[10]{Close,Disrobe,Drop,Eat,Empty,EmptyT,Enter,Examine,Exit,GetOff,% - Give,Go,GoIn,Insert,Inv,InvTall,InvWide,Lock,Look,Open,PutOn,Remove,% - Search,Show,SwitchOff,SwitchOn,Take,Transfer,Unlock VagueGo,% - Wear},% - % - % Library,stub actions - morekeywords=[11]{Answer,Ask,AskFor,Attack,Blow,Burn,Buy,Climb,Consult,Cut,Dig,% - Drink,Fill,Jump,JumpOver,Kiss,Listen,LookUnder,Mild,No,Pray,Pull,% - Push,PushDir,Rub,Set,SetTo,Sing,Sleep,Smell,,Sleep,Smell,Sorry,% - Squeeze,Strong,Swim,Swing,Taste,Tell,Think,ThrowAt,Tie,Touch,Turn,% - Wait,Wake,WakeOther,Wave,WaveHands,Yes},% - % - otherkeywords={->,-->},% - sensitive=false,% - morestring=[d]{"},% - morecomment=[l]{!}% - }[keywords,comments,strings]% + % Language keywords + morekeywords={breakdo,else,false,for,has,hasnt,if,% + in,indirect,jump,notin,nothing,NULL,objectloop,ofclass,% + private,property,provides,return,rfalse,rtrue,self,string,% + switch,to,true,until,while,with,% + creature,held,multiexcept,multiheld,multiinside,noun,number,% + scope,topic},% + % + % Inform functions + morekeywords=[2]{box,child,children,font,give,inversion,metaclass,move,% + new_line,parent,print,print_ret,read,remove,restore,sibling,% + save,spaces,quit,style,bold,underline,reverse,roman remaining,% + create,destroy,recreate,copy},% + % + % Inform definitions + morekeywords=[3]{Attribute,Array,Class,Constant,Default,End,Endif,Extend,% + Global,Ifdef,Iffalse,Ifndef,Ifnot,Iftrue,Include,Object,% + Property,Verb,Release,Serial,Statusline},% + % + % Library attributes + morekeywords=[4]{absent,animate,clothing,concealed,container,door,edible,% + enterable,female,general,light,lockable locked,male,moved,% + neuter,on,open,openable,pluralname,proper,scenery,scored,% + static,supporter,switchable,talkable,transparent,visited,% + workflag,worn},% + % + % Library properties + morekeywords=[5]{n_to,s_to,e_to,w_to,ne_to,nw_to,se_to,sw_to,in_to,% + out_to,u_to,d_to,add_to_scope,after,article,articles,before,% + cant_go,capacity,daemon,describe,description,door_dir,door_to,% + each_turn,found_in,grammar,initial,inside_description,invent,% + life,list_together,name number,orders,parse_name,plural,% + react_after,react_before,short_name,short_name_indef,time_left,% + time_out,when_closed,when_open,when_on,when_off,% + with_key},% + % + % Library routines + morekeywords=[6]{Achieved,AfterRoutines,AllowPushDir,Banner,ChangePlayer,% + CommonAncestor,DictionaryLookup,GetGNAOfObject,HasLightSource,% + IndirectlyContains,IsSeeThrough,Locale,LoopOverScope,LTI_Insert,% + MoveFloatingObjects,NextWord,NextWordStopped,NounDomain,% + ObjectIsUntouchable OffersLight,ParseToken,PlaceInScope,PlayerTo,% + PronounNotice,PronounValue,ScopeWithin,SetPronoun,SetTime,% + StartDaemon,StartTimer,StopDaemon,StopTimer,TestScope,TryNumber,% + UnsignedCompare,WordAddress,WordInProperty,WordLength,% + WriteListFrom,YesOrNo},% + % + % Library,entry points + morekeywords=[7]{AfterLife,AfterPrompt,Amusing,BeforeParsing,ChooseObjects,% + DarkToDark,DeathMessage,GamePostRoutine GamePreRoutine,% + Initialise,InScope,LookRoutine,NewRoom,ParseNoun,ParseNumber,% + ParserError,PrintRank,PrintTaskName,PrintVerb,TimePasses,% + UnknownVerb},% + % + % Library constants + morekeywords=[8]{NEWLINE_BIT,INDENT_BIT,FULLINV_BIT,ENGLISH_BIT,% + RECURSE_BIT,ALWAYS_BIT,TERSE_BIT,PARTINV_BIT,DEFART_BIT,% + WORKFLAG_BIT,ISARE_BIT,CONCEAL_BIT},% + % + % Library,meta actions + morekeywords=[9]{Pronouns,Quit,Restart,Restore,Save,Verify,ScriptOn,% + ScriptOff,NotifyOn,NotifyOff,Places,Objects,Score,FullScore,Version,% + LMode1,LMode2,LMode3},% + % + % Library,main actions + morekeywords=[10]{Close,Disrobe,Drop,Eat,Empty,EmptyT,Enter,Examine,% + Exit,GetOff,Give,Go,GoIn,Insert,Inv,InvTall,InvWide,Lock,Look,Open,% + PutOn,Remove,Search,Show,SwitchOff,SwitchOn,Take,Transfer,% + Unlock VagueGo, Wear},% + % + % Library,stub actions + morekeywords=[11]{Answer,Ask,AskFor,Attack,Blow,Burn,Buy,Climb,% + Consult,Cut,Dig,Drink,Fill,Jump,JumpOver,Kiss,Listen,LookUnder,% + Mild,No,Pray,Pull,Push,PushDir,Rub,Set,SetTo,Sing,Sleep,Smell,% + Sleep,Smell,Sorry,Squeeze,Strong,Swim,Swing,Taste,Tell,Think,% + ThrowAt,Tie,Touch,Turn, + Wait,Wake,WakeOther,Wave,WaveHands,Yes},% + % + otherkeywords={->,-->},% + sensitive=false,% + morestring=[d]{"},% + morecomment=[l]{!}% +}[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} %</lang2> @@ -2648,196 +2693,218 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % % \subsection{Lingo} % -% Thanks to \lstthanks{Mark Schade}{-}{2006/07/26} for this language definition. +% Thanks to \lstthanks{Mark Schade}{-}{2006/07/26} for this language +% definition. % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} -\lst@definelanguage{Lingo} - {morekeywords={abort,after,and,before,do,down,halt,me,new,not,of,% - on,or,otherwise,pass,put,result,return,set,tell,the,then,to,with,% - repeat,while,case,if,else,true,false,global,property,\_global,\_key,% - \_mouse,\_movie,\_player,\_sound,\_system,abbr,abbrev,abbreviated,abs,% - actionsenabled,activateapplication,activatewindow,active3drenderer,% - activecastlib,activewindow,actorlist,add,addat,addbackdrop,addcamera,% - addchild,addmodifier,addoverlay,addprop,addtoworld,addvertex,alert,% - alerthook,alignment,allowcustomcaching,allowgraphicmenu,allowsavelocal,% - allowtransportcontrol,allowvolumecontrol,allowzooming,alphathreshold,% - ambient,ambientcolor,ancestor,angle,anglebetween,animationenabled,% - antialias,antialiasthreshold,append,applicationname,applicationpath,% - appminimize,atan,attenuation,attributevalue,auto,autoblend,automask,% - autotab,axisangle,back,backcolor,backdrop,backgroundcolor,backspace,% - beep,beepon,beginrecording,beginsprite,beveldepth,beveltype,bgcolor,% - bias,bitand,bitmap,bitmapsizes,bitnot,bitor,bitrate,bitspersample,% - bitxor,blend,blendconstant,blendconstantlist,blendfactor,blendfunction,% - blendfunctionlist,blendlevel,blendrange,blendsource,blendsourcelist,% - blendtime,bone,bonesplayer,border,both,bottom,bottomcap,bottomradius,% - bottomspacing,boundary,boundingsphere,box,boxdropshadow,boxtype,% - breakconnection,breakloop,brightness,broadcastprops,browsername,% - buffersize,build,buttonsenabled,buttonstyle,buttontype,bytesstreamed,% - boolean,cachedocverify,cachesize,call,callancestor,camera,cameracount,% - cameraposition,camerarotation,cancelidleload,castlib,castlibnum,% - castmemberlist,center,centerregpoint,centerstage,changearea,channelcount,% - char,characterset,charpostoloc,chars,charspacing,chartonum,% - checkboxaccess,checkboxtype,checkmark,checknetmessages,child,chunksize,% - clearatrender,clearcache,clearerror,clearframe,clearglobals,clearvalue,% - clickloc,clickmode,clickon,clone,clonedeep,clonemodelfromcastmember,% - clonemotionfromcastmember,close,closed,closewindow,closexlib,collision,% - collisiondata,collisionnormal,color,world,colorbuffer,colorbufferdepth,% - colordepth,colorlist,colorrange,colors,colorsteps,commanddown,comments,% - compressed,connecttonetserver,constrainh,constraint,constrainv,,% - continue,controldown,controller,copypixels,copyrightinfo,copyto,% - copytoclipboard,cos,count,cpuhogticks,creaseangle,creases,[contains],% - createfolder,createmask,creatematte,creationdate,creator,crop,cross,% - crossproduct,cuepassed,cuepointnames,cuepointtimes,currentloopstate,% - currentspritenum,currenttime,cursor,cursorsize,curve,cylinder,ate,day,% - deactivateapplication,deactivatewindow,debug,debugplaybackenabled,% - decaymode,defaultrect,defaultrectmode,delay,delete,deleteall,deleteat,% - deletecamera,deletefolder,deleteframe,deletegroup,deletelight,% - deletemodel,deletemodelresource,deletemotion,deleteone,deleteprop,% - deleteshader,deletetexture,deletevertex,density,depth,depthbufferdepth,% - desktoprectlist,diffuse,diffusecolor,diffuselightmap,% - digitalvideotimescale,digitalvideotype,direction,directionalcolor,% - directionalpreset,directtostage,disableimagingtransformation,displayface,% - displaymode,distanceto,distribution,dither,done,doneparsing,dot,% - dotproduct,doubleclick,downloadnetthing,drag,draw,drawrect,dropshadow,% - duplicate,duplicateframe,duration,editable,editshortcutsenabled,% - elapsedtime,emissive,emitter,empty,emulatemultibuttonmouse,enabled,% - enablehotspot,end,endangle,endcolor,endframe,endrecording,endsprite,% - endtime,enter,enterframe,environment,erase,error,eventpassmode,% - exchange,exists,exit,exitframe,exitlock,exp,externalevent,% - externalparamcount,externalparamname,externalparamvalue,extractalpha,% - extrude3d,face,fadein,fadeout,fadeto,far,field,fieldofview,filename,% - fill,fillcolor,fillcycles,filldirection,filled,fillmode,filloffset,% - fillscale,findempty,findlabel,findpos,findposnear,finishidleload,% - firstindent,fixedlinespace,fixedrate,fixstagesize,flashrect,flashtostage,% - flat,fliph,flipv,float,floatp,floatprecision,flush,flushinputevents,% - fog,folderchar,font,fontsize,fontstyle,forecolor,forget,frame,% - framecount,framelabel,framepalette,framerate,frameready,framescript,% - framesound1,framesound2,framestohms,frametempo,frametransition,freeblock,% - freebytes,fromcastmember,fromimageobject,front,frontwindow,% - generatenormals,getaprop,getat,getbehaviordescription,getbehaviortooltip,% - getboneid,geterror,geterrorstring,gethardwareinfo,gethotspotrect,getlast,% - getlatestnetid,getnetaddresscookie,getneterrorstring,getnetmessage,% - getnetoutgoingbytes,getnettext,getnormalized,getnthfilenameinfolder,% - getnumberwaitingnetmessages,getone,getpeerconnectionlist,getpixel,% - getplaylist,getpos,getpref,getprop,getpropat,getpropertydescriptionlist,% - getrendererservices,getstreamstatus,gettemppath,getworldtransform,globals,% - glossmap,go,gotoframe,gotonetmovie,gotonetpage,gradienttype,gravity,% - group,handler,handlers,height,heightvertices,high,highlightpercentage,% - highlightstrength,hilite,hither,hittest,hmstoframes,hold,hotspot,html,% - hyperlink,hyperlinkclicked,hyperlinkrange,hyperlinks,hyperlinkstate,% - id3tags,identity,idle,idlehandlerperiod,idleloaddone,idleloadmode,% - idleloadperiod,idleloadtag,idlereadchunksize,ilk,image,imagecompression,% - imageenabled,imagequality,immovable,importfileinto,inflate,ink,inker,% - inlineimeenabled,insertbackdrop,insertframe,insertoverlay,inside,% - installmenu,instance,integer,integerp,interface,interpolate,% - interpolateto,intersect,index,interval,inverse,invert,invertmask,% - isbusy,isinworld,isoktoattach,ispastcuepoint,item,itemdelimiter,kerning,% - kerningthreshold,key,keyboardfocussprite,keycode,keydown,keydownscript,% - keyframeplayer,keypressed,keyup,keyupscript,label,labellist,last,% - lastchannel,lastclick,lastevent,lastframe,lastkey,lastroll,left,% - leftindent,length,lengthvertices,level,lifetime,light,line,linearlist,% - linecolor,linecount,linedirection,lineheight,lineoffset,linepostolocv,% - linesize,linkas,linked,list,listp,loaded,loadfile,loc,loch,locked,% - locktranslation,loctocharpos,locv,locvtolinepos,locz,lod,log,long,% - loop,loopcount,loopendtime,loopsremaining,loopstarttime,machinetype,% - magnitude,map,mapImageToStage,mapmembertostage,mapstagetomember,margin,% - marker,markerlist,mask,max,maxinteger,maxspeed,mci,media,mediaready,% - member,membernum,members,memorysize,menu,mesh,meshdeform,milliseconds,% - min,minspeed,modal,mode,model,modela,modelb,modelresource,% - modelsunderloc,modelsunderray,modelunderloc,modified,modifiedby,% - modifieddate,modifier,modifiers,month,mostrecentcuepoint,motion,% - mousechar,mousedown,mousedownscript,mouseenter,mouseh,mouseitem,% - mouseleave,mouselevel,mouseline,mouseloc,mousemember,mouseoverbutton,% - mouseup,mouseupoutside,mouseupscript,mousev,mousewithin,mouseword,move,% - moveablesprite,movetoback,movetofront,movevertex,movevertexhandle,% - movewindow,movie,movieaboutinfo,moviecopyrightinfo,moviefilefreesize,% - moviefilesize,moviefileversion,movieimagecompression,movieimagequality,% - moviename,moviepath,movierate,movietime,moviextralist,mpeglayer,% - multiply,multisound,name,near,nearfiltering,neighbor,netabort,netdone,% - neterror,netlastmoddate,netmime,netpresent,netstatus,nettextresult,% - netthrottleticks,newcamera,newcurve,newgroup,newlight,newmesh,newmodel,% - newmodelresource,newmotion,newshader,newtexture,next,none,normalize,% - normallist,normals,nothing,notify,nudge,number,numchannels,% - numparticles,numsegments,numtochar,objectp,offset,open,openresfile,% - openwindow,openxlib,optiondown,organizationname,originalfont,originh,% - originmode,originpoint,originv,orthoheight,overlay,pageheight,palette,% - palettemapping,paletteref,paletteindex,pan,paragraph,param,paramcount,% - parent,parsestring,particle,pasteclipboardinto,path,pathname,% - pathstrength,pattern,pause,pausedatstart,pausestate,percentplayed,% - percentstreamed,period,perpendicularto,persistent,pi,picture,picturep,% - plane,platform,play,playbackmode,playfile,playing,playlist,playnext,% - playrate,point,pointat,pointatorientation,pointinhyperlink,% - pointofcontact,pointtochar,pointtoitem,pointtoline,pointtoparagraph,% - pointtoword,position,positionreset,posterframe,postnettext,power,% - preferred3drenderer,preload,preloadbuffer,preloadeventabort,preloadmember,% - preloadmode,preloadmovie,preloadnetthing,preloadram,preloadtime,% - premultiply,prepareframe,preparemovie,prerotate,prescale,pretranslate,% - previous,primitives,printfrom,productversion,projection,projectionangle,% - propList,proxyserver,pttohotspotid,puppet,puppetpalette,puppetsound,% - puppetsprite,puppettempo,puppettransition,purgepriority,% - qtregisteraccesskey,qtunregisteraccesskey,quad,quality,queue,quit,quote,% - radius,ramneeded,random,randomseed,randomvector,rateshift,rawnew,read,% - readvalue,recordfont,rect,ref,reflectionmap,reflectivity,region,% - registerforevent,registerscript,regpoint,regpointvertex,removebackdrop,% - removefromworld,removelast,removemodifier,removeoverlay,rename,renderer,% - rendererdevicelist,renderformat,renderstyle,resetworld,resizewindow,% - resolution,resolve,resolvea,resolveb,resource,restart,resume,% - reverttoworlddefaults,rewind,rgb,rgba4444,rgba5550,rgba5551,rgba5650,% - rgba8880,rgba8888,right,rightindent,rightmousedown,rightmouseup,% - rollover,romanlingo,rootlock,rootnode,rotate,rotation,rotationreset,% - rtf,runmode,runpropertydialog,safeplayer,samplecount,samplerate,% - samplesize,save,savedlocal,savemovie,scale,scalemode,score,scorecolor,% - scoreselection,script,scriptexecutionstyle,scriptinstancelist,scriptlist,% - scriptnum,scriptsenabled,scripttext,scripttype,scrollbyline,scrollbypage,% - scrolltop,sds,searchcurrentfolder,searchpath,searchpaths,seconds,% - selectedtext,selection,selend,selstart,sendallsprites,sendevent,% - sendnetmessage,sendsprite,serialnumber,setalpha,setaprop,setat,% - setcollisioncallback,setflashproperty,setnetbufferlimits,% - setnetmessagehandler,setpixel,setplaylist,setpref,setprop,setscriptlist,% - settrackenabled,setvariable,shader,shaderlist,shadowpercentage,% - shadowstrength,shapetype,shiftdown,shininess,shockwave3d,short,% - showglobals,showlocals,showprops,showresfile,showxlib,shutdown,% - silhouettes,sin,size,sizerange,skew,sleep,smoothness,sort,sound,% - soundbusy,soundchannel,sounddevice,sounddevicelist,soundenabled,% - soundkeepdevice,soundlevel,soundmixmedia,source,sourcerect,space,% - specular,specularcolor,specularlightmap,sphere,spotangle,spotdecay,% - sprite,spritenum,spritespacetoworldspace,sqrt,stage,stagebottom,% - stagecolor,stageleft,stageright,stagetoflash,stagetop,standard,% - startangle,startframe,startmovie,starttime,starttimer,state,static,% - status,stepframe,stilldown,stop,stopevent,stopmovie,stoptime,stream,% - streammode,streamname,streamsize,streamstatus,string,stringp,% - strokecolor,strokewidth,style,subdivision,sweep,swing,switchcolordepth,% - symbol,symbolp,systemdate,tab,tabcount,tabs,tan,target,% - tellstreamstatus,tension,text,texture,texturecoordinatelist,% - texturecoordinates,texturelayer,texturelist,texturemember,texturemode,% - texturemodelist,texturerenderformat,texturerepeat,texturerepeatlist,% - texturetransform,texturetransformlist,texturetype,thumbnail,ticks,tilt,% - time,timeout,timeouthandler,timeoutkeydown,timeoutlapsed,timeoutlength,% - timeoutlist,timeoutmouse,timeoutplay,timeoutscript,timer,timescale,% - title,titlevisible,toon,top,topcap,topradius,topspacing,trace,% - traceload,tracelogfile,trackcount,trackenabled,tracknextkeytime,% - tracknextsampletime,trackpreviouskeytime,trackprevioussampletime,% - trackstarttime,trackstoptime,tracktext,tracktype,trails,transform,% - transitiontype,translate,triggercallback,trimwhitespace,tunneldepth,% - tweened,tweenmode,type,[transparent],union,unload,unloadmember,% - unloadmovie,unregisterallevents,update,updateframe,updatelock,% - updatemovieenabled,updatestage,url,usealpha,usediffusewithtexture,% - usefastquads,usehypertextstyles,uselineoffset,userdata,username,value,% - vector,version,vertex,vertexlist,vertices,video,videoforwindowspresent,% - viewh,viewpoint,viewscale,viewv,visibility,visible,void,voidp,volume,% - volumeinfo,wait,waitfornetconnection,warpmode,width,widthvertices,wind,% - window,windowlist,windowpresent,windowtype,word,wordwrap,world,% - worldposition,worldspacetospritespace,worldtransform,wraptransform,% - wraptransformlist,write,writevalue,,xaxis,xtra,xtralist,xtras,,yaxis,% - year,yon,zaxis,zoombox,zoomwindow,repeat,Conditional,Boolean,TypeDef,% - Statement,Operator,String,Comment,Identifier,Special,x,y,z} - sensitive=false, - morecomment=[l]{--}, - morestring=[b]", - }[keywords,comments,strings]% +\lst@definelanguage{Lingo}{% + morekeywords={abort, after, and, before, do, down, halt, me, new, not,% + of, on, or, otherwise, pass, put, result, return, set, tell, the, then,% + to, with, repeat, while, case, if, else, true, false, global, property,% + \_global, \_key, \_mouse, \_movie, \_player, \_sound, \_system, abbr,% + abbrev, abbreviated, abs, actionsenabled, activateapplication,% + activatewindow, active3drenderer, activecastlib, activewindow,% + actorlist, add, addat, addbackdrop, addcamera, addchild, addmodifier,% + addoverlay, addprop, addtoworld, addvertex, alert, alerthook,% + alignment, allowcustomcaching, allowgraphicmenu, allowsavelocal,% + allowtransportcontrol, allowvolumecontrol, allowzooming,% + alphathreshold, ambient, ambientcolor, ancestor, angle, anglebetween,% + animationenabled, antialias, antialiasthreshold, append,% + applicationname, applicationpath, appminimize, atan, attenuation,% + attributevalue, auto, autoblend, automask, autotab, axisangle, back,% + backcolor, backdrop, backgroundcolor, backspace, beep, beepon,% + beginrecording, beginsprite, beveldepth, beveltype, bgcolor, bias,% + bitand, bitmap, bitmapsizes, bitnot, bitor, bitrate, bitspersample,% + bitxor, blend, blendconstant, blendconstantlist, blendfactor,% + blendfunction, blendfunctionlist, blendlevel, blendrange, blendsource,% + blendsourcelist, blendtime, bone, bonesplayer, border, both, bottom,% + bottomcap, bottomradius, bottomspacing, boundary, boundingsphere, box,% + boxdropshadow, boxtype, breakconnection, breakloop, brightness,% + broadcastprops, browsername, buffersize, build, buttonsenabled,% + buttonstyle, buttontype, bytesstreamed, boolean, cachedocverify,% + cachesize, call, callancestor, camera, cameracount, cameraposition,% + camerarotation, cancelidleload, castlib, castlibnum, castmemberlist,% + center, centerregpoint, centerstage, changearea, channelcount, char,% + characterset, charpostoloc, chars, charspacing, chartonum,% + checkboxaccess, checkboxtype, checkmark, checknetmessages, child,% + chunksize, clearatrender, clearcache, clearerror, clearframe,% + clearglobals, clearvalue, clickloc, clickmode, clickon, clone,% + clonedeep, clonemodelfromcastmember, clonemotionfromcastmember, close,% + closed, closewindow, closexlib, collision, collisiondata,% + collisionnormal, color, world, colorbuffer, colorbufferdepth,% + colordepth, colorlist, colorrange, colors, colorsteps, commanddown,% + comments, compressed, connecttonetserver, constrainh, constraint,% + constrainv, continue, controldown, controller, copypixels,% + copyrightinfo, copyto, copytoclipboard, cos, count, cpuhogticks,% + creaseangle, creases, [contains], createfolder, createmask,% + creatematte, creationdate, creator, crop, cross, crossproduct,% + cuepassed, cuepointnames, cuepointtimes, currentloopstate,% + currentspritenum, currenttime, cursor, cursorsize, curve, cylinder,% + ate, day, deactivateapplication, deactivatewindow, debug,% + debugplaybackenabled, decaymode, defaultrect, defaultrectmode, delay,% + delete, deleteall, deleteat, deletecamera, deletefolder, deleteframe,% + deletegroup, deletelight, deletemodel, deletemodelresource,% + deletemotion, deleteone, deleteprop, deleteshader, deletetexture,% + deletevertex, density, depth, depthbufferdepth, desktoprectlist,% + diffuse, diffusecolor, diffuselightmap, digitalvideotimescale,% + digitalvideotype, direction, directionalcolor, directionalpreset,% + directtostage, disableimagingtransformation, displayface, displaymode,% + distanceto, distribution, dither, done, doneparsing, dot, dotproduct,% + doubleclick, downloadnetthing, drag, draw, drawrect, dropshadow,% + duplicate, duplicateframe, duration, editable, editshortcutsenabled,% + elapsedtime, emissive, emitter, empty, emulatemultibuttonmouse,% + enabled, enablehotspot, end, endangle, endcolor, endframe,% + endrecording, endsprite, endtime, enter, enterframe, environment,% + erase, error, eventpassmode, exchange, exists, exit, exitframe,% + exitlock, exp, externalevent, externalparamcount, externalparamname,% + externalparamvalue, extractalpha, extrude3d, face, fadein, fadeout,% + fadeto, far, field, fieldofview, filename, fill, fillcolor, fillcycles,% + filldirection, filled, fillmode, filloffset, fillscale, findempty,% + findlabel, findpos, findposnear, finishidleload, firstindent,% + fixedlinespace, fixedrate, fixstagesize, flashrect, flashtostage, flat,% + fliph, flipv, float, floatp, floatprecision, flush, flushinputevents,% + fog, folderchar, font, fontsize, fontstyle, forecolor, forget, frame,% + framecount, framelabel, framepalette, framerate, frameready,% + framescript, framesound1, framesound2, framestohms, frametempo,% + frametransition, freeblock, freebytes, fromcastmember, fromimageobject,% + front, frontwindow, generatenormals, getaprop, getat,% + getbehaviordescription, getbehaviortooltip, getboneid, geterror,% + geterrorstring, gethardwareinfo, gethotspotrect, getlast,% + getlatestnetid, getnetaddresscookie, getneterrorstring, getnetmessage,% + getnetoutgoingbytes, getnettext, getnormalized, getnthfilenameinfolder,% + getnumberwaitingnetmessages, getone, getpeerconnectionlist, getpixel,% + getplaylist, getpos, getpref, getprop, getpropat,% + getpropertydescriptionlist, getrendererservices, getstreamstatus,% + gettemppath, getworldtransform, globals, glossmap, go, gotoframe,% + gotonetmovie, gotonetpage, gradienttype, gravity, group, handler,% + handlers, height, heightvertices, high, highlightpercentage,% + highlightstrength, hilite, hither, hittest, hmstoframes, hold, hotspot,% + html, hyperlink, hyperlinkclicked, hyperlinkrange, hyperlinks,% + hyperlinkstate, id3tags, identity, idle, idlehandlerperiod,% + idleloaddone, idleloadmode, idleloadperiod, idleloadtag,% + idlereadchunksize, ilk, image, imagecompression, imageenabled,% + imagequality, immovable, importfileinto, inflate, ink, inker,% + inlineimeenabled, insertbackdrop, insertframe, insertoverlay, inside,% + installmenu, instance, integer, integerp, interface, interpolate,% + interpolateto, intersect, index, interval, inverse, invert, invertmask,% + isbusy, isinworld, isoktoattach, ispastcuepoint, item, itemdelimiter,% + kerning, kerningthreshold, key, keyboardfocussprite, keycode, keydown,% + keydownscript, keyframeplayer, keypressed, keyup, keyupscript, label,% + labellist, last, lastchannel, lastclick, lastevent, lastframe, lastkey,% + lastroll, left, leftindent, length, lengthvertices, level, lifetime,% + light, line, linearlist, linecolor, linecount, linedirection,% + lineheight, lineoffset, linepostolocv, linesize, linkas, linked, list,% + listp, loaded, loadfile, loc, loch, locked, locktranslation,% + loctocharpos, locv, locvtolinepos, locz, lod, log, long, loop,% + loopcount, loopendtime, loopsremaining, loopstarttime, machinetype,% + magnitude, map, mapImageToStage, mapmembertostage, mapstagetomember,% + margin, marker, markerlist, mask, max, maxinteger, maxspeed, mci,% + media, mediaready, member, membernum, members, memorysize, menu, mesh,% + meshdeform, milliseconds, min, minspeed, modal, mode, model, modela,% + modelb, modelresource, modelsunderloc, modelsunderray, modelunderloc,% + modified, modifiedby, modifieddate, modifier, modifiers, month,% + mostrecentcuepoint, motion, mousechar, mousedown, mousedownscript,% + mouseenter, mouseh, mouseitem, mouseleave, mouselevel, mouseline,% + mouseloc, mousemember, mouseoverbutton, mouseup, mouseupoutside,% + mouseupscript, mousev, mousewithin, mouseword, move, moveablesprite,% + movetoback, movetofront, movevertex, movevertexhandle, movewindow,% + movie, movieaboutinfo, moviecopyrightinfo, moviefilefreesize,% + moviefilesize, moviefileversion, movieimagecompression,% + movieimagequality, moviename, moviepath, movierate, movietime,% + moviextralist, mpeglayer, multiply, multisound, name, near,% + nearfiltering, neighbor, netabort, netdone, neterror, netlastmoddate,% + netmime, netpresent, netstatus, nettextresult, netthrottleticks,% + newcamera, newcurve, newgroup, newlight, newmesh, newmodel,% + newmodelresource, newmotion, newshader, newtexture, next, none,% + normalize, normallist, normals, nothing, notify, nudge, number,% + numchannels, numparticles, numsegments, numtochar, objectp, offset,% + open, openresfile, openwindow, openxlib, optiondown, organizationname,% + originalfont, originh, originmode, originpoint, originv, orthoheight,% + overlay, pageheight, palette, palettemapping, paletteref, paletteindex,% + pan, paragraph, param, paramcount, parent, parsestring, particle,% + pasteclipboardinto, path, pathname, pathstrength, pattern, pause,% + pausedatstart, pausestate, percentplayed, percentstreamed, period,% + perpendicularto, persistent, pi, picture, picturep, plane, platform,% + play, playbackmode, playfile, playing, playlist, playnext, playrate,% + point, pointat, pointatorientation, pointinhyperlink, pointofcontact,% + pointtochar, pointtoitem, pointtoline, pointtoparagraph, pointtoword,% + position, positionreset, posterframe, postnettext, power,% + preferred3drenderer, preload, preloadbuffer, preloadeventabort,% + preloadmember, preloadmode, preloadmovie, preloadnetthing, preloadram,% + preloadtime, premultiply, prepareframe, preparemovie, prerotate,% + prescale, pretranslate, previous, primitives, printfrom,% + productversion, projection, projectionangle, propList, proxyserver,% + pttohotspotid, puppet, puppetpalette, puppetsound, puppetsprite,% + puppettempo, puppettransition, purgepriority, qtregisteraccesskey,% + qtunregisteraccesskey, quad, quality, queue, quit, quote, radius,% + ramneeded, random, randomseed, randomvector, rateshift, rawnew, read,% + readvalue, recordfont, rect, ref, reflectionmap, reflectivity, region,% + registerforevent, registerscript, regpoint, regpointvertex,% + removebackdrop, removefromworld, removelast, removemodifier,% + removeoverlay, rename, renderer, rendererdevicelist, renderformat,% + renderstyle, resetworld, resizewindow, resolution, resolve, resolvea,% + resolveb, resource, restart, resume, reverttoworlddefaults, rewind,% + rgb, rgba4444, rgba5550, rgba5551, rgba5650, rgba8880, rgba8888, right,% + rightindent, rightmousedown, rightmouseup, rollover, romanlingo,% + rootlock, rootnode, rotate, rotation, rotationreset, rtf, runmode,% + runpropertydialog, safeplayer, samplecount, samplerate, samplesize,% + save, savedlocal, savemovie, scale, scalemode, score, scorecolor,% + scoreselection, script, scriptexecutionstyle, scriptinstancelist,% + scriptlist, scriptnum, scriptsenabled, scripttext, scripttype,% + scrollbyline, scrollbypage, scrolltop, sds, searchcurrentfolder,% + searchpath, searchpaths, seconds, selectedtext, selection, selend,% + selstart, sendallsprites, sendevent, sendnetmessage, sendsprite,% + serialnumber, setalpha, setaprop, setat, setcollisioncallback,% + setflashproperty, setnetbufferlimits, setnetmessagehandler, setpixel,% + setplaylist, setpref, setprop, setscriptlist, settrackenabled,% + setvariable, shader, shaderlist, shadowpercentage, shadowstrength,% + shapetype, shiftdown, shininess, shockwave3d, short, showglobals,% + showlocals, showprops, showresfile, showxlib, shutdown, silhouettes,% + sin, size, sizerange, skew, sleep, smoothness, sort, sound, soundbusy,% + soundchannel, sounddevice, sounddevicelist, soundenabled,% + soundkeepdevice, soundlevel, soundmixmedia, source, sourcerect, space,% + specular, specularcolor, specularlightmap, sphere, spotangle,% + spotdecay, sprite, spritenum, spritespacetoworldspace, sqrt, stage,% + stagebottom, stagecolor, stageleft, stageright, stagetoflash, stagetop,% + standard, startangle, startframe, startmovie, starttime, starttimer,% + state, static, status, stepframe, stilldown, stop, stopevent,% + stopmovie, stoptime, stream, streammode, streamname, streamsize,% + streamstatus, string, stringp, strokecolor, strokewidth, style,% + subdivision, sweep, swing, switchcolordepth, symbol, symbolp,% + systemdate, tab, tabcount, tabs, tan, target, tellstreamstatus,% + tension, text, texture, texturecoordinatelist, texturecoordinates,% + texturelayer, texturelist, texturemember, texturemode, texturemodelist,% + texturerenderformat, texturerepeat, texturerepeatlist,% + texturetransform, texturetransformlist, texturetype, thumbnail, ticks,% + tilt, time, timeout, timeouthandler, timeoutkeydown, timeoutlapsed,% + timeoutlength, timeoutlist, timeoutmouse, timeoutplay, timeoutscript,% + timer, timescale, title, titlevisible, toon, top, topcap, topradius,% + topspacing, trace, traceload, tracelogfile, trackcount, trackenabled,% + tracknextkeytime, tracknextsampletime, trackpreviouskeytime,% + trackprevioussampletime, trackstarttime, trackstoptime, tracktext,% + tracktype, trails, transform, transitiontype, translate,% + triggercallback, trimwhitespace, tunneldepth, tweened, tweenmode, type,% + [transparent], union, unload, unloadmember, unloadmovie,% + unregisterallevents, update, updateframe, updatelock,% + updatemovieenabled, updatestage, url, usealpha, usediffusewithtexture,% + usefastquads, usehypertextstyles, uselineoffset, userdata, username,% + value, vector, version, vertex, vertexlist, vertices, video,% + videoforwindowspresent, viewh, viewpoint, viewscale, viewv, visibility,% + visible, void, voidp, volume, volumeinfo, wait, waitfornetconnection,% + warpmode, width, widthvertices, wind, window, windowlist,% + windowpresent, windowtype, word, wordwrap, world, worldposition,% + worldspacetospritespace, worldtransform, wraptransform,% + wraptransformlist, write, writevalue, xaxis, xtra, xtralist, xtras,% + yaxis, year, yon, zaxis, zoombox, zoomwindow, repeat, Conditional,% + Boolean, TypeDef, Statement, Operator, String, Comment, Identifier,% + Special, x, y, z},% + sensitive=false,% + morecomment=[l]{--},% + morestring=[b]",% +}[keywords,comments,strings]% % \begin{macrocode} %</lang3> % \end{macrocode} @@ -2858,7 +2925,10 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % comment in Lisp} for the `single comment' delimiters. The keywords are the % `one-word' functions and macros of Common Lisp, i.e.~words not containing a % minus. But I left out the \texttt{caaaar}, \ldots{} functions. -% If anyone types them in, I'd like to get them. +% If anyone types them in, I'd like to get them. \lsthelper{Hilmar +% Preuße}{hille42@web.de}{2019/01/28} informed about an issue mentioned at +% \url{https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499422}{sensitive +% is false}, the issue got corrected. % \begingroup % \begin{macrocode} %<*lang2> @@ -2902,7 +2972,7 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% incf,iterate,labels,let,locally,loop,macrolet,mapping,or,pop,% producing,prog,psetf,psetq,push,pushnew,remf,return,rotatef,% setf,shiftf,step,time,trace,typecase,unless,untrace,when},% - sensitive,% ??? + sensitive=false,% ??? alsodigit=-,% morecomment=[l];,% morecomment=[s]{\#|}{|\#},% 1997 Aslak Raanes @@ -3056,10 +3126,11 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % % LLVM provides a collection of modular and reusable compiler and toolchain % technologies, all further information can be found at its home page -% \url{http://llvm.org/}. \lstthanks{Scott Pakin}{scott@pakin.org}{2013/07/31} provided a -% language definition for the LLVM intermediate presentation according to -% \url{http://llvm.org/docs/}.\footnote{In this section `I' is Scott -% Pakin.} The language provides +% \url{http://llvm.org/}. \lstthanks{Scott +% Pakin}{scott@pakin.org}{2013/07/31} +% provided a language definition for the LLVM intermediate presentation +% according to \url{http://llvm.org/docs/}.\footnote{In this section `I' +% is Scott Pakin.} The language provides % \begingroup % \begin{macrocode} %<*lang3> @@ -3572,10 +3643,11 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % % \subsection{Make} % -% \lstthanks{Rolf~Niepraschk}{niepraschk@ptb.de}{2000/01/10} sent me the new -% definitions. \lstthanks{Markus~Pahlow}{pahlowm@mar.dfo-mpo.gc.ca}{2001/10/12} -% found a missing comma and added some keywords, which improve the highlighting -% with |makemacrouse=true| (but I haven't tested this). +% \lstthanks{Rolf~Niepraschk}{niepraschk@ptb.de}{2000/01/10} sent me the +% new definitions. +% \lstthanks{Markus~Pahlow}{pahlowm@mar.dfo-mpo.gc.ca}{2001/10/12} +% found a missing comma and added some keywords, which improve the +% highlighting with |makemacrouse=true| (but I haven't tested this). % \begingroup % \begin{macrocode} %<*lang2> @@ -5412,319 +5484,296 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% %^^A $ to make emacs font locking happy % % \begin{macrocode} -\lst@definelanguage[5.2]{Mathematica}[3.0]{Mathematica}%% - {morekeywords={Above,AbsoluteOptions,AbsoluteTiming,AccountingForm,% - AccuracyGoal,Active,ActiveItem,AddOnHelpPath,% - AdjustmentBox,AdjustmentBoxOptions,After,AiryAiPrime,% - AlgebraicRulesData,Algebraics,Alias,AlignmentMarker,% - AllowInlineCells,AllowScriptLevelChange,Analytic,AnimationCycleOffset,% - AnimationCycleRepetitions,AnimationDirection,AnimationDisplayTime,ApartSquareFree,% - AppellF1,ArgumentCountQ,ArrayDepth,ArrayPlot,% - ArrayQ,ArrayRules,AspectRatioFixed,Assuming,% - Assumptions,AutoDelete,AutoEvaluateEvents,AutoGeneratedPackage,% - AutoIndent,AutoIndentSpacings,AutoItalicWords,AutoloadPath,% - AutoOpenNotebooks,AutoOpenPalettes,AutoScroll,AutoSpacing,% - AutoStyleOptions,Axis,BackgroundTasksSettings,Backsubstitution,% - Backward,Baseline,Before,BeginDialogPacket,% - BeginFrontEndInteractionPacket,Below,BezoutMatrix,BinaryFormat,% - BinaryGet,BinaryRead,BinaryReadList,BinaryWrite,% - BitAnd,BitNot,BitOr,BitXor,% - Black,BlankForm,Blue,Boole,% - Booleans,Bottom,Bounds,Box,% - BoxBaselineShift,BoxData,BoxDimensions,BoxFormFormatTypes,% - BoxFrame,BoxMargins,BoxRegion,Brown,% - Buchberger,Button,ButtonBox,ButtonBoxOptions,% - ButtonCell,ButtonContents,ButtonData,ButtonEvaluator,% - ButtonExpandable,ButtonFrame,ButtonFunction,ButtonMargins,% - ButtonMinHeight,ButtonNote,ButtonNotebook,ButtonSource,% - ButtonStyle,ButtonStyleMenuListing,ByteOrdering,CallPacket,% - CarmichaelLambda,Cell,CellAutoOverwrite,CellBaseline,% - CellBoundingBox,CellBracketOptions,CellContents,CellDingbat,% - CellEditDuplicate,CellElementsBoundingBox,CellElementSpacings,CellEvaluationDuplicate,% - CellFrame,CellFrameColor,CellFrameLabelMargins,CellFrameLabels,% - CellFrameMargins,CellGroup,CellGroupData,CellGrouping,% - CellGroupingRules,CellHorizontalScrolling,CellLabel,CellLabelAutoDelete,% - CellLabelMargins,CellLabelPositioning,CellMargins,CellObject,% - CellOpen,CellPasswords,CellPrint,CellSize,% - CellStyle,CellTags,CellularAutomaton,Center,% - CharacterEncoding,CharacterEncodingsPath,CharacteristicPolynomial,CharacterRange,% - CheckAll,CholeskyDecomposition,Clip,ClipboardNotebook,% - Closed,ClosingAutoSave,CoefficientArrays,CoefficientDomain,% - CofactorExpansion,ColonForm,ColorFunctionScaling,ColorRules,% - ColorSelectorSettings,Column,ColumnAlignments,ColumnLines,% - ColumnsEqual,ColumnSpacings,ColumnWidths,CommonDefaultFormatTypes,% - CompileOptimizations,CompletionsListPacket,Complexes,ComplexityFunction,% - Compose,ComposeSeries,ConfigurationPath,ConjugateTranspose,% - Connect,ConsoleMessage,ConsoleMessagePacket,ConsolePrint,% - ContentsBoundingBox,ContextToFileName,ContinuedFraction,ConversionOptions,% - ConversionRules,ConvertToBitmapPacket,ConvertToPostScript,ConvertToPostScriptPacket,% - Copyable,CoshIntegral,CounterAssignments,CounterBox,% - CounterBoxOptions,CounterEvaluator,CounterFunction,CounterIncrements,% - CounterStyle,CounterStyleMenuListing,CreatePalettePacket,Cross,% - CurrentlySpeakingPacket,Cyan,CylindricalDecomposition,DampingFactor,% - DataRange,Debug,DebugTag,Decimal,% - DedekindEta,DefaultDuplicateCellStyle,DefaultFontProperties,DefaultFormatType,% - DefaultFormatTypeForStyle,DefaultInlineFormatType,DefaultInputFormatType, - DefaultNaturalLanguage,% - DefaultNewCellStyle,DefaultNewInlineCellStyle,DefaultNotebook,DefaultOutputFormatType,% - DefaultStyleDefinitions,DefaultTextFormatType,DefaultTextInlineFormatType,DefaultValues,% - DefineExternal,DegreeLexicographic,DegreeReverseLexicographic,Deletable,% - DeleteContents,DeletionWarning,DelimiterFlashTime,DelimiterMatching,% - Delimiters,DependentVariables,DiacriticalPositioning,DialogLevel,% - DifferenceOrder,DigitCharacter,DigitCount,DiracDelta,% - Direction,DirectoryName,DisableConsolePrintPacket,DiscreteDelta,% - DisplayAnimation,DisplayEndPacket,DisplayFlushImagePacket,DisplayForm,% - DisplayPacket,DisplayRules,DisplaySetSizePacket,DisplayString,% - DivisionFreeRowReduction,DOSTextFormat,DoubleExponential,DoublyInfinite,% - Down,DragAndDrop,DrawHighlighted,DualLinearProgramming,% - DumpGet,DumpSave,Edit,Editable,% - EditButtonSettings,EditCellTagsSettings,EditDefinition,EditIn,% - Element,EliminationOrder,EllipticExpPrime,EllipticNomeQ,% - EllipticReducedHalfPeriods,EllipticThetaPrime,Empty,EnableConsolePrintPacket,% - Encoding,EndAdd,EndDialogPacket,EndFrontEndInteractionPacket,% - EndOfLine,EndOfString,Enter,EnterExpressionPacket,% - EnterTextPacket,EqualColumns,EqualRows,EquatedTo,% - Erfi,ErrorBox,ErrorBoxOptions,ErrorNorm,% - ErrorPacket,ErrorsDialogSettings,Evaluatable,EvaluatePacket,% - EvaluationCell,EvaluationCompletionAction,EvaluationMonitor,EvaluationNotebook,% - Evaluator,EvaluatorNames,EventEvaluator,ExactNumberQ,% - ExactRootIsolation,Except,ExcludedForms,Exists,% - ExitDialog,ExponentPosition,ExponentStep,Export,% - ExportAutoReplacements,ExportPacket,ExportString,ExpressionPacket,% - ExpToTrig,Extension,ExternalCall,ExternalDataCharacterEncoding,% - Extract,Fail,FEDisableConsolePrintPacket,FEEnableConsolePrintPacket,% - Fibonacci,File,FileFormat,FileInformation,% - FileName,FileNameDialogSettings,FindFit,FindInstance,% - FindMaximum,FindSettings,FitAll,FlushPrintOutputPacket,% - Font,FontColor,FontFamily,FontName,% - FontPostScriptName,FontProperties,FontReencoding,FontSize,% - FontSlant,FontSubstitutions,FontTracking,FontVariations,% - FontWeight,ForAll,FormatRules,FormatTypeAutoConvert,% - FormatValues,FormBox,FormBoxOptions,Forward,% - ForwardBackward,FourierCosTransform,FourierParameters,FourierSinTransform,% - FourierTransform,FractionalPart,FractionBox,FractionBoxOptions,% - FractionLine,FrameBox,FrameBoxOptions,FresnelC,% - FresnelS,FromContinuedFraction,FromDigits,FrontEndExecute,% - FrontEndObject,FrontEndStackSize,FrontEndToken,FrontEndTokenExecute,% - FrontEndVersion,Full,FullAxes,FullSimplify,% - FunctionExpand,FunctionInterpolation,GaussKronrod,GaussPoints,% - GenerateBitmapCaches,GenerateConditions,GeneratedCell,GeneratedParameters,% - Generic,GetBoundingBoxSizePacket,GetContext,GetFileName,% - GetFrontEndOptionsDataPacket,GetLinebreakInformationPacket,% - GetMenusPacket,GetPageBreakInformationPacket,% - Glaisher,GlobalPreferences,GlobalSession,Gradient,% - GraphicsData,GraphicsGrouping,Gray,Green,% - Grid,GridBaseline,GridBox,GridBoxOptions,% - GridCreationSettings,GridDefaultElement,GridFrame,GridFrameMargins,% - GroupPageBreakWithin,HarmonicNumber,Hash,HashTable,% - HeadCompose,HelpBrowserLookup,HelpBrowserNotebook,HelpBrowserSettings,% - HessenbergDecomposition,Hessian,HoldAllComplete,HoldComplete,% - HoldPattern,Horizontal,HorizontalForm,HorizontalScrollPosition,% - HTMLSave,Hypergeometric0F1Regularized,Hypergeometric1F1Regularized,% - Hypergeometric2F1Regularized,% - HypergeometricPFQ,HypergeometricPFQRegularized,HyperlinkCreationSettings,Hyphenation,% - HyphenationOptions,IgnoreCase,ImageCache,ImageCacheValid,% - ImageMargins,ImageOffset,ImageRangeCache,ImageRegion,% - ImageResolution,ImageRotated,ImageSize,Import,% - ImportAutoReplacements,ImportString,IncludeFileExtension,IncludeSingularTerm,% - IndentingNewlineSpacings,IndentMaxFraction,IndexCreationOptions,Inequality,% - InexactNumberQ,InexactNumbers,Inherited,InitializationCell,% - InitializationCellEvaluation,InitializationCellWarning,% - InlineCounterAssignments,InlineCounterIncrements,% - InlineRules,InputAliases,InputAutoFormat,InputAutoReplacements,% - InputGrouping,InputNamePacket,InputNotebook,InputPacket,% - InputSettings,InputStringPacket,InputToBoxFormPacket,InputToInputForm,% - InputToStandardForm,InsertionPointObject,IntegerExponent,IntegerPart,% - Integers,Interactive,Interlaced,InterpolationOrder,% - InterpolationPoints,InterpolationPrecision,InterpretationBox,% - InterpretationBoxOptions,% - InterpretTemplate,InterruptSettings,Interval,IntervalIntersection,% - IntervalMemberQ,IntervalUnion,InverseBetaRegularized,InverseEllipticNomeQ,% - InverseErf,InverseErfc,InverseFourierCosTransform, - InverseFourierSinTransform,% - InverseFourierTransform,InverseGammaRegularized,InverseJacobiCD,% - InverseJacobiCN,% - InverseJacobiCS,InverseJacobiDC,InverseJacobiDN,InverseJacobiDS,% - InverseJacobiNC,InverseJacobiND,InverseJacobiNS,InverseJacobiSC,% - InverseJacobiSD,InverseLaplaceTransform,InverseWeierstrassP,InverseZTransform,% - Jacobian,JacobiCD,JacobiCN,JacobiCS,% - JacobiDC,JacobiDN,JacobiDS,JacobiNC,% - JacobiND,JacobiNS,JacobiSC,JacobiSD,% - JordanDecomposition,K,Khinchin,KleinInvariantJ,% - KroneckerDelta,Language,LanguageCategory,LaplaceTransform,% - Larger,Launch,LayoutInformation,Left,% - LetterCharacter,Lexicographic,LicenseID,LimitsPositioning,% - LimitsPositioningTokens,LinearSolveFunction,LinebreakAdjustments,LineBreakWithin,% - LineForm,LineIndent,LineSpacing,LineWrapParts,% - LinkActivate,LinkClose,LinkConnect,LinkConnectedQ,% - LinkCreate,LinkError,LinkFlush,LinkHost,% - LinkInterrupt,LinkLaunch,LinkMode,LinkObject,% - LinkOpen,LinkOptions,LinkPatterns,LinkProtocol,% - LinkRead,LinkReadHeld,LinkReadyQ,Links,% - LinkWrite,LinkWriteHeld,ListConvolve,ListCorrelate,% - Listen,ListInterpolation,ListQ,LiteralSearch,% - LongestMatch,LongForm,Loopback,LUBackSubstitution,% - LUDecomposition,MachineID,MachineName,MachinePrecision,% - MacintoshSystemPageSetup,Magenta,Magnification,MakeBoxes,% - MakeExpression,MakeRules,Manual,MatchLocalNameQ,% - MathematicaNotation,MathieuC,MathieuCharacteristicA,MathieuCharacteristicB,% - MathieuCharacteristicExponent,MathieuCPrime,MathieuS,MathieuSPrime,% - MathMLForm,MathMLText,MatrixRank,Maximize,% - MaxIterations,MaxPlotPoints,MaxPoints,MaxRecursion,% - MaxStepFraction,MaxSteps,MaxStepSize,Mean,% - Median,MeijerG,MenuPacket,MessageOptions,% - MessagePacket,MessagesNotebook,MetaCharacters,Method,% - MethodOptions,Minimize,MinRecursion,MinSize,% - Mode,ModularLambda,MonomialOrder,MonteCarlo,% - Most,MousePointerNote,MultiDimensional,MultilaunchWarning,% - MultilineFunction,MultiplicativeOrder,Multiplicity,Nand,% - NeedCurrentFrontEndPackagePacket,NeedCurrentFrontEndSymbolsPacket,% - NestedScriptRules,NestWhile,% - NestWhileList,NevilleThetaC,NevilleThetaD,NevilleThetaN,% - NevilleThetaS,Newton,Next,NHoldAll,% - NHoldFirst,NHoldRest,NMaximize,NMinimize,% - NonAssociative,NonPositive,Nor,Norm,% - NormalGrouping,NormalSelection,NormFunction,Notebook,% - NotebookApply,NotebookAutoSave,NotebookClose,NotebookConvert,% - NotebookConvertSettings,NotebookCreate,NotebookCreateReturnObject,NotebookDefault,% - NotebookDelete,NotebookDirectory,NotebookFind,NotebookFindReturnObject,% - NotebookGet,NotebookGetLayoutInformationPacket,NotebookGetMisspellingsPacket,% - NotebookInformation,% - NotebookLocate,NotebookObject,NotebookOpen,NotebookOpenReturnObject,% - NotebookPath,NotebookPrint,NotebookPut,NotebookPutReturnObject,% - NotebookRead,NotebookResetGeneratedCells,Notebooks,NotebookSave,% - NotebookSaveAs,NotebookSelection,NotebookSetupLayoutInformationPacket,% - NotebooksMenu,% - NotebookWrite,NotElement,NProductExtraFactors,NProductFactors,% - NRoots,NSumExtraTerms,NSumTerms,NumberMarks,% - NumberMultiplier,NumberString,NumericFunction,NumericQ,% - NValues,Offset,OLEData,OneStepRowReduction,% - Open,OpenFunctionInspectorPacket,OpenSpecialOptions,OptimizationLevel,% - OptionInspectorSettings,OptionQ,OptionsPacket,OptionValueBox,% - OptionValueBoxOptions,Orange,Ordering,Oscillatory,% - OutputAutoOverwrite,OutputFormData,OutputGrouping,OutputMathEditExpression,% - OutputNamePacket,OutputToOutputForm,OutputToStandardForm,Over,% - Overflow,Overlaps,Overscript,OverscriptBox,% - OverscriptBoxOptions,OwnValues,PadLeft,PadRight,% - PageBreakAbove,PageBreakBelow,PageBreakWithin,PageFooterLines,% - PageFooters,PageHeaderLines,PageHeaders,PalettePath,% - PaperWidth,ParagraphIndent,ParagraphSpacing,ParameterVariables,% - ParentConnect,ParentForm,Parenthesize,PasteBoxFormInlineCells,% - Path,PatternTest,PeriodicInterpolation,Pick,% - Piecewise,PiecewiseExpand,Pink,Pivoting,% - PixelConstrained,Placeholder,Plain,Plot3Matrix,% - PointForm,PolynomialForm,PolynomialReduce,Polynomials,% - PowerModList,Precedence,PreferencesPath,PreserveStyleSheet,% - Previous,PrimaryPlaceholder,Primes,PrincipalValue,% - PrintAction,PrintingCopies,PrintingOptions,PrintingPageRange,% - PrintingStartingPageNumber,PrintingStyleEnvironment,PrintPrecision,% - PrivateCellOptions,% - PrivateEvaluationOptions,PrivateFontOptions,PrivateNotebookOptions,PrivatePaths,% - ProductLog,PromptForm,Purple,Quantile,% - QuasiMonteCarlo,QuasiNewton,RadicalBox,RadicalBoxOptions,% - RandomSeed,RationalFunctions,Rationals,RawData,% - RawMedium,RealBlockForm,Reals,Reap,% - Red,Refine,Refresh,RegularExpression,% - Reinstall,Release,Removed,RenderingOptions,% - RepeatedString,ReplaceList,Rescale,ResetMenusPacket,% - Resolve,ResumePacket,ReturnExpressionPacket,ReturnInputFormPacket,% - ReturnPacket,ReturnTextPacket,Right,Root,% - RootReduce,RootSum,Row,RowAlignments,% - RowBox,RowLines,RowMinHeight,RowsEqual,% - RowSpacings,RSolve,RuleCondition,RuleForm,% - RulerUnits,Saveable,SaveAutoDelete,ScreenRectangle,% - ScreenStyleEnvironment,ScriptBaselineShifts,ScriptLevel,ScriptMinSize,% - ScriptRules,ScriptSizeMultipliers,ScrollingOptions,ScrollPosition,% - Second,SectionGrouping,Selectable,SelectedNotebook,% - Selection,SelectionAnimate,SelectionCell,SelectionCellCreateCell,% - SelectionCellDefaultStyle,SelectionCellParentStyle,SelectionCreateCell,% - SelectionDuplicateCell,% - SelectionEvaluate,SelectionEvaluateCreateCell,SelectionMove,SelectionSetStyle,% - SelectionStrategy,SendFontInformationToKernel,SequenceHold,SequenceLimit,% - SeriesCoefficient,SetBoxFormNamesPacket,SetEvaluationNotebook,% - SetFileLoadingContext,% - SetNotebookStatusLine,SetOptionsPacket,SetSelectedNotebook,% - SetSpeechParametersPacket,% - SetValue,ShortestMatch,ShowAutoStyles,ShowCellBracket,% - ShowCellLabel,ShowCellTags,ShowClosedCellArea,ShowContents,% - ShowCursorTracker,ShowGroupOpenCloseIcon,ShowPageBreaks,ShowSelection,% - ShowShortBoxForm,ShowSpecialCharacters,ShowStringCharacters,% - ShrinkWrapBoundingBox,% - SingleLetterItalics,SingularityDepth,SingularValueDecomposition,% - SingularValueList,% - SinhIntegral,Smaller,Socket,SolveDelayed,% - SoundAndGraphics,Sow,Space,SpaceForm,% - SpanAdjustments,SpanCharacterRounding,SpanLineThickness,SpanMaxSize,% - SpanMinSize,SpanningCharacters,SpanSymmetric,Sparse,% - SparseArray,SpeakTextPacket,SpellingDictionaries,SpellingDictionariesPath,% - SpellingOptions,SpellingSuggestionsPacket,Spherical,Split,% - SqrtBox,SqrtBoxOptions,StandardDeviation,StandardForm,% - StartingStepSize,StartOfLine,StartOfString,StartupSound,% - StepMonitor,StieltjesGamma,StoppingTest,StringCases,% - StringCount,StringExpression,StringFreeQ,StringQ,% - StringReplaceList,StringReplacePart,StringSplit,StripBoxes,% - StripWrapperBoxes,StructuredSelection,StruveH,StruveL,% - StyleBox,StyleBoxAutoDelete,StyleBoxOptions,StyleData,% - StyleDefinitions,StyleForm,StyleMenuListing,StyleNameDialogSettings,% - StylePrint,StyleSheetPath,Subresultants,SubscriptBox,% - SubscriptBoxOptions,Subsets,Subsuperscript,SubsuperscriptBox,% - SubsuperscriptBoxOptions,SubtractFrom,SubValues,SugarCube,% - SuperscriptBox,SuperscriptBoxOptions,SuspendPacket,SylvesterMatrix,% - SymbolName,Syntax,SyntaxForm,SyntaxPacket,% - SystemException,SystemHelpPath,SystemStub,Tab,% - TabFilling,TabSpacings,TagBox,TagBoxOptions,% - TaggingRules,TagStyle,TargetFunctions,TemporaryVariable,% - TensorQ,TeXSave,TextAlignment,TextBoundingBox,% - TextData,TextJustification,TextLine,TextPacket,% - TextParagraph,TextRendering,TextStyle,ThisLink,% - TimeConstraint,TimeVariable,TitleGrouping,ToBoxes,% - ToColor,ToFileName,Toggle,ToggleFalse,% - Tolerance,TooBig,Top,ToRadicals,% - Total,Tr,TraceAction,TraceInternal,% - TraceLevel,TraditionalForm,TraditionalFunctionNotation,TraditionalNotation,% - TraditionalOrder,TransformationFunctions,TransparentColor,Trapezoidal,% - TrigExpand,TrigFactor,TrigFactorList,TrigReduce,% - TrigToExp,Tuples,UnAlias,Underflow,% - Underoverscript,UnderoverscriptBox,UnderoverscriptBoxOptions,Underscript,% - UnderscriptBox,UnderscriptBoxOptions,UndocumentedTestFEParserPacket,% - UndocumentedTestGetSelectionPacket,% - UnitStep,Up,URL,Using,% - V2Get,Value,ValueBox,ValueBoxOptions,% - ValueForm,Variance,Verbatim,Verbose,% - VerboseConvertToPostScriptPacket,VerifyConvergence,VerifySolutions,Version,% - VersionNumber,Vertical,VerticalForm,ViewPointSelectorSettings,% - Visible,VisibleCell,WeierstrassHalfPeriods,WeierstrassInvariants,% - WeierstrassSigma,WeierstrassZeta,White,Whitespace,% - WhitespaceCharacter,WindowClickSelect,WindowElements,WindowFloating,% - WindowFrame,WindowFrameElements,WindowMargins,WindowMovable,% - WindowSize,WindowTitle,WindowToolbars,WindowWidth,% - WordBoundary,WordCharacter,WynnDegree,XMLElement},% - morendkeywords={$,$AddOnsDirectory,$AnimationDisplayFunction,% - $AnimationFunction,% - $Assumptions,$BaseDirectory,$BoxForms,$ByteOrdering,% - $CharacterEncoding,$ConditionHold,$CurrentLink,$DefaultPath,% - $ExportEncodings,$ExportFormats,$FormatType,$FrontEnd,% - $HistoryLength,$HomeDirectory,$ImportEncodings,$ImportFormats,% - $InitialDirectory,$InstallationDate,$InstallationDirectory,% - $InterfaceEnvironment,% - $LaunchDirectory,$LicenseExpirationDate,$LicenseID,$LicenseProcesses,% - $LicenseServer,$MachineDomain,$MaxExtraPrecision,$MaxLicenseProcesses,% - $MaxNumber,$MaxPiecewiseCases,$MaxPrecision,$MaxRootDegree,% - $MinNumber,$MinPrecision,$NetworkLicense,$NumberMarks,% - $Off,$OutputForms,$ParentLink,$ParentProcessID,% - $PasswordFile,$PathnameSeparator,$PreferencesDirectory,$PrintForms,% - $PrintLiteral,$ProcessID,$ProcessorType,$ProductInformation,% - $ProgramName,$PSDirectDisplay,$RandomState,$RasterFunction,% - $RootDirectory,$SetParentLink,$SoundDisplay,$SuppressInputFormHeads,% - $SystemCharacterEncoding,$SystemID,$TemporaryPrefix,$TextStyle,% - $TopDirectory,$TraceOff,$TraceOn,$TracePattern,% - $TracePostAction,$TracePreAction,$UserAddOnsDirectory,$UserBaseDirectory,% - $UserName,Constant,Flat,HoldAll,% - HoldAllComplete,HoldFirst,HoldRest,Listable,% - Locked,NHoldAll,NHoldFirst,NHoldRest,% - NumericFunction,OneIdentity,Orderless,Protected,% - ReadProtected,SequenceHold},% - }% +\lst@definelanguage[5.2]{Mathematica}[3.0]{Mathematica}{% + morekeywords={Above, AbsoluteOptions, AbsoluteTiming, AccountingForm,% + AccuracyGoal, Active, ActiveItem, AddOnHelpPath, AdjustmentBox,% + AdjustmentBoxOptions, After, AiryAiPrime, AlgebraicRulesData,% + Algebraics, Alias, AlignmentMarker, AllowInlineCells,% + AllowScriptLevelChange, Analytic, AnimationCycleOffset,% + AnimationCycleRepetitions, AnimationDirection, AnimationDisplayTime,% + ApartSquareFree, AppellF1, ArgumentCountQ, ArrayDepth, ArrayPlot,% + ArrayQ, ArrayRules, AspectRatioFixed, Assuming, Assumptions,% + AutoDelete, AutoEvaluateEvents, AutoGeneratedPackage, AutoIndent,% + AutoIndentSpacings, AutoItalicWords, AutoloadPath, AutoOpenNotebooks,% + AutoOpenPalettes, AutoScroll, AutoSpacing, AutoStyleOptions, Axis,% + BackgroundTasksSettings, Backsubstitution, Backward, Baseline, Before,% + BeginDialogPacket, BeginFrontEndInteractionPacket, Below, BezoutMatrix,% + BinaryFormat, BinaryGet, BinaryRead, BinaryReadList, BinaryWrite,% + BitAnd, BitNot, BitOr, BitXor, Black, BlankForm, Blue, Boole, Booleans,% + Bottom, Bounds, Box, BoxBaselineShift, BoxData, BoxDimensions,% + BoxFormFormatTypes, BoxFrame, BoxMargins, BoxRegion, Brown, Buchberger,% + Button, ButtonBox, ButtonBoxOptions, ButtonCell, ButtonContents,% + ButtonData, ButtonEvaluator, ButtonExpandable, ButtonFrame,% + ButtonFunction, ButtonMargins, ButtonMinHeight, ButtonNote,% + ButtonNotebook, ButtonSource, ButtonStyle, ButtonStyleMenuListing,% + ByteOrdering, CallPacket, CarmichaelLambda, Cell, CellAutoOverwrite,% + CellBaseline, CellBoundingBox, CellBracketOptions, CellContents,% + CellDingbat, CellEditDuplicate, CellElementsBoundingBox,% + CellElementSpacings, CellEvaluationDuplicate, CellFrame,% + CellFrameColor, CellFrameLabelMargins, CellFrameLabels,% + CellFrameMargins, CellGroup, CellGroupData, CellGrouping,% + CellGroupingRules, CellHorizontalScrolling, CellLabel,% + CellLabelAutoDelete, CellLabelMargins, CellLabelPositioning,% + CellMargins, CellObject, CellOpen, CellPasswords, CellPrint, CellSize,% + CellStyle, CellTags, CellularAutomaton, Center, CharacterEncoding,% + CharacterEncodingsPath, CharacteristicPolynomial, CharacterRange,% + CheckAll, CholeskyDecomposition, Clip, ClipboardNotebook, Closed,% + ClosingAutoSave, CoefficientArrays, CoefficientDomain,% + CofactorExpansion, ColonForm, ColorFunctionScaling, ColorRules,% + ColorSelectorSettings, Column, ColumnAlignments, ColumnLines,% + ColumnsEqual, ColumnSpacings, ColumnWidths, CommonDefaultFormatTypes,% + CompileOptimizations, CompletionsListPacket, Complexes,% + ComplexityFunction, Compose, ComposeSeries, ConfigurationPath,% + ConjugateTranspose, Connect, ConsoleMessage, ConsoleMessagePacket,% + ConsolePrint, ContentsBoundingBox, ContextToFileName,% + ContinuedFraction, ConversionOptions, ConversionRules,% + ConvertToBitmapPacket, ConvertToPostScript, ConvertToPostScriptPacket,% + Copyable, CoshIntegral, CounterAssignments, CounterBox,% + CounterBoxOptions, CounterEvaluator, CounterFunction,% + CounterIncrements, CounterStyle, CounterStyleMenuListing,% + CreatePalettePacket, Cross, CurrentlySpeakingPacket, Cyan,% + CylindricalDecomposition, DampingFactor, DataRange, Debug, DebugTag,% + Decimal, DedekindEta, DefaultDuplicateCellStyle, DefaultFontProperties,% + DefaultFormatType, DefaultFormatTypeForStyle, DefaultInlineFormatType,% + DefaultInputFormatType, DefaultNaturalLanguage, DefaultNewCellStyle,% + DefaultNewInlineCellStyle, DefaultNotebook, DefaultOutputFormatType,% + DefaultStyleDefinitions, DefaultTextFormatType,% + DefaultTextInlineFormatType, DefaultValues, DefineExternal,% + DegreeLexicographic, DegreeReverseLexicographic, Deletable,% + DeleteContents, DeletionWarning, DelimiterFlashTime, DelimiterMatching,% + Delimiters, DependentVariables, DiacriticalPositioning, DialogLevel,% + DifferenceOrder, DigitCharacter, DigitCount, DiracDelta, Direction,% + DirectoryName, DisableConsolePrintPacket, DiscreteDelta,% + DisplayAnimation, DisplayEndPacket, DisplayFlushImagePacket,% + DisplayForm, DisplayPacket, DisplayRules, DisplaySetSizePacket,% + DisplayString, DivisionFreeRowReduction, DOSTextFormat,% + DoubleExponential, DoublyInfinite, Down, DragAndDrop, DrawHighlighted,% + DualLinearProgramming, DumpGet, DumpSave, Edit, Editable,% + EditButtonSettings, EditCellTagsSettings, EditDefinition, EditIn,% + Element, EliminationOrder, EllipticExpPrime, EllipticNomeQ,% + EllipticReducedHalfPeriods, EllipticThetaPrime, Empty,% + EnableConsolePrintPacket, Encoding, EndAdd, EndDialogPacket,% + EndFrontEndInteractionPacket, EndOfLine, EndOfString, Enter,% + EnterExpressionPacket, EnterTextPacket, EqualColumns, EqualRows,% + EquatedTo, Erfi, ErrorBox, ErrorBoxOptions, ErrorNorm, ErrorPacket,% + ErrorsDialogSettings, Evaluatable, EvaluatePacket, EvaluationCell,% + EvaluationCompletionAction, EvaluationMonitor, EvaluationNotebook,% + Evaluator, EvaluatorNames, EventEvaluator, ExactNumberQ,% + ExactRootIsolation, Except, ExcludedForms, Exists, ExitDialog,% + ExponentPosition, ExponentStep, Export, ExportAutoReplacements,% + ExportPacket, ExportString, ExpressionPacket, ExpToTrig, Extension,% + ExternalCall, ExternalDataCharacterEncoding, Extract, Fail,% + FEDisableConsolePrintPacket, FEEnableConsolePrintPacket, Fibonacci,% + File, FileFormat, FileInformation, FileName, FileNameDialogSettings,% + FindFit, FindInstance, FindMaximum, FindSettings, FitAll,% + FlushPrintOutputPacket, Font, FontColor, FontFamily, FontName,% + FontPostScriptName, FontProperties, FontReencoding, FontSize,% + FontSlant, FontSubstitutions, FontTracking, FontVariations, FontWeight,% + ForAll, FormatRules, FormatTypeAutoConvert, FormatValues, FormBox,% + FormBoxOptions, Forward, ForwardBackward, FourierCosTransform,% + FourierParameters, FourierSinTransform, FourierTransform,% + FractionalPart, FractionBox, FractionBoxOptions, FractionLine,% + FrameBox, FrameBoxOptions, FresnelC, FresnelS, FromContinuedFraction,% + FromDigits, FrontEndExecute, FrontEndObject, FrontEndStackSize,% + FrontEndToken, FrontEndTokenExecute, FrontEndVersion, Full, FullAxes,% + FullSimplify, FunctionExpand, FunctionInterpolation, GaussKronrod,% + GaussPoints, GenerateBitmapCaches, GenerateConditions, GeneratedCell,% + GeneratedParameters, Generic, GetBoundingBoxSizePacket, GetContext,% + GetFileName, GetFrontEndOptionsDataPacket,% + GetLinebreakInformationPacket, GetMenusPacket,% + GetPageBreakInformationPacket, Glaisher, GlobalPreferences,% + GlobalSession, Gradient, GraphicsData, GraphicsGrouping, Gray, Green,% + Grid, GridBaseline, GridBox, GridBoxOptions, GridCreationSettings,% + GridDefaultElement, GridFrame, GridFrameMargins, GroupPageBreakWithin,% + HarmonicNumber, Hash, HashTable, HeadCompose, HelpBrowserLookup,% + HelpBrowserNotebook, HelpBrowserSettings, HessenbergDecomposition,% + Hessian, HoldAllComplete, HoldComplete, HoldPattern, Horizontal,% + HorizontalForm, HorizontalScrollPosition, HTMLSave,% + Hypergeometric0F1Regularized, Hypergeometric1F1Regularized,% + Hypergeometric2F1Regularized, HypergeometricPFQ,% + HypergeometricPFQRegularized, HyperlinkCreationSettings, Hyphenation,% + HyphenationOptions, IgnoreCase, ImageCache, ImageCacheValid,% + ImageMargins, ImageOffset, ImageRangeCache, ImageRegion,% + ImageResolution, ImageRotated, ImageSize, Import,% + ImportAutoReplacements, ImportString, IncludeFileExtension,% + IncludeSingularTerm, IndentingNewlineSpacings, IndentMaxFraction,% + IndexCreationOptions, Inequality, InexactNumberQ, InexactNumbers,% + Inherited, InitializationCell, InitializationCellEvaluation,% + InitializationCellWarning, InlineCounterAssignments,% + InlineCounterIncrements, InlineRules, InputAliases, InputAutoFormat,% + InputAutoReplacements, InputGrouping, InputNamePacket, InputNotebook,% + InputPacket, InputSettings, InputStringPacket, InputToBoxFormPacket,% + InputToInputForm, InputToStandardForm, InsertionPointObject,% + IntegerExponent, IntegerPart, Integers, Interactive, Interlaced,% + InterpolationOrder, InterpolationPoints, InterpolationPrecision,% + InterpretationBox, InterpretationBoxOptions, InterpretTemplate,% + InterruptSettings, Interval, IntervalIntersection, IntervalMemberQ,% + IntervalUnion, InverseBetaRegularized, InverseEllipticNomeQ,% + InverseErf, InverseErfc, InverseFourierCosTransform,% + InverseFourierSinTransform, InverseFourierTransform,% + InverseGammaRegularized, InverseJacobiCD, InverseJacobiCN,% + InverseJacobiCS, InverseJacobiDC, InverseJacobiDN, InverseJacobiDS,% + InverseJacobiNC, InverseJacobiND, InverseJacobiNS, InverseJacobiSC,% + InverseJacobiSD, InverseLaplaceTransform, InverseWeierstrassP,% + InverseZTransform, Jacobian, JacobiCD, JacobiCN, JacobiCS, JacobiDC,% + JacobiDN, JacobiDS, JacobiNC, JacobiND, JacobiNS, JacobiSC, JacobiSD,% + JordanDecomposition, K, Khinchin, KleinInvariantJ, KroneckerDelta,% + Language, LanguageCategory, LaplaceTransform, Larger, Launch,% + LayoutInformation, Left, LetterCharacter, Lexicographic, LicenseID,% + LimitsPositioning, LimitsPositioningTokens, LinearSolveFunction,% + LinebreakAdjustments, LineBreakWithin, LineForm, LineIndent,% + LineSpacing, LineWrapParts, LinkActivate, LinkClose, LinkConnect,% + LinkConnectedQ, LinkCreate, LinkError, LinkFlush, LinkHost,% + LinkInterrupt, LinkLaunch, LinkMode, LinkObject, LinkOpen, LinkOptions,% + LinkPatterns, LinkProtocol, LinkRead, LinkReadHeld, LinkReadyQ, Links,% + LinkWrite, LinkWriteHeld, ListConvolve, ListCorrelate, Listen,% + ListInterpolation, ListQ, LiteralSearch, LongestMatch, LongForm,% + Loopback, LUBackSubstitution, LUDecomposition, MachineID, MachineName,% + MachinePrecision, MacintoshSystemPageSetup, Magenta, Magnification,% + MakeBoxes, MakeExpression, MakeRules, Manual, MatchLocalNameQ,% + MathematicaNotation, MathieuC, MathieuCharacteristicA,% + MathieuCharacteristicB, MathieuCharacteristicExponent, MathieuCPrime,% + MathieuS, MathieuSPrime, MathMLForm, MathMLText, MatrixRank, Maximize,% + MaxIterations, MaxPlotPoints, MaxPoints, MaxRecursion, MaxStepFraction,% + MaxSteps, MaxStepSize, Mean, Median, MeijerG, MenuPacket,% + MessageOptions, MessagePacket, MessagesNotebook, MetaCharacters,% + Method, MethodOptions, Minimize, MinRecursion, MinSize, Mode,% + ModularLambda, MonomialOrder, MonteCarlo, Most, MousePointerNote,% + MultiDimensional, MultilaunchWarning, MultilineFunction,% + MultiplicativeOrder, Multiplicity, Nand,% + NeedCurrentFrontEndPackagePacket, NeedCurrentFrontEndSymbolsPacket,% + NestedScriptRules, NestWhile, NestWhileList, NevilleThetaC,% + NevilleThetaD, NevilleThetaN, NevilleThetaS, Newton, Next, NHoldAll,% + NHoldFirst, NHoldRest, NMaximize, NMinimize, NonAssociative,% + NonPositive, Nor, Norm, NormalGrouping, NormalSelection, NormFunction,% + Notebook, NotebookApply, NotebookAutoSave, NotebookClose,% + NotebookConvert, NotebookConvertSettings, NotebookCreate,% + NotebookCreateReturnObject, NotebookDefault, NotebookDelete,% + NotebookDirectory, NotebookFind, NotebookFindReturnObject, NotebookGet,% + NotebookGetLayoutInformationPacket, NotebookGetMisspellingsPacket,% + NotebookInformation, NotebookLocate, NotebookObject, NotebookOpen,% + NotebookOpenReturnObject, NotebookPath, NotebookPrint, NotebookPut,% + NotebookPutReturnObject, NotebookRead, NotebookResetGeneratedCells,% + Notebooks, NotebookSave, NotebookSaveAs, NotebookSelection,% + NotebookSetupLayoutInformationPacket, NotebooksMenu, NotebookWrite,% + NotElement, NProductExtraFactors, NProductFactors, NRoots,% + NSumExtraTerms, NSumTerms, NumberMarks, NumberMultiplier, NumberString,% + NumericFunction, NumericQ, NValues, Offset, OLEData,% + OneStepRowReduction, Open, OpenFunctionInspectorPacket,% + OpenSpecialOptions, OptimizationLevel, OptionInspectorSettings,% + OptionQ, OptionsPacket, OptionValueBox, OptionValueBoxOptions, Orange,% + Ordering, Oscillatory, OutputAutoOverwrite, OutputFormData,% + OutputGrouping, OutputMathEditExpression, OutputNamePacket,% + OutputToOutputForm, OutputToStandardForm, Over, Overflow, Overlaps,% + Overscript, OverscriptBox, OverscriptBoxOptions, OwnValues, PadLeft,% + PadRight, PageBreakAbove, PageBreakBelow, PageBreakWithin,% + PageFooterLines, PageFooters, PageHeaderLines, PageHeaders,% + PalettePath, PaperWidth, ParagraphIndent, ParagraphSpacing,% + ParameterVariables, ParentConnect, ParentForm, Parenthesize,% + PasteBoxFormInlineCells, Path, PatternTest, PeriodicInterpolation,% + Pick, Piecewise, PiecewiseExpand, Pink, Pivoting, PixelConstrained,% + Placeholder, Plain, Plot3Matrix, PointForm, PolynomialForm,% + PolynomialReduce, Polynomials, PowerModList, Precedence,% + PreferencesPath, PreserveStyleSheet, Previous, PrimaryPlaceholder,% + Primes, PrincipalValue, PrintAction, PrintingCopies, PrintingOptions,% + PrintingPageRange, PrintingStartingPageNumber,% + PrintingStyleEnvironment, PrintPrecision, PrivateCellOptions,% + PrivateEvaluationOptions, PrivateFontOptions, PrivateNotebookOptions,% + PrivatePaths, ProductLog, PromptForm, Purple, Quantile,% + QuasiMonteCarlo, QuasiNewton, RadicalBox, RadicalBoxOptions,% + RandomSeed, RationalFunctions, Rationals, RawData, RawMedium,% + RealBlockForm, Reals, Reap, Red, Refine, Refresh, RegularExpression,% + Reinstall, Release, Removed, RenderingOptions, RepeatedString,% + ReplaceList, Rescale, ResetMenusPacket, Resolve, ResumePacket,% + ReturnExpressionPacket, ReturnInputFormPacket, ReturnPacket,% + ReturnTextPacket, Right, Root, RootReduce, RootSum, Row, RowAlignments,% + RowBox, RowLines, RowMinHeight, RowsEqual, RowSpacings, RSolve,% + RuleCondition, RuleForm, RulerUnits, Saveable, SaveAutoDelete,% + ScreenRectangle, ScreenStyleEnvironment, ScriptBaselineShifts,% + ScriptLevel, ScriptMinSize, ScriptRules, ScriptSizeMultipliers,% + ScrollingOptions, ScrollPosition, Second, SectionGrouping, Selectable,% + SelectedNotebook, Selection, SelectionAnimate, SelectionCell,% + SelectionCellCreateCell, SelectionCellDefaultStyle,% + SelectionCellParentStyle, SelectionCreateCell, SelectionDuplicateCell,% + SelectionEvaluate, SelectionEvaluateCreateCell, SelectionMove,% + SelectionSetStyle, SelectionStrategy, SendFontInformationToKernel,% + SequenceHold, SequenceLimit, SeriesCoefficient, SetBoxFormNamesPacket,% + SetEvaluationNotebook, SetFileLoadingContext, SetNotebookStatusLine,% + SetOptionsPacket, SetSelectedNotebook, SetSpeechParametersPacket,% + SetValue, ShortestMatch, ShowAutoStyles, ShowCellBracket,% + ShowCellLabel, ShowCellTags, ShowClosedCellArea, ShowContents,% + ShowCursorTracker, ShowGroupOpenCloseIcon, ShowPageBreaks,% + ShowSelection, ShowShortBoxForm, ShowSpecialCharacters,% + ShowStringCharacters, ShrinkWrapBoundingBox, SingleLetterItalics,% + SingularityDepth, SingularValueDecomposition, SingularValueList,% + SinhIntegral, Smaller, Socket, SolveDelayed, SoundAndGraphics, Sow,% + Space, SpaceForm, SpanAdjustments, SpanCharacterRounding,% + SpanLineThickness, SpanMaxSize, SpanMinSize, SpanningCharacters,% + SpanSymmetric, Sparse, SparseArray, SpeakTextPacket,% + SpellingDictionaries, SpellingDictionariesPath, SpellingOptions,% + SpellingSuggestionsPacket, Spherical, Split, SqrtBox, SqrtBoxOptions,% + StandardDeviation, StandardForm, StartingStepSize, StartOfLine,% + StartOfString, StartupSound, StepMonitor, StieltjesGamma, StoppingTest,% + StringCases, StringCount, StringExpression, StringFreeQ, StringQ,% + StringReplaceList, StringReplacePart, StringSplit, StripBoxes,% + StripWrapperBoxes, StructuredSelection, StruveH, StruveL, StyleBox,% + StyleBoxAutoDelete, StyleBoxOptions, StyleData, StyleDefinitions,% + StyleForm, StyleMenuListing, StyleNameDialogSettings, StylePrint,% + StyleSheetPath, Subresultants, SubscriptBox, SubscriptBoxOptions,% + Subsets, Subsuperscript, SubsuperscriptBox, SubsuperscriptBoxOptions,% + SubtractFrom, SubValues, SugarCube, SuperscriptBox,% + SuperscriptBoxOptions, SuspendPacket, SylvesterMatrix, SymbolName,% + Syntax, SyntaxForm, SyntaxPacket, SystemException, SystemHelpPath,% + SystemStub, Tab, TabFilling, TabSpacings, TagBox, TagBoxOptions,% + TaggingRules, TagStyle, TargetFunctions, TemporaryVariable, TensorQ,% + TeXSave, TextAlignment, TextBoundingBox, TextData, TextJustification,% + TextLine, TextPacket, TextParagraph, TextRendering, TextStyle,% + ThisLink, TimeConstraint, TimeVariable, TitleGrouping, ToBoxes,% + ToColor, ToFileName, Toggle, ToggleFalse, Tolerance, TooBig, Top,% + ToRadicals, Total, Tr, TraceAction, TraceInternal, TraceLevel,% + TraditionalForm, TraditionalFunctionNotation, TraditionalNotation,% + TraditionalOrder, TransformationFunctions, TransparentColor,% + Trapezoidal, TrigExpand, TrigFactor, TrigFactorList, TrigReduce,% + TrigToExp, Tuples, UnAlias, Underflow, Underoverscript,% + UnderoverscriptBox, UnderoverscriptBoxOptions, Underscript,% + UnderscriptBox, UnderscriptBoxOptions, UndocumentedTestFEParserPacket,% + UndocumentedTestGetSelectionPacket, UnitStep, Up, URL, Using, V2Get,% + Value, ValueBox, ValueBoxOptions, ValueForm, Variance, Verbatim,% + Verbose, VerboseConvertToPostScriptPacket, VerifyConvergence,% + VerifySolutions, Version, VersionNumber, Vertical, VerticalForm,% + ViewPointSelectorSettings, Visible, VisibleCell,% + WeierstrassHalfPeriods, WeierstrassInvariants, WeierstrassSigma,% + WeierstrassZeta, White, Whitespace, WhitespaceCharacter,% + WindowClickSelect, WindowElements, WindowFloating, WindowFrame,% + WindowFrameElements, WindowMargins, WindowMovable, WindowSize,% + WindowTitle, WindowToolbars, WindowWidth, WordBoundary, WordCharacter,% + WynnDegree, XMLElement},% + morendkeywords={$,$AddOnsDirectory,$AnimationDisplayFunction,% + $AnimationFunction,% + $Assumptions,$BaseDirectory,$BoxForms,$ByteOrdering,% + $CharacterEncoding,$ConditionHold,$CurrentLink,$DefaultPath,% + $ExportEncodings,$ExportFormats,$FormatType,$FrontEnd,% + $HistoryLength,$HomeDirectory,$ImportEncodings,$ImportFormats,% + $InitialDirectory,$InstallationDate,$InstallationDirectory,% + $InterfaceEnvironment,% + $LaunchDirectory,$LicenseExpirationDate,$LicenseID,$LicenseProcesses,% + $LicenseServer,$MachineDomain,$MaxExtraPrecision,$MaxLicenseProcesses,% + $MaxNumber,$MaxPiecewiseCases,$MaxPrecision,$MaxRootDegree,% + $MinNumber,$MinPrecision,$NetworkLicense,$NumberMarks,% + $Off,$OutputForms,$ParentLink,$ParentProcessID,% + $PasswordFile,$PathnameSeparator,$PreferencesDirectory,$PrintForms,% + $PrintLiteral,$ProcessID,$ProcessorType,$ProductInformation,% + $ProgramName,$PSDirectDisplay,$RandomState,$RasterFunction,% + $RootDirectory,$SetParentLink,$SoundDisplay,$SuppressInputFormHeads,% + $SystemCharacterEncoding,$SystemID,$TemporaryPrefix,$TextStyle,% + $TopDirectory,$TraceOff,$TraceOn,$TracePattern,% + $TracePostAction,$TracePreAction,$UserAddOnsDirectory,$UserBaseDirectory,% + $UserName,Constant,Flat,HoldAll,% + HoldAllComplete,HoldFirst,HoldRest,Listable,% + Locked,NHoldAll,NHoldFirst,NHoldRest,% + NumericFunction,OneIdentity,Orderless,Protected,% + ReadProtected,SequenceHold},% +}% % \end{macrocode} %^^A $ to make emacs font locking happy % \begin{macrocode} @@ -6253,10 +6302,10 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % This definition is based on chapter 7 of the OMG UML standard version 1.3: % \begin{itemize} % \item -% \textsc{OMG}: -% \textbf{OMG Unified Modeling Language Specification}; -% {\copyright} 1999 OMG; -% Available at \texttt{ftp://ftp.omg.org/pub/docs/ad/99-06-08.pdf}. +% \textsc{OMG}: +% \textbf{OMG Unified Modeling Language Specification}; +% {\copyright} 1999 OMG; +% Available at \texttt{ftp://ftp.omg.org/pub/docs/ad/99-06-08.pdf}. % \end{itemize}% % This language is due to \lstthanks{Achim~D.~Brucker} % {brucker@informatik.uni-freiburg.de}{2000/08/14}. @@ -6335,8 +6384,9 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % \begin{macrocode} %<*lang1> % \end{macrocode} -% As you can read below the definition is due to \lstthanks{Ulrich~G.~Wortmann} -% {uliw@erdw.ethz.ch}{2002/02/18}{}. Additions due to \lstthanks{Sebastian~% +% As you can read below the definition is due to +% \lstthanks{Ulrich~G.~Wortmann} {uliw@erdw.ethz.ch}{2002/02/18}{}. +% Additions due to \lstthanks{Sebastian~% % Schubert}{-}{2006/05/11}. % \begin{macrocode} %% @@ -6464,9 +6514,9 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % \begin{macrocode} %<*lang1> % \end{macrocode} -% Thanks to \lsthelper{Andreas Stephan}{Andreas.Stephan@victoria.de}{1998/04/07} -% {alpha, byte, pack, unpack} for reporting non-keywords alpha, byte, pack and -% unpack. +% Thanks to \lsthelper{Andreas Stephan}{Andreas.Stephan@victoria.de}% +% {1998/04/07}{alpha, byte, pack, unpack} for reporting non-keywords alpha, +% byte, pack and unpack. % \begin{macrocode} \lst@definelanguage[XSC]{Pascal}[Standard]{Pascal} {deletekeywords={alfa,byte,pack,unpack},% 1998 Andreas Stephan @@ -7292,23 +7342,24 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% %<*lang3> % \end{macrocode} % \begin{macrocode} -\lst@definelanguage{PL/I}% - {morekeywords={ABS,ATAN,AUTOMATIC,AUTO,ATAND,BEGIN,BINARY,BIN,BIT,% - BUILTIN,BY,CALL,CHARACTER,CHAR,CHECK,COLUMN,COL,COMPLEX,CPLX,% - COPY,COS,COSD,COSH,DATA,DATE,DECIMAL,DEC,DECLARE,DCL,DO,EDIT,% - ELSE,END,ENDFILE,ENDPAGE,ENTRY,EXP,EXTERNAL,EXT,FINISH,FIXED,% - FIXEDOVERFLOW,FOFL,FLOAT,FORMAT,GET,GO,GOTO,IF,IMAG,INDEX,% - INITIAL,INIT,INTERNAL,INT,LABEL,LENGTH,LIKE,LINE,LIST,LOG,LOG2,% - LOG10,MAIN,MAX,MIN,MOD,NOCHECK,NOFIXEDOVERFLOW,NOFOFL,NOOVERFLOW,% - NOOFL,NOSIZE,NOUNDERFLOW,NOUFL,NOZERODIVIDE,NOZDIV,ON,OPTIONS,% - OVERFLOW,OFL,PAGE,PICTURE,PROCEDURE,PROC,PUT,READ,REPEAT,RETURN,% - RETURNS,ROUND,SIN,SIND,SINH,SIZE,SKIP,SQRT,STATIC,STOP,STRING,% - SUBSTR,SUM,SYSIN,SYSPRINT,TAN,TAND,TANH,THEN,TO,UNDERFLOW,UFL,% - VARYING,WHILE,WRITE,ZERODIVIDE,ZDIV},% - sensitive=f,% - morecomment=[s]{/*}{*/},% - morestring=[d]'% - }[keywords,comments,strings]% +\lst@definelanguage{PL/I}{% + morekeywords={ABS, ATAN, AUTOMATIC, AUTO, ATAND, BEGIN, BINARY, BIN, BIT,% + BUILTIN, BY, CALL, CHARACTER, CHAR, CHECK, COLUMN, COL, COMPLEX, CPLX,% + COPY, COS, COSD, COSH, DATA, DATE, DECIMAL, DEC, DECLARE, DCL, DO,% + EDIT, ELSE, END, ENDFILE, ENDPAGE, ENTRY, EXP, EXTERNAL, EXT, FINISH,% + FIXED, FIXEDOVERFLOW, FOFL, FLOAT, FORMAT, GET, GO, GOTO, IF, IMAG,% + INDEX, INITIAL, INIT, INTERNAL, INT, LABEL, LENGTH, LIKE, LINE, LIST,% + LOG, LOG2, LOG10, MAIN, MAX, MIN, MOD, NOCHECK, NOFIXEDOVERFLOW,% + NOFOFL, NOOVERFLOW, NOOFL, NOSIZE, NOUNDERFLOW, NOUFL, NOZERODIVIDE,% + NOZDIV, ON, OPTIONS, OVERFLOW, OFL, PAGE, PICTURE, PROCEDURE, PROC,% + PUT, READ, REPEAT, RETURN, RETURNS, ROUND, SIN, SIND, SINH, SIZE, SKIP,% + SQRT, STATIC, STOP, STRING, SUBSTR, SUM, SYSIN, SYSPRINT, TAN, TAND,% + TANH, THEN, TO, UNDERFLOW, UFL, VARYING, WHILE, WRITE, ZERODIVIDE,% + ZDIV},% + sensitive=f,% + morecomment=[s]{/*}{*/},% + morestring=[d]'% +}[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} %</lang3> @@ -7319,7 +7370,8 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % \subsection{PostScript} % % Herbert Voss provided the following definition, written by -% \lstthanks{Christophe~Jorssen}{}{2004/09/17} provided the following definition. +% \lstthanks{Christophe~Jorssen}{}{2004/09/17} provided the following +% definition. % % \begingroup % \begin{macrocode} @@ -7330,57 +7382,64 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% %% PostScript language definition (c) 2005 Christophe Jorssen. %% \lst@definelanguage{PostScript}{% - morekeywords={abs,add,aload,anchorsearch,and,arc,arcn,arct,arcto,array,ashow, - astore,atan,awidthshow,begin,bind,bitshift,bytesavailable,cachestatus, - ceiling,charpath,clear,cleartomark,cleardictstack,clip,clippath,closefile, - closepath,colorimage,concat,concatmatrix,condition,copy,copypage,cos,count, - countdictstack,countexecstack,counttomark,cshow,currentblackgeneration, - currentcacheparams,currentcmykcolor,currentcolor,currentcolorrendering, - currentcolorscreen,currentcolorspace,currentcolortransfer,currentcontext, - currentdash,currentdevparams,currentdict,currentfile,currentflat,currentfont, - currentglobal,currentgray,currentgstate,currenthalftone,currenthalftonephase, - currenthsbcolor,currentlinecap,currentlinejoin,currentlinewidth,currentmatrix, - currentmiterlimit,currentobjectformat,currentpacking,currentpagedevice, - currentpoint,currentrgbcolor,currentscreen,currentshared,currentstrokeadjust, - currentsystemparams,currenttransfer,currentundercolorremoval,currentuserparams, - curveto,cvi,cvlit,cvn,cvr,cvrs,cvs,cvx,def,defaultmatrix,definefont, - defineresource,defineusername,defineuserobject,deletefile,detach,deviceinfo, - dict,dictstack,div,dtransform,dup, - echo,eexec,end,eoclip,eofill,eoviewclip,eq,erasepage,errordict,exch,exec, - execform,execstack,execuserobject,executeonly,executive,exit, - exp,false,file,filenameforall,fileposition,fill,filter,findencoding,findfont, - findresource,flattenpath,floor,flush,flushfile,FontDirectory,for,forall,fork,ge, - get,getinterval,globaldict,GlobalFontDirectory,glyphshow,grestore,grestoreall, - gsave,gstate,gt,identmatrix,idiv,idtransform,if,ifelse,image, - imagemask,index,ineofill,infill,initclip,initgraphics,initmatrix,initviewclip, - instroke,internaldict,inueofill,inufill,inustroke, - invertmatrix,ISOLatin1Encoding,itransform,join,kshow, - known,languagelevel,le,length,lineto,ln,load,lock,log,loop,lt, - makefont,makepattern,mark,matrix,maxlength,mod,monitor,moveto,mul,ne,neg, - newpath,noaccess,not,notify,null,nulldevice,or,packedarray, - pathbbox,pathforall,pop,print,printobject,product,prompt,pstack,put,putinterval, - quit,rand,rcurveto,read,readhexstring,readline,readonly,readstring, - realtime,rectclip,rectfill,rectstroke,rectviewclip,renamefile,repeat,resetfile, - resourceforall,resourcestatus,restore,reversepath,revision,rlineto,rmoveto,roll, - rootfont,rotate,round,rrand,run,save,scale,scalefont,scheck,search,selectfont, - serialnumber,setbbox,setblackgeneration,setcachedevice,setcachedevice2, - setcachelimit,setcacheparams,setcharwidth,setcmykcolor,setcolor, - setcolorrendering,setcolorscreen,setcolorspace,setcolortransfer,setdash, - setdevparams,setfileposition,setflat,setfont,setglobal,setgray,setgstate, - sethalftone,sethalftonephase,sethsbcolor,setlinecap,setlinejoin,setlinewidth, - setmatrix,setmiterlimit,setobjectformat,setoverprint,setpacking,setpagedevice, - setpattern,setrgbcolor,setscreen,setshared,setstrokeadjust,setsystemparams, - settransfer,setucacheparams,setundercolorremoval,setuserparams,setvmthreshold, - shareddict,show,showpage,sin,sqrt,srand,stack, - StandardEncoding,start,startjob,status,statusdict,stop,stopped,store,string, - stringwidth,stroke,strokepath,sub,systemdict,transform, - translate,true,truncate,type,token,uappend,ucache,ucachestatus, - ueofill,ufill,undef, - upath,userdict,UserObjects, - usertime,ustroke,ustrokepath,version,viewclip,viewclippath,vmreclaim, - vmstatus,wait,wcheck,where,widthshow,write,writehexstring,writeobject, - writestring,wtranslation,xcheck,xor,xshow,xyshow,yield,yshow}, - sensitive, + morekeywords={abs, add, aload, anchorsearch, and, arc, arcn, arct, arcto,% + array, ashow, astore, atan, awidthshow, begin, bind, bitshift,% + bytesavailable, cachestatus, ceiling, charpath, clear, cleartomark,% + cleardictstack, clip, clippath, closefile, closepath, colorimage,% + concat, concatmatrix, condition, copy, copypage, cos, count,% + countdictstack, countexecstack, counttomark, cshow,% + currentblackgeneration, currentcacheparams, currentcmykcolor,% + currentcolor, currentcolorrendering, currentcolorscreen,% + currentcolorspace, currentcolortransfer, currentcontext, currentdash,% + currentdevparams, currentdict, currentfile, currentflat, currentfont,% + currentglobal, currentgray, currentgstate, currenthalftone,% + currenthalftonephase, currenthsbcolor, currentlinecap, currentlinejoin,% + currentlinewidth, currentmatrix, currentmiterlimit,% + currentobjectformat, currentpacking, currentpagedevice, currentpoint,% + currentrgbcolor, currentscreen, currentshared, currentstrokeadjust,% + currentsystemparams, currenttransfer, currentundercolorremoval,% + currentuserparams, curveto, cvi, cvlit, cvn, cvr, cvrs, cvs, cvx, def,% + defaultmatrix, definefont, defineresource, defineusername,% + defineuserobject, deletefile, detach, deviceinfo, dict, dictstack, div,% + dtransform, dup, echo, eexec, end, eoclip, eofill, eoviewclip, eq,% + erasepage, errordict, exch, exec, execform, execstack, execuserobject,% + executeonly, executive, exit, exp, false, file, filenameforall,% + fileposition, fill, filter, findencoding, findfont, findresource,% + flattenpath, floor, flush, flushfile, FontDirectory, for, forall, fork,% + ge, get, getinterval, globaldict, GlobalFontDirectory, glyphshow,% + grestore, grestoreall, gsave, gstate, gt, identmatrix, idiv,% + idtransform, if, ifelse, image, imagemask, index, ineofill, infill,% + initclip, initgraphics, initmatrix, initviewclip, instroke,% + internaldict, inueofill, inufill, inustroke, invertmatrix,% + ISOLatin1Encoding, itransform, join, kshow, known, languagelevel, le,% + length, lineto, ln, load, lock, log, loop, lt, makefont, makepattern,% + mark, matrix, maxlength, mod, monitor, moveto, mul, ne, neg, newpath,% + noaccess, not, notify, null, nulldevice, or, packedarray, pathbbox,% + pathforall, pop, print, printobject, product, prompt, pstack, put,% + putinterval, quit, rand, rcurveto, read, readhexstring, readline,% + readonly, readstring, realtime, rectclip, rectfill, rectstroke,% + rectviewclip, renamefile, repeat, resetfile, resourceforall,% + resourcestatus, restore, reversepath, revision, rlineto, rmoveto, roll,% + rootfont, rotate, round, rrand, run, save, scale, scalefont, scheck,% + search, selectfont, serialnumber, setbbox, setblackgeneration,% + setcachedevice, setcachedevice2, setcachelimit, setcacheparams,% + setcharwidth, setcmykcolor, setcolor, setcolorrendering,% + setcolorscreen, setcolorspace, setcolortransfer, setdash, setdevparams,% + setfileposition, setflat, setfont, setglobal, setgray, setgstate,% + sethalftone, sethalftonephase, sethsbcolor, setlinecap, setlinejoin,% + setlinewidth, setmatrix, setmiterlimit, setobjectformat, setoverprint,% + setpacking, setpagedevice, setpattern, setrgbcolor, setscreen,% + setshared, setstrokeadjust, setsystemparams, settransfer,% + setucacheparams, setundercolorremoval, setuserparams, setvmthreshold,% + shareddict, show, showpage, sin, sqrt, srand, stack, StandardEncoding,% + start, startjob, status, statusdict, stop, stopped, store, string,% + stringwidth, stroke, strokepath, sub, systemdict, transform, translate,% + true, truncate, type, token, uappend, ucache, ucachestatus, ueofill,% + ufill, undef, upath, userdict, UserObjects, usertime, ustroke,% + ustrokepath, version, viewclip, viewclippath, vmreclaim, vmstatus,% + wait, wcheck, where, widthshow, write, writehexstring, writeobject,% + writestring, wtranslation, xcheck, xor, xshow, xyshow, yield, yshow},% + sensitive,% morecomment=[l]\%}[keywords,comments] % \end{macrocode} % \begin{macrocode} @@ -7550,13 +7609,13 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% {morekeywords={% begin,end,definecolor,multido,% KillGlue,DontKillGlue,pslbrace,bsrbrace,psscalebox,psset,pstVerb,pstverb,% - pst@def,,psframebox,psclip,endclip,endpspicture,psframe, + pst@def,psframebox,psclip,endclip,endpspicture,psframe,% %% pspicture,% multirput,multips,Rput,rput,uput,cput,lput,% - newrgbcolor,newgray,newcmykcolor, + newrgbcolor,newgray,newcmykcolor,% %% %% pstricks-add - psStep,psgraph,psbrace,psPrintValue, + psStep,psgraph,psbrace,psPrintValue,% %% %% pst-plot psvlabel,pshlabel,psplot,psline,pscustom,pscurve,psccurve,% @@ -7567,15 +7626,15 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% psgrid,pscircle,pscirclebox,psdiabox,pstribox,% newpsfontdot,psdot,psdots,% pspolygon,psdiamond,psoval,pstriangle,% - psarc,psarcn,psellipticarc,psellipticarcn,pswedge,psellipticwedge, + psarc,psarcn,psellipticarc,psellipticarcn,pswedge,psellipticwedge,% pcline,pcdiag,pcdiagg,pccurve,pccurve,pcecurve,% scalebox,scaleboxto,psmathboxtrue,everypsbox,psverbboxtrue,overlaybox,% psoverlay,putoverlaybox,% newpsstyle,newpsobject,% - moveto,newpath,closepath,stroke,fill,gsave,grestore,msave,mrestore,translate,scale,% - swapaxes,rotate,openshadow,closedshadow,movepath,lineto,rlineto,curveto,rcurveto,% - code,dim,coor,rcoor,file,arrows,setcolor,% - rotateleft,rotateright,rotatedown,% + moveto,newpath,closepath,stroke,fill,gsave,grestore,msave,mrestore,% + translate,scale,swapaxes,rotate,openshadow,closedshadow,movepath,% + lineto,rlineto,curveto,rcurveto,code,dim,coor,rcoor,file,arrows,% + setcolor,rotateleft,rotateright,rotatedown,% %% %% pst-node nput,naput,nbput,ncput,% @@ -7590,50 +7649,54 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% skiplevel,skiplevels,endskiplevels,tspace,tlput,% %% %% pst-text - pscharpath,pstextpath, + pscharpath,pstextpath,% %% %% pst-barcode - psbarcode, + psbarcode,% %% %% pst-coil - psboxfill,pscoil,psCoil,pszigzag,nccoil, - psshadow,pstilt,psTilt,ThreeDput, + psboxfill,pscoil,psCoil,pszigzag,nccoil,% + psshadow,pstilt,psTilt,ThreeDput,% %% %% pst-gr3d PstGridThreeDNodeProcessor,% %% %% pst-vue3d - PstGridThreeD, - AxesThreeD,LineThreeD,DieThreeD,FrameThreeD,SphereCircleThreeD,SphereMeridienThreeD, - QuadrillageThreeD,TetraedreThreeD,PyramideThreeD,ConeThreeD,CylindreThreeD, - DodecahedronThreeD,ConeThreeD,SphereThreeD,SphereInverseThreeD,DemiSphereThreeD, - SphereCreuseThreeD,SphereCircledThreeD,PortionSphereThreeD,pNodeThreeD,CubeThreeD,% + PstGridThreeD,% + AxesThreeD,LineThreeD,DieThreeD,FrameThreeD,SphereCircleThreeD,% + SphereMeridienThreeD,QuadrillageThreeD,TetraedreThreeD,% + PyramideThreeD,ConeThreeD,CylindreThreeD,DodecahedronThreeD,% + ConeThreeD,SphereThreeD,SphereInverseThreeD,DemiSphereThreeD,% + SphereCreuseThreeD,SphereCircledThreeD,PortionSphereThreeD,% + pNodeThreeD,CubeThreeD,% %% %% pst-3dplot - pstThreeDCoor,pstThreeDDot,pstThreeDTriangle,pstThreeDCircle,pstPlanePut,% - pstThreeDBox,pstThreeDEllipse,pstThreeDLine,pstThreeDPut,% - pstThreeDNode,pstThreeDSquare,psplotThreeD,parametricplotThreeD,fileplotThreeD,% - dataplotThreeD,pstScalePoints,% + pstThreeDCoor, pstThreeDDot, pstThreeDTriangle, pstThreeDCircle,% + pstPlanePut, pstThreeDBox, pstThreeDEllipse, pstThreeDLine,% + pstThreeDPut, pstThreeDNode, pstThreeDSquare, psplotThreeD,% + parametricplotThreeD, fileplotThreeD, dataplotThreeD,% + pstScalePoints,% %% %% pst-circ - resistor,battery,Ucc,Icc,capacitor,coil,diode,Zener,LED,lamp,switch,wire,tension, - circledipole,multidipole,OA,transistor,Tswitch,potentiometer,transformer, - optoCoupler,logic, + resistor,battery,Ucc,Icc,capacitor,coil,diode,Zener,LED,lamp,switch,% + wire,tension,circledipole,multidipole,OA,transistor,Tswitch,% + potentiometer,transformer,optoCoupler,logic,% %% %% pst-eucl - pstTriangle,pstMediatorAB,pstInterLL,pstMiddleAB,pstProjection,pstCircleOA,pstLineAB,% + pstTriangle,pstMediatorAB,pstInterLL,pstMiddleAB,pstProjection,% + pstCircleOA,pstLineAB,% %% %% pst-func psBessel,psPolynomial,psFourier,psGaussI,psGauss,psSi,pssi,psCi,psci,% %% %% pst-infixplot - psPlot, + psPlot,% %% %% pst-ob3d - PstDie,PstCube, + PstDie,PstCube,% %% %% pst-poly - PstPolygon,pspolygonbox, + PstPolygon,pspolygonbox,% %% %% pst-bar psbarchart,readpsbardata,psbarscale,newpsbarstyle,% @@ -7651,7 +7714,7 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% node,imark,fmark,rmark,drawqbpedge,drawedge,drawloop,% %% %% pst-labo - Distillation,Ballon, + Distillation,Ballon,% %% %% pst-optic lens,Transform,% @@ -7679,12 +7742,12 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % % \subsection{Python} % -% \lstthanks{Michael~Weber}{mweber@informatik.hu-berlin.de}{1998/12/21} sent me -% the definition. He got data from \textsc{Mark Lutz}: \textbf{Programming -% Python}; O'Reilly 1996; ISBN 1-56592-197-6. -% \lstthanks{Stephen Kelly}{-}{2007/01/14} reported some problems that indicated -% that the comment definitions needed to be moved after the string definitions -% to work correctly. +% \lstthanks{Michael~Weber}{mweber@informatik.hu-berlin.de}{1998/12/21} +% sent me the definition. He got data from \textsc{Mark Lutz}: +% \textbf{Programming Python}; O'Reilly 1996; ISBN 1-56592-197-6. +% \lstthanks{Stephen Kelly}{-}{2007/01/14} reported some problems that +% indicated that the comment definitions needed to be moved after the +% string definitions to work correctly. % % In August 2013 % \lstthanks{Alexis~Dimitriadis}{A.Dimitriadis@uu.nl}{2013/08/15} reworked @@ -7698,34 +7761,36 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% %% Python definition (c) 1998 Michael Weber %% Additional definitions (2013) Alexis Dimitriadis %% -\lst@definelanguage{Python}% - {morekeywords={access,and,break,class,continue,def,del,elif,else,% - except,exec,finally,for,from,global,if,import,in,is,lambda,not,% - or,pass,print,raise,return,try,while},% +\lst@definelanguage{Python}{% + morekeywords={access, and, break, class, continue, def, del, elif, else,% + except, exec, finally, for, from, global, if, import, in, is, lambda,% + not, or, pass, print, raise, return, try, while},% % \end{macrocode} % Python has a long list of builtin-in functions % (\url{http://docs.python.org/2/library/functions.html}) and it is a good % idea to make them visible in printed code % \begin{macrocode} % Built-ins - morekeywords=[2]{abs,all,any,basestring,bin,bool,bytearray,callable,chr, - classmethod,cmp,compile,complex,delattr,dict,dir,divmod,enumerate,eval, - execfile,file,filter,float,format,frozenset,getattr,globals,hasattr,hash, - help,hex,id,input,int,isinstance,issubclass,iter,len,list,locals,long,map, - max,memoryview,min,next,object,oct,open,ord,pow,property,range,raw_input, - reduce,reload,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str, - sum,super,tuple,type,unichr,unicode,vars,xrange,zip,apply,buffer,coerce, - intern}, - sensitive=true,% - morecomment=[l]\#,% - morestring=[b]',% - morestring=[b]",% + morekeywords=[2]{abs, all, any, basestring, bin, bool, bytearray,% + callable, chr, classmethod, cmp, compile, complex, delattr, dict, dir,% + divmod, enumerate, eval, execfile, file, filter, float, format,% + frozenset, getattr, globals, hasattr, hash, help, hex, id, input, int,% + isinstance, issubclass, iter, len, list, locals, long, map, max,% + memoryview, min, next, object, oct, open, ord, pow, property, range,% + raw_input, reduce, reload, repr, reversed, round, set, setattr, slice,% + sorted, staticmethod, str, sum, super, tuple, type, unichr, unicode,% + vars, xrange, zip, apply, buffer, coerce, intern},% + sensitive=true,% + morecomment=[l]\#,% + morestring=[b]',% + morestring=[b]",% % \end{macrocode} % According to PEP (Python Enhancement Proposals) comment should be % distinguished from documentation strings, so we define % \begin{macrocode} - morecomment=[s]{'''}{'''},% used for documentation text (mulitiline strings) - morecomment=[s]{"""}{"""},% added by Philipp Matthias Hahn + morecomment=[s]{'''}{'''},% used for documentation text + % (mulitiline strings) + morecomment=[s]{"""}{"""},% added by Philipp Matthias Hahn % \end{macrocode} % \lsthelper{J\"urgen Dietel}{j.dietel@rz.rwth-aachen}{2015/05/05}{} provided % an example with a wrong representation of documentation strings, so the @@ -7734,15 +7799,15 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % Python now supports so called \emph{raw strings} and also Unicode % strings. Here is the definition of these strings: % \begin{macrocode} - morestring=[s]{r'}{'},% `raw' strings - morestring=[s]{r"}{"},% - morestring=[s]{r'''}{'''},% - morestring=[s]{r"""}{"""},% - morestring=[s]{u'}{'},% unicode strings - morestring=[s]{u"}{"},% - morestring=[s]{u'''}{'''},% - morestring=[s]{u"""}{"""}% - }% + morestring=[s]{r'}{'},% `raw' strings + morestring=[s]{r"}{"},% + morestring=[s]{r'''}{'''},% + morestring=[s]{r"""}{"""},% + morestring=[s]{u'}{'},% unicode strings + morestring=[s]{u"}{"},% + morestring=[s]{u'''}{'''},% + morestring=[s]{u"""}{"""}% +}% % \end{macrocode} % \lsthelper{Philipp Matthias Hahn}{pmhahn@titan.lahn.de}{2002/04/18}{} % added the third comment. \lsthelper{eRreuR}{rogspr@newdeal.ch}{2002/05/28} @@ -7768,7 +7833,8 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% \usepackage{xcolor} \usepackage{textcomp} -%% Actual colors from idlelib/config-highlight.def --> corrected to ``web-safe'' +%% Actual colors from idlelib/config-highlight.def +%% --> corrected to ``web-safe'' %% strings = #00aa00 / 0,170,0 (a darker green) %% builtins = #900090 / 144,0,144 (purple-ish) %% keywords = #FF7700 / 255,119,0 (quite close to plain `orange') @@ -7790,8 +7856,8 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% % Color settings to match IDLE style keywordstyle=\color{orange}, % core keywords keywordstyle={[2]\color{purple2}}, % built-ins - stringstyle=\color{green2}, - commentstyle=\color{red}, + stringstyle=\color{green2},% + commentstyle=\color{red},% upquote=true, % requires textcomp } % Unimplemented IDLE syntax: function/class names being defined should be @@ -7854,7 +7920,7 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% external,for,form,fuzz,halt,labels,intermediates,negative,normal,novalue,% on,off,results,scan,scientific,select,source,stream,syntax,until,upper,% value,var,version,while,with},% - ndkeywords={abbrev,abs,address,bitand,bitor,bitxor,center,centre, + ndkeywords={abbrev,abs,address,bitand,bitor,bitxor,center,centre,% compare,copies,c2d,c2x,datatype,date,delstr,delword,diag,diagrc,% d2c,d2x,errortext,externals,find,format,index,insert,justify,% lastpos,left,length,linesize,max,min,overlay,pos,queued,random,% @@ -7998,7 +8064,8 @@ literate=% {-\\}{$\lambda$}{1}%% {->}{$\rightarrow$}{1}%% {-m->}{{\mbox{$\rightarrow \hspace{-2.5\lst@width} _{m}\;$}}}{1}% -{-~m->}{{\mbox{$\stackrel{\sim}{\mbox{$\rightarrow\hspace{-2.5\lst@width} _{m}\;$}}$}}}{1}% +{-~m->}{{\mbox{$\stackrel{\sim}{\mbox{$\rightarrow% + \hspace{-2.5\lst@width} _{m}\;$}}$}}}{1}% {-~->}{{\mbox{$\stackrel{\sim}{\rightarrow}$}}}{1}%% {-set}{\bf{-set}}{4}%% {-list}{{$^{\ast}$}}{1}%% @@ -8083,11 +8150,11 @@ literate=% % % \subsection{Ruby} % -% \lstthanks{Christian~Kaiser}{chk@combit.net}{2003/02/05} provided the initial -% definition. \lstthanks{Xavier~Noria}{fxn@hashref.com}{2004/01/11} replaced -% the keywords with the keywords from the at the time of writing current -% stable Ruby version. An erroneous string delimiter was removed following -% a bug reported on comp.text.tex on 2006/09/01. +% \lstthanks{Christian~Kaiser}{chk@combit.net}{2003/02/05} provided the +% initial definition. \lstthanks{Xavier~Noria}{fxn@hashref.com}{2004/01/11} +% replaced the keywords with the keywords from the at the time of writing +% current stable Ruby version. An erroneous string delimiter was removed +% following a bug reported on comp.text.tex on 2006/09/01. % % Ruby supports string delimiters of the form \verb|%q!...!|, where \verb|!| % can be any character, or can be matched braces or parentheses or brackets. @@ -8422,7 +8489,10 @@ literate=% % keywords, ditto \lsthelper{Torsten~Flatter}{Thorsten.Flatter@T-Systems.de} % {2002/10/15}{missing keywords}, \lsthelper{Robert~Frank}{rf7@ukc.ac.uk} % {2002/11/19}{missing keywords} and \lsthelper{Dirk~Jesko} -% {jesko@iti.cs.uni-magdeburg.de}{2003/06/03}{extended SQL definition}. +% {jesko@iti.cs.uni-magdeburg.de}{2003/06/03}{extended SQL definition}. \lsthelper{Hilmar +% Preuße}{hille42@web.de}{2019/01/28}{added keyword} informed about an issue mentioned at +% \url{https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626521}, the issue +% got corrected. % \begingroup % \begin{macrocode} %<*lang1> @@ -8436,7 +8506,7 @@ literate=% %% \lst@definelanguage{SQL}% {morekeywords={ABSOLUTE,ACTION,ADD,ALLOCATE,ALTER,ARE,AS,ASSERTION,% - AT,BETWEEN,BIT_LENGTH,BOTH,BY,CASCADE,CASCADED,CASE,CAST,% + AT,BEGIN,BETWEEN,BIT_LENGTH,BOTH,BY,CASCADE,CASCADED,CASE,CAST,% CATALOG,CHAR_LENGTH,CHARACTER_LENGTH,CLUSTER,COALESCE,% COLLATE,COLLATION,COLUMN,CONNECT,CONNECTION,CONSTRAINT,% CONSTRAINTS,CONVERT,CORRESPONDING,CREATE,CROSS,CURRENT_DATE,% @@ -8533,8 +8603,8 @@ literate=% % {\copyright} 1997 Addison-Wesley Publishing Company; % ISBN 0-201-6337-X. % \end{itemize} -% \lstthanks{Gerd~Neugebauer}{gerd.neugebauer@gmx.de}{2000/09/16} added support -% for Tcl/Tk. +% \lstthanks{Gerd~Neugebauer}{gerd.neugebauer@gmx.de}{2000/09/16} added +% support for Tcl/Tk. % \begingroup % \begin{macrocode} %<*lang2> @@ -8634,8 +8704,8 @@ literate=% % \end{macrocode} % And after receiving a bug report from \lsthelper{Vitaly A. Repin} % {vitaly@radio.hop.stu.neva.ru}{2002/04/08}{undefined control sequence -% \lst@CommentB} I converted the version 0.21 contents of |MoreSelectCharTable| -% to version 1.0. +% \lst@CommentB} I converted the version 0.21 contents of +% |MoreSelectCharTable| to version 1.0. % \begin{macrocode} %</lang2> % \end{macrocode} @@ -8741,30 +8811,31 @@ literate=% % which was removed by \lsthelper{Heiko Oberdiek}{oberdiek@uni-freiburg.de} % {2002/07/10}{prockeywords -> procnamekeys}. % \begin{macrocode} -\lst@definelanguage{SAS}% - {procnamekeys={proc},% - morekeywords={DATA,AND,OR,NOT,EQ,GT,LT,GE,LE,NE,INFILE,INPUT,DO,BY,% - TO,SIN,COS,OUTPUT,END,PLOT,RUN,LIBNAME,VAR,TITLE,FIRSTOBS,OBS,% - DELIMITER,DLM,EOF,ABS,DIM,HBOUND,LBOUND,MAX,MIN,MOD,SIGN,SQRT,% - CEIL,FLOOR,FUZZ,INT,ROUND,TRUNC,DIGAMMA,ERF,ERFC,EXP,GAMMA,% - LGAMMA,LOG,LOG2,LOG10,ARCOS,ARSIN,ATAN,COSH,SINH,TANH,TAN,% - POISSON,PROBBETA,PROBBNML,PROBCHI,PROBF,PROBGAM,PROBHYPR,% - PROBNEGB,PROBNORM,PROBT,BETAINV,CINV,FINV,GAMINV,PROBIT,TINV,CSS,% - CV,KURTOSIS,MEAN,NMISS,RANGE,SKEWNESS,STD,STDERR,SUM,USS,NORMAL,% - RANBIN,RANCAU,RANEXP,RANGAM,RANNOR,RANPOI,RANTBL,RANTRI,RANUNI,% - UNIFORM,IF,THEN,ELSE,WHILE,UNTIL,DROP,KEEP,LABEL,DEFAULT,ARRAY,% - MERGE,CARDS,CARDS4,PUT,SET,UPDATE,ABORT,DELETE,DISPLAY,LIST,% - LOSTCARD,MISSING,STOP,WHERE,ARRAY,DROP,KEEP,WINDOW,LENGTH,RENAME,% - RETAIN,MEANS,UNIVARIATE,SUMMARY,TABULATE,CORR,FREQ,FOOTNOTE,NOTE,% - SHOW},% - otherkeywords={!,!=,~,$,*,\&,_,/,<,>=,=<,>},% - morestring=[d]'% - }[keywords,comments,strings,procnames]% +\lst@definelanguage{SAS}{% + procnamekeys={proc},% + morekeywords={DATA, AND, OR, NOT, EQ, GT, LT, GE, LE, NE, INFILE, INPUT,% + DO, BY, TO, SIN, COS, OUTPUT, END, PLOT, RUN, LIBNAME, VAR, TITLE,% + FIRSTOBS, OBS, DELIMITER, DLM, EOF, ABS, DIM, HBOUND, LBOUND, MAX, MIN,% + MOD, SIGN, SQRT, CEIL, FLOOR, FUZZ, INT, ROUND, TRUNC, DIGAMMA, ERF,% + ERFC, EXP, GAMMA, LGAMMA, LOG, LOG2, LOG10, ARCOS, ARSIN, ATAN, COSH,% + SINH, TANH, TAN, POISSON, PROBBETA, PROBBNML, PROBCHI, PROBF, PROBGAM,% + PROBHYPR, PROBNEGB, PROBNORM, PROBT, BETAINV, CINV, FINV, GAMINV,% + PROBIT, TINV, CSS, CV, KURTOSIS, MEAN, NMISS, RANGE, SKEWNESS, STD,% + STDERR, SUM, USS, NORMAL, RANBIN, RANCAU, RANEXP, RANGAM, RANNOR,% + RANPOI, RANTBL, RANTRI, RANUNI, UNIFORM, IF, THEN, ELSE, WHILE, UNTIL,% + DROP, KEEP, LABEL, DEFAULT, ARRAY, MERGE, CARDS, CARDS4, PUT, SET,% + UPDATE, ABORT, DELETE, DISPLAY, LIST, LOSTCARD, MISSING, STOP, WHERE,% + ARRAY, DROP, KEEP, WINDOW, LENGTH, RENAME, RETAIN, MEANS, UNIVARIATE,% + SUMMARY, TABULATE, CORR, FREQ, FOOTNOTE, NOTE, SHOW},% + otherkeywords={!,!=,~,$,*,\&,_,/,<,>=,=<,>},% + morestring=[d]'% +}[keywords,comments,strings,procnames]% % \end{macrocode} % \begin{macrocode} %</lang3> % \end{macrocode} % \endgroup +%^^A $ to make emacs font locking happy % % % \subsection{\TeX} @@ -8950,8 +9021,8 @@ literate=% widehat,widetilde,wlog,wp,wr,xi,Xi,zeta}% }% % \end{macrocode} -% \lsthelper{Herbert Voss}{Herbert.Voss@FU-Berlin.DE}{2013-12-12}{typo} pointed -% to a typo: the \TeX{} primitive is |lineskiplimit| instead of +% \lsthelper{Herbert Voss}{Herbert.Voss@FU-Berlin.DE}{2013-12-12}{typo} +% pointed to a typo: the \TeX{} primitive is |lineskiplimit| instead of % |lineskiplimits|. % \begin{macrocode} \lst@definelanguage[primitive]{TeX}% @@ -9084,9 +9155,10 @@ literate=% % % \subsection{Verilog} % -% Thanks to \lstthanks{Cameron H. G. Wright}{c.h.g.wright@ieee.org}{2003/04/30} -% for providing the definition. After a bug report by \lsthelper{George -% M.~Georgiou}{georgiou@csci.csusb.edu}{2004/02/05}{directives not detected} I +% Thanks to \lstthanks{Cameron H. G. Wright}{c.h.g.wright@ieee.org}% +% {2003/04/30} for providing the definition. After a bug report by +% \lsthelper{George M.~Georgiou}{georgiou@csci.csusb.edu}% +% {2004/02/05}{directives not detected} I % changed the declaration of directives to use normal keywords. % \begingroup % \begin{macrocode} @@ -9095,9 +9167,9 @@ literate=% % \begin{macrocode} %% %% Verilog definition (c) 2003 Cameron H. G. Wright <c.h.g.wright@ieee.org> -%% Based on the IEEE 1364-2001 Verilog HDL standard -%% Ref: S. Palnitkar, "Verilog HDL: A Guide to Digital Design and Synthesis," -%% Prentice Hall, 2003. ISBN: 0-13-044911-3 +%% Based on the IEEE 1364-2001 Verilog HDL standard +%% Ref: S. Palnitkar, "Verilog HDL: A Guide to Digital Design and Synthesis," +%% Prentice Hall, 2003. ISBN: 0-13-044911-3 %% \lst@definelanguage{Verilog}% {morekeywords={% reserved keywords @@ -9193,8 +9265,8 @@ literate=% % % \subsection{VRML} % -% This language is due to \lstthanks{Oliver~Baum}{oli.baum@web.de}{2001/07/10} -% {VRML}. +% This language is due to \lstthanks{Oliver~Baum}{oli.baum@web.de}% +% {2001/07/10}{VRML}. % \begingroup % \begin{macrocode} %<*lang2> @@ -9203,23 +9275,23 @@ literate=% %% %% VRML definition (c) 2001 Oliver Baum %% -\lst@definelanguage[97]{VRML} - {morekeywords={DEF,EXTERNPROTO,FALSE,IS,NULL,PROTO,ROUTE,TO,TRUE,USE,% - eventIn,eventOut,exposedField,field,Introduction,Anchor,% - Appearance,AudioClip,Background,Billboard,Box,Collision,Color,% - ColorInterpolator,Cone,Coordinate,CoordinateInterpolator,% - Cylinder,CylinderSensor,DirectionalLight,ElevationGrid,Extrusion,% - Fog,FontStyle,Group,ImageTexture,IndexedFaceSet,IndexedLineSet,% - Inline,LOD,Material,MovieTexture,NavigationInfo,Normal,% - NormalInterpolator,OrientationInterpolator,PixelTexture,% - PlaneSensor,PointLight,PointSet,PositionInterpolator,% - ProximitySensor,ScalarInterpolator,Script,Shape,Sound,Sphere,% - SphereSensor,SpotLight,Switch,Text,TextureCoordinate,% - TextureTransform,TimeSensor,TouchSensor,Transform,Viewpoint,% - VisibilitySensor,WorldInfo},% - morecomment=[l]\#,% bug: starts comment in the first column - morestring=[b]"% - }[keywords,comments,strings] +\lst@definelanguage[97]{VRML}{% + morekeywords={DEF, EXTERNPROTO, FALSE, IS, NULL, PROTO, ROUTE, TO, TRUE,% + USE, eventIn, eventOut, exposedField, field, Introduction, Anchor,% + Appearance, AudioClip, Background, Billboard, Box, Collision, Color,% + ColorInterpolator, Cone, Coordinate, CoordinateInterpolator, Cylinder,% + CylinderSensor, DirectionalLight, ElevationGrid, Extrusion, Fog,% + FontStyle, Group, ImageTexture, IndexedFaceSet, IndexedLineSet, Inline,% + LOD, Material, MovieTexture, NavigationInfo, Normal,% + NormalInterpolator, OrientationInterpolator, PixelTexture, PlaneSensor,% + PointLight, PointSet, PositionInterpolator, ProximitySensor,% + ScalarInterpolator, Script, Shape, Sound, Sphere, SphereSensor,% + SpotLight, Switch, Text, TextureCoordinate, TextureTransform,% + TimeSensor, TouchSensor, Transform, Viewpoint, VisibilitySensor,% + WorldInfo},% + morecomment=[l]\#,% bug: starts comment in the first column + morestring=[b]"% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} %</lang2> @@ -9239,60 +9311,71 @@ literate=% \lst@definelanguage{XSLT}[]{XML}% {morekeywords={% % main elements - xsl:stylesheet,xsl:transform,% + xsl:stylesheet, xsl:transform,% % childs of the main element - xsl:apply-imports,xsl:attribute-set,xsl:decimal-format,xsl:import,% - xsl:include,xsl:key,xsl:namespace-alias,xsl:output,xsl:param,% - xsl:preserve-space,xsl:strip-space,xsl:template,xsl:variable,% + xsl:apply-imports, xsl:attribute-set, xsl:decimal-format, xsl:import,% + xsl:include, xsl:key, xsl:namespace-alias, xsl:output, xsl:param,% + xsl:preserve-space, xsl:strip-space, xsl:template, xsl:variable,% % 21 directives - xsl:apply-imports,xsl:apply-templates,xsl:attribute,% - xsl:call-template,xsl:choose,xsl:comment,xsl:copy,xsl:copy-of,% - xsl:element,xsl:fallback,xsl:for-each,xsl:if,xsl:message,% - xsl:number,xsl:otherwise,xsl:processing-instruction,xsl:text,% - xsl:value-of,xsl:variable,xsl:when,xsl:with-param},% + xsl:apply-imports, xsl:apply-templates, xsl:attribute,% + xsl:call-template, xsl:choose, xsl:comment, xsl:copy, xsl:copy-of,% + xsl:element, xsl:fallback, xsl:for-each, xsl:if, xsl:message,% + xsl:number, xsl:otherwise, xsl:processing-instruction, xsl:text,% + xsl:value-of, xsl:variable, xsl:when, xsl:with-param},% alsodigit={-},% }% % \end{macrocode} % \begin{macrocode} -\lst@definelanguage{Ant}[]{XML}% - {morekeywords={% - project,target,patternset,include,exclude,excludesfile,includesfile,filterset,% - filter,filtersfile,libfileset,custom,classpath,fileset,none,depend,mapper,% - filename,not,date,contains,selector,depth,or,and,present,majority,size,dirset,% - filelist,pathelement,path,param,filterreader,extension,filterchain,linecontainsregexp,% - regexp,classconstants,headfilter,tabstospaces,striplinebreaks,tailfilter,stripjavacomments,% - expandproperties,linecontains,replacetokens,token,striplinecomments,comment,prefixlines,% - classfileset,rootfileset,root,description,xmlcatalog,entity,dtd,substitution,% - extensionSet,propertyfile,entry,vsscheckin,sql,transaction,cvspass,csc,% - dirname,wlrun,wlclasspath,p4label,replaceregexp,get,jjtree,sleep,jarlib,% - dependset,targetfileset,srcfileset,srcfilelist,targetfilelist,zip,zipgroupfileset,zipfileset,% - patch,jspc,webapp,style,test,arg,jvmarg,sysproperty,testlet,env,tstamp,% - format,unwar,vsshistory,icontract,cvschangelog,user,p4submit,ccmcheckin,% - p4change,bzip2,vssadd,javadoc,bottom,source,doctitle,header,excludepackage,bootclasspath,% - doclet,taglet,packageset,sourcepath,link,footer,package,group,title,tag,% - translate,signjar,vajload,vajproject,jarlib,extensionset,WsdlToDotnet,buildnumber,% - jpcovmerge,tomcat,ejbjar,weblogictoplink,jboss,borland,weblogic,iplanet,jonas,% - support,websphere,wasclasspath,war,manifest,attribute,section,metainf,lib,% - classes,webinf,rename,sequential,serverdeploy,generic,property,move,% - copydir,cccheckin,wljspc,fixcrlf,sosget,pathconvert,map,record,p4sync,exec,% - p4edit,maudit,rulespath,searchpath,antlr,netrexxc,jpcovreport,reference,filters,% - coveragepath,execon,targetfile,srcfile,ccmcheckout,ant,xmlvalidate,xslt,% - iplanet,ccmcheckintask,gzip,native2ascii,starteam,ear,archives,input,% - rmic,extdirs,compilerarg,checksum,mail,bcc,message,cc,to,from,loadfile,vsscheckout,% - stylebook,soscheckin,mimemail,stlabel,gunzip,concat,cab,touch,parallel,splash,% - antcall,cccheckout,typedef,p4have,xmlproperty,copy,tomcat,antstructure,ccmcreatetask,% - rpm,delete,replace,replacefilter,replacetoken,replacevalue,mmetrics,waitfor,isfalse,% - equals,available,filepath,os,filesmatch,istrue,isset,socket,http,uptodate,srcfiles,% - untar,loadproperties,echoproperties,vajexport,stcheckout,bunzip2,copyfile,vsscreate,% - ejbc,unjar,tomcat,wsdltodotnet,mkdir,condition,cvs,commandline,marker,argument,% - tempfile,junitreport,report,taskdef,echo,ccupdate,java,renameext,vsslabel,basename,% - javadoc2,vsscp,tar,tarfileset,tomcat,vajimport,setproxy,wlstop,p4counter,ilasm,% - soscheckout,apply,ccuncheckout,jarlib,location,url,cvstagdiff,jlink,mergefiles,% - addfiles,javacc,pvcs,pvcsproject,jarlib,options,depends,chmod,jar,sound,fail,% - success,mparse,blgenclient,genkey,dname,javah,class,ccmreconfigure,unzip,javac,% - src,p4add,soslabel,jpcoverage,triggers,method,vssget,deltree,ddcreator}, - deletekeywords={default},% - } +\lst@definelanguage{Ant}[]{XML}{% + morekeywords={% + project, target, patternset, include, exclude, excludesfile,% + includesfile, filterset, filter, filtersfile, libfileset, custom,% + classpath, fileset, none, depend, mapper, filename, not, date,% + contains, selector, depth, or, and, present, majority, size, dirset,% + filelist, pathelement, path, param, filterreader, extension,% + filterchain, linecontainsregexp, regexp, classconstants, headfilter,% + tabstospaces, striplinebreaks, tailfilter, stripjavacomments,% + expandproperties, linecontains, replacetokens, token,% + striplinecomments, comment, prefixlines, classfileset, rootfileset,% + root, description, xmlcatalog, entity, dtd, substitution, extensionSet,% + propertyfile, entry, vsscheckin, sql, transaction, cvspass, csc,% + dirname, wlrun, wlclasspath, p4label, replaceregexp, get, jjtree,% + sleep, jarlib, dependset, targetfileset, srcfileset, srcfilelist,% + targetfilelist, zip, zipgroupfileset, zipfileset, patch, jspc, webapp,% + style, test, arg, jvmarg, sysproperty, testlet, env, tstamp, format,% + unwar, vsshistory, icontract, cvschangelog, user, p4submit, ccmcheckin,% + p4change, bzip2, vssadd, javadoc, bottom, source, doctitle, header,% + excludepackage, bootclasspath, doclet, taglet, packageset, sourcepath,% + link, footer, package, group, title, tag, translate, signjar, vajload,% + vajproject, jarlib, extensionset, WsdlToDotnet, buildnumber,% + jpcovmerge, tomcat, ejbjar, weblogictoplink, jboss, borland, weblogic,% + iplanet, jonas, support, websphere, wasclasspath, war, manifest,% + attribute, section, metainf, lib, classes, webinf, rename, sequential,% + serverdeploy, generic, property, move, copydir, cccheckin, wljspc,% + fixcrlf, sosget, pathconvert, map, record, p4sync, exec, p4edit,% + maudit, rulespath, searchpath, antlr, netrexxc, jpcovreport, reference,% + filters, coveragepath, execon, targetfile, srcfile, ccmcheckout, ant,% + xmlvalidate, xslt, iplanet, ccmcheckintask, gzip, native2ascii,% + starteam, ear, archives, input, rmic, extdirs, compilerarg, checksum,% + mail, bcc, message, cc, to, from, loadfile, vsscheckout, stylebook,% + soscheckin, mimemail, stlabel, gunzip, concat, cab, touch, parallel,% + splash, antcall, cccheckout, typedef, p4have, xmlproperty, copy,% + tomcat, antstructure, ccmcreatetask, rpm, delete, replace,% + replacefilter, replacetoken, replacevalue, mmetrics, waitfor, isfalse,% + equals, available, filepath, os, filesmatch, istrue, isset, socket,% + http, uptodate, srcfiles, untar, loadproperties, echoproperties,% + vajexport, stcheckout, bunzip2, copyfile, vsscreate, ejbc, unjar,% + tomcat, wsdltodotnet, mkdir, condition, cvs, commandline, marker,% + argument, tempfile, junitreport, report, taskdef, echo, ccupdate, java,% + renameext, vsslabel, basename, javadoc2, vsscp, tar, tarfileset,% + tomcat, vajimport, setproxy, wlstop, p4counter, ilasm, soscheckout,% + apply, ccuncheckout, jarlib, location, url, cvstagdiff, jlink,% + mergefiles, addfiles, javacc, pvcs, pvcsproject, jarlib, options,% + depends, chmod, jar, sound, fail, success, mparse, blgenclient, genkey,% + dname, javah, class, ccmreconfigure, unzip, javac, src, p4add,% + soslabel, jpcoverage, triggers, method, vssget, deltree, ddcreator},% + deletekeywords={default},% +} % \end{macrocode} % \begin{macrocode} %</lang1> @@ -9344,6 +9427,7 @@ literate=% % \begin{macrocode} %</lang1> % \end{macrocode} +%^^A $ to make emacs font locking happy % \endgroup % % diff --git a/Master/texmf-dist/source/latex/listings/lstdrvrs.ins b/Master/texmf-dist/source/latex/listings/lstdrvrs.ins index 16f828777ae..b02f69b9a49 100644 --- a/Master/texmf-dist/source/latex/listings/lstdrvrs.ins +++ b/Master/texmf-dist/source/latex/listings/lstdrvrs.ins @@ -14,7 +14,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% @@ -41,6 +41,7 @@ \file{listings-acm.prf}{\from{lstdrvrs.dtx}{acm-prf}} \file{listings-bash.prf}{\from{lstdrvrs.dtx}{bash-prf}} \file{listings-fortran.prf}{\from{lstdrvrs.dtx}{fortran-prf}} + \file{listings-hansl.prf}{\from{lstdrvrs.dtx}{hansl-prf}} \file{listings-lua.prf}{\from{lstdrvrs.dtx}{lua-prf}} \file{listings-python.prf}{\from{lstdrvrs.dtx}{python-prf}} } @@ -55,7 +56,7 @@ } \endbatchfile - [2018/09/02 1.7 listings language file] + [2019/02/27 1.8b listings language file] \endinput %% %% End of file `lstdrvrs.ins'. diff --git a/Master/texmf-dist/tex/latex/listings/listings-acm.prf b/Master/texmf-dist/tex/latex/listings/listings-acm.prf index e2e9d9f6204..a2b01193226 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-acm.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-acm.prf @@ -14,7 +14,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-acm.prf} - [2018/09/02 1.7 listings language file] + [2019/02/27 1.8b listings language file] \usepackage[rgb, x11names]{xcolor} \definecolor{Comments}{rgb}{0.00,0.50,0.00} diff --git a/Master/texmf-dist/tex/latex/listings/listings-bash.prf b/Master/texmf-dist/tex/latex/listings/listings-bash.prf index 81ab9c7bd0e..e5c3df7c3d0 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-bash.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-bash.prf @@ -14,7 +14,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-bash.prf} - [2018/09/02 1.7 listings language file] + [2019/02/27 1.8b listings language file] \usepackage[rgb, x11names]{xcolor} \lstset{% diff --git a/Master/texmf-dist/tex/latex/listings/listings-fortran.prf b/Master/texmf-dist/tex/latex/listings/listings-fortran.prf index 908d9651674..1fc22798d6c 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-fortran.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-fortran.prf @@ -14,7 +14,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-fortran.prf} - [2018/09/02 1.7 listings language file] + [2019/02/27 1.8b listings language file] \usepackage[rgb, x11names]{xcolor} \lstset{% diff --git a/Master/texmf-dist/tex/latex/listings/listings-hansl.prf b/Master/texmf-dist/tex/latex/listings/listings-hansl.prf new file mode 100644 index 00000000000..018bd68bdf8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/listings/listings-hansl.prf @@ -0,0 +1,48 @@ +%% +%% This is file `listings-hansl.prf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lstdrvrs.dtx (with options: `hansl-prf') +%% +%% The listings package is copyright 1996--2004 Carsten Heinz, and +%% continued maintenance on the package is copyright 2006--2007 Brooks +%% Moses. From 2013 on the maintenance is done by Jobst Hoffmann. +%% The drivers are copyright 1997/1998/1999/2000/2001/2002/2003/2004/2006/ +%% 2007/2013 any individual author listed in this file. +%% +%% This file is distributed under the terms of the LaTeX Project Public +%% License from CTAN archives in directory macros/latex/base/lppl.txt. +%% Either version 1.3c or, at your option, any later version. +%% +%% This file is completely free and comes without any warranty. +%% +%% Send comments and ideas on the package, error reports and additional +%% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. +%% +\ProvidesFile{listings-hansl.prf} + [2019/02/27 1.8b listings language file] +\usepackage[rgb, x11names]{xcolor} + +\lstdefinestyle{hanslbw}{% + keywordstyle = \bfseries, + keywordstyle = [2]\bfseries, + keywordstyle = [3]\itshape, + keywordstyle = [4]\underbar, + commentstyle = \ttfamily, + stringstyle = \ttfamily +} +\lstdefinestyle{hanslcolor}{% + basicstyle = \small\ttfamily, + keywordstyle = \color{red}, + keywordstyle = [2]\color{green}, + keywordstyle = [3]\color{cyan}, + keywordstyle = [4]\color{olive}, + commentstyle = \color{blue}\rmfamily, % + stringstyle = \color{magenta}, + moredelim = [l][\color{green}]{--} +}% +\endinput +%% +%% End of file `listings-hansl.prf'. diff --git a/Master/texmf-dist/tex/latex/listings/listings-lua.prf b/Master/texmf-dist/tex/latex/listings/listings-lua.prf index 0fb23eff24f..55026ba5ef7 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-lua.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-lua.prf @@ -14,7 +14,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-lua.prf} - [2018/09/02 1.7 listings language file] + [2019/02/27 1.8b listings language file] \usepackage[rgb, x11names]{xcolor} \lstdefinestyle{Lua}{% language=[5.2]Lua, diff --git a/Master/texmf-dist/tex/latex/listings/listings-python.prf b/Master/texmf-dist/tex/latex/listings/listings-python.prf index bb4ede149ab..ac8a93dfc0c 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-python.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-python.prf @@ -14,7 +14,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% @@ -22,11 +22,12 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-python.prf} - [2018/09/02 1.7 listings language file] + [2019/02/27 1.8b listings language file] \usepackage{xcolor} \usepackage{textcomp} -%% Actual colors from idlelib/config-highlight.def --> corrected to ``web-safe'' +%% Actual colors from idlelib/config-highlight.def +%% --> corrected to ``web-safe'' %% strings = #00aa00 / 0,170,0 (a darker green) %% builtins = #900090 / 144,0,144 (purple-ish) %% keywords = #FF7700 / 255,119,0 (quite close to plain `orange') @@ -40,8 +41,8 @@ % Color settings to match IDLE style keywordstyle=\color{orange}, % core keywords keywordstyle={[2]\color{purple2}}, % built-ins - stringstyle=\color{green2}, - commentstyle=\color{red}, + stringstyle=\color{green2},% + commentstyle=\color{red},% upquote=true, % requires textcomp } \endinput diff --git a/Master/texmf-dist/tex/latex/listings/listings.cfg b/Master/texmf-dist/tex/latex/listings/listings.cfg index 11c155d1e08..5d35c356380 100644 --- a/Master/texmf-dist/tex/latex/listings/listings.cfg +++ b/Master/texmf-dist/tex/latex/listings/listings.cfg @@ -14,14 +14,14 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% %% Send comments and ideas on the package, error reports and additional %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% -\ProvidesFile{listings.cfg}[2018/09/02 1.7 listings configuration] +\ProvidesFile{listings.cfg}[2019/02/27 1.8b listings configuration] \def\lstlanguagefiles {lstlang0.sty,lstlang1.sty,lstlang2.sty,lstlang3.sty} \lstset{defaultdialect=[R/3 6.10]ABAP, diff --git a/Master/texmf-dist/tex/latex/listings/listings.sty b/Master/texmf-dist/tex/latex/listings/listings.sty index 0a463f686e5..36b08b58cf5 100644 --- a/Master/texmf-dist/tex/latex/listings/listings.sty +++ b/Master/texmf-dist/tex/latex/listings/listings.sty @@ -16,8 +16,8 @@ %% Send comments and ideas on the package, error reports and additional %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% -\def\filedate{2018/09/02} -\def\fileversion{1.7} +\def\filedate{2019/02/27} +\def\fileversion{1.8b} \NeedsTeXFormat{LaTeX2e} \AtEndOfPackage{\ProvidesPackage{listings} [\filedate\space\fileversion\space(Carsten Heinz)]} @@ -2003,16 +2003,20 @@ \def\lstinputlisting{% \begingroup \lst@setcatcodes \lst@inputlisting} \newcommand\lst@inputlisting[2][]{% - \endgroup - \def\lst@set{#1}% - \IfFileExists{\lst@inputpath#2}% - {\expandafter\lst@InputListing\expandafter{\lst@inputpath#2}}% - {\filename@parse{\lst@inputpath#2}% - \edef\reserved@a{\noexpand\lst@MissingFileError - {\filename@area\filename@base}% - {\ifx\filename@ext\relax tex\else\filename@ext\fi}}% - \reserved@a}% - \lst@doendpe \@newlistfalse \ignorespaces} + \endgroup + \bgroup\def\lst@set{#1}% + \expandafter\lstset\expandafter{\lst@set}% + \IfFileExists{\lst@inputpath#2}% + {\lst@InputListing{\lst@inputpath#2}}% + {\filename@parse{\lst@inputpath#2}% + \edef\reserved@a{\noexpand\lst@MissingFileError + {\filename@area\filename@base}% + {\ifx\filename@ext\relax tex\else\filename@ext\fi}}% + \reserved@a + \let\lst@doendpe\@empty}% + \egroup + \lst@doendpe \@newlistfalse \ignorespaces% +} \def\lst@MissingFileError#1#2{% \typeout{^^J! Package Listings Error: File `#1(.#2)' not found.^^J% ^^JType X to quit or <RETURN> to proceed,^^J% @@ -2129,7 +2133,7 @@ {\PackageError{Listings}{Environment `#1' already defined}\@eha \@gobbletwo}} \def\@tempa#1#2#3{% -\gdef\lstnewenvironment@##1##2##3##4##5{% + \gdef\lstnewenvironment@##1##2##3##4##5{% \begingroup \global\@namedef{end##2}{\lstenv@Error{##2}}% \global\@namedef{##2}{\def\lstenv@name{##2}% @@ -2200,13 +2204,14 @@ \let\lst@insertargs\@empty \fi \fi} }\endgroup -\lstnewenvironment{lstlisting}[2][] - {% - \leavevmode% +\lstnewenvironment{lstlisting}[2][]{% \lst@TestEOLChar{#2}% \lstset{#1}% - \csname\@lst @SetFirstNumber\endcsname} - {\csname\@lst @SaveFirstNumber\endcsname} + \csname\@lst @SetFirstNumber\endcsname% + }{% + \let\if@nobreak\iffalse% + \csname\@lst @SaveFirstNumber\endcsname% + } \lst@Key{fancyvrb}\relax[t]{% \lstKV@SetIf{#1}\lst@iffancyvrb \lstFV@fancyvrb} diff --git a/Master/texmf-dist/tex/latex/listings/lstdoc.sty b/Master/texmf-dist/tex/latex/listings/lstdoc.sty index cded18821c0..8bc68eec5ed 100644 --- a/Master/texmf-dist/tex/latex/listings/lstdoc.sty +++ b/Master/texmf-dist/tex/latex/listings/lstdoc.sty @@ -6,8 +6,8 @@ %% %% listings.dtx (with options: `doc') %% -\def\filedate{2018/09/02} -\def\fileversion{1.7} +\def\filedate{2019/02/27} +\def\fileversion{1.8b} \ProvidesPackage{lstdoc} [\filedate\space\fileversion\space(Carsten Heinz)] \let\lstdoc@currversion\fileversion diff --git a/Master/texmf-dist/tex/latex/listings/lstlang1.sty b/Master/texmf-dist/tex/latex/listings/lstlang1.sty index 336267ebeb5..bea732a8cf9 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang1.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang1.sty @@ -14,7 +14,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{lstlang1.sty} - [2018/09/02 1.7 listings language file] + [2019/02/27 1.8b listings language file] %% %% ACSL definition (c) 2000 by Andreas Matthias %% @@ -315,71 +315,71 @@ \lst@definelanguage[08]{Fortran}[03]{Fortran}{% morekeywords={ALL, BLOCK, CODIMENSION, CONCURRENT, CONTIGUOUS, CRITICAL,% ERROR, LOCK, SUBMODULE, SYNC, UNLOCK},% - morekeywords=[3]{ACOSH,ASINH,ATANH,ATOMIC_DEFINE,ATOMIC_REF,BESSEL_J0,% - BESSEL_J1,BESSEL_JN,BESSEL_Y0,BESSEL_Y1,BESSEL_YN,BGE,BGT,BLE,BLT,% - C_SIZEOF,COMPILER_OPTIONS,COMPILER_VERSION,DSHIFTL,DSHIFTR,ERF,ERFC,% - ERFC_SCALED,EXECUTE_COMMAND_LINE,GAMMA,HYPOT,IALL,IANY,IMAGE_INDEX,% - IPARITY,LCOBOUND,LEADZ,LOG_GAMMA,MASKL,MASKR,MERGE_BITS,NORM2,% - NUM_IMAGES,PARITY,POPCNT,POPPAR,SHIFTA,SHIFTL,SHIFTR,STORAGE_SIZE,% - THIS_IMAGE,TRAILZ,UCOBOUND}% + morekeywords=[3]{ACOSH, ASINH, ATANH, ATOMIC_DEFINE, ATOMIC_REF,% + BESSEL_J0, BESSEL_J1, BESSEL_JN, BESSEL_Y0, BESSEL_Y1, BESSEL_YN,% + BGE, BGT, BLE, BLT, C_SIZEOF, COMPILER_OPTIONS, COMPILER_VERSION,% + DSHIFTL, DSHIFTR, ERF, ERFC, ERFC_SCALED, EXECUTE_COMMAND_LINE,% + FINDLOC, GAMMA, HYPOT, IALL, IANY, IMAGE_INDEX, IPARITY, LCOBOUND,% + LEADZ, LOG_GAMMA, MASKL, MASKR, MERGE_BITS, NORM2, NUM_IMAGES,% + PARITY, POPCNT, POPPAR, SHIFTA, SHIFTL, SHIFTR, STORAGE_SIZE,% + THIS_IMAGE, TRAILZ, UCOBOUND}% }% \lst@definelanguage[03]{Fortran}[95]{Fortran}{% morekeywords={ABSTRACT, ASSOCIATE, ASYNCHRONOUS, BIND, CLASS, DEFERRED,% ENUM, ENUMERATOR, EXTENDS, FINAL, FLUSH, GENERIC, IMPORT,% NON_OVERRIDABLE, NOPASS, PASS, PROTECTED, VALUE, VOLATILE, WAIT},% - morekeywords=[2]{DECIMAL,ENCODING,IOMSG,ROUND}, - morekeywords=[3]{C_ASSOCIATED,C_F_POINTER,C_F_PROCPOINTER,C_FUNLOC,% - C_LOC,COMMAND_ARGUMENT_COUNT,EXTENDS_TYPE_OF,GET_COMMAND,GET_COMMAND_ARGUMENT,% - GET_ENVIRONMENT_VARIABLE,IS_IOSTAT_END,MOVE_ALLOC,NEW_LINE,SAME_TYPE_AS,% - SELECTED_CHAR_KIND}% + morekeywords=[2]{DECIMAL, ENCODING, IOMSG, ROUND},% + morekeywords=[3]{C_ASSOCIATED, C_F_POINTER, C_F_PROCPOINTER, C_FUNLOC,% + C_LOC, COMMAND_ARGUMENT_COUNT, EXTENDS_TYPE_OF, GET_COMMAND,% + GET_COMMAND_ARGUMENT, GET_ENVIRONMENT_VARIABLE, IS_IOSTAT_END,% + MOVE_ALLOC,NEW_LINE,SAME_TYPE_AS, SELECTED_CHAR_KIND}% }% \lst@definelanguage[90]{Fortran}[95]{Fortran}{} -\lst@definelanguage[95]{Fortran}[77]{Fortran}% - {deletekeywords=SAVE,% - morekeywords={ALLOCATABLE,ALLOCATE,ASSIGNMENT,CASE,% - CONTAINS,CYCLE,DEALLOCATE,DEFAULT,EXIT,INCLUDE,IN,NONE,% - OUT,INTENT,INTERFACE,MODULE,NAMELIST,% - NULLIFY,ONLY,OPERATOR,OPTIONAL,OUT,POINTER,PRIVATE,% - PUBLIC,RECURSIVE,RESULT,SELECT,SEQUENCE,% - TARGET,USE,WHERE,WHILE,BLOCKDATA,DOUBLEPRECISION,% - ENDBLOCKDATA,ENDFILE,ENDFUNCTION,ENDINTERFACE,% - ENDMODULE,ENDPROGRAM,ENDSELECT,ENDSUBROUTINE,ENDTYPE,ENDWHERE,% - INOUT,SELECTCASE,% - ELEMENTAL, ELSEWHERE, FORALL, PURE,% +\lst@definelanguage[95]{Fortran}[77]{Fortran}{% + deletekeywords=SAVE,% + morekeywords={ALLOCATABLE, ALLOCATE, ASSIGNMENT, CASE, CONTAINS, CYCLE,% + DEALLOCATE, DEFAULT, EXIT, INCLUDE, IN, NONE, OUT, INTENT, INTERFACE,% + MODULE, NAMELIST, NULLIFY, ONLY, OPERATOR, OPTIONAL, OUT, POINTER,% + PRIVATE, PUBLIC, RECURSIVE, RESULT, SELECT, SEQUENCE, TARGET, USE,% + WHERE, WHILE, BLOCKDATA, DOUBLEPRECISION, ENDBLOCKDATA, ENDFILE,% + ENDFUNCTION, ENDINTERFACE, ENDMODULE, ENDPROGRAM, ENDSELECT,% + ENDSUBROUTINE, ENDTYPE, ENDWHERE, INOUT, SELECTCASE,% + ELEMENTAL, ELSEWHERE, FORALL, PURE,% PROCEDURE},% - morekeywords=[2]{ACTION,ADVANCE,DELIM,IOLENGTH,LEN,NAME,% - NML,PAD,POSITION,READWRITE,SIZE,STAT},% corrected NML from NMT - morekeywords=[3]{ACHAR,ADJUSTL,ADJUSTR,ALL,ALLOCATED,ANY,ASSOCIATED,% - BIT_SIZE,% - BTEST,CEILING,COUNT,CPU_TIME,CSHIFT,DATE_AND_TIME,DIGITS,DOT_PRODUCT,% - EOSHIFT,EPSILON,EXPONENT,FLOOR,FRACTION,HUGE,IACHAR,IAND,IBCLR, - IBITS,IBSET,ICHAR,IEOR,IOR,ISHFT,ISHFTC,KIND,LBOUND,LEN_TRIM,% left out LOGICAL - MATMUL,MAXEXPONENT,MAXLOC,MAXVAL,MERGE,MINEXPONENT,MINLOC,MINVAL,% - MODULO,MVBITS,NEAREST,NOT,NULL,PACK,PRECISION,PRESENT,PRODUCT,% - RADIX,RANDOM_NUMBER,RANDOM_SEED,RANGE,RANK,REPEAT,RESHAPE,RRSPACING,% - SCALE,SCAN,SELECTED_INT_KIND,SELECTED_REAL_KIND,SET_EXPONENT,SHAPE,% - SINH,SIZE,SPACING,SPREAD,SUM,SYSTEM_CLOCK,TINY,TRANSFER,TRANSPOSE,% - TRIM,UBOUND,UNPACK,VERIFY},% - deletecomment=[f],% no fixed comment line: 1998 Magne Rudshaug - morecomment=[l]!% - }% -\lst@definelanguage[77]{Fortran}% - {morekeywords={ASSIGN,BACKSPACE,CALL,CHARACTER,% - CLOSE,COMMON,COMPLEX,CONTINUE,DATA,DIMENSION,DO,DOUBLE,% - ELSE,ELSEIF,END,ENDIF,ENDDO,ENTRY,EQUIVALENCE,EXTERNAL,% - FILE,FORMAT,FUNCTION,GO,TO,GOTO,IF,IMPLICIT,% - INQUIRE,INTEGER,INTRINSIC,LOGICAL,% - OPEN,PARAMETER,PAUSE,PRECISION,PRINT,PROGRAM,READ,REAL,% - RETURN,REWIND,STOP,SUBROUTINE,THEN,% - WRITE,SAVE},% - morekeywords=[2]{ACCESS,BLANK,BLOCK,DIRECT,EOF,ERR,EXIST,% - FMT,FORM,FORMATTED,IOSTAT,NAMED,NEXTREC,NUMBER,OPENED,% - REC,RECL,SEQUENTIAL,STATUS,TYPE,UNFORMATTED,UNIT},% - morekeywords=[3]{INT,DBLE,CMPLX,ICHAR,CHAR,AINT,ANINT,% left out real - NINT,ABS,MOD,SIGN,DIM,DPROD,MAX,MIN,AIMAG,CONJG,SQRT,% - EXP,LOG,LOG10,SIN,COS,TAN,ASIN,ACOS,ATAN,ATAN2,SINH,% - COSH,TANH,LGE,LGT,LLE,LLT,LEN,INDEX},% - morekeywords=[4]{AND,EQ,EQV,FALSE,GE,GT,OR,LE,LT,NE,NEQV,NOT,TRUE},% + morekeywords=[2]{ACTION, ADVANCE, DELIM, IOLENGTH, LEN, NAME, NML, PAD,% + POSITION, READWRITE, SIZE, STAT},% corrected NML from NMT + morekeywords=[3]{ACHAR, ADJUSTL, ADJUSTR, ALL, ALLOCATED, ANY, ASSOCIATED,% + BIT_SIZE, BTEST, CEILING, COUNT, CPU_TIME, CSHIFT, DATE_AND_TIME, DIGITS,% + DOT_PRODUCT, EOSHIFT, EPSILON, EXPONENT, FLOOR, FRACTION, HUGE, IACHAR,% + IAND, IBCLR, IBITS, IBSET, ICHAR, IEOR, IOR, ISHFT, ISHFTC, KIND, LBOUND,% + LEN_TRIM,% left out LOGICAL + MATMUL, MAXEXPONENT, MAXLOC, MAXVAL, MERGE, MINEXPONENT, MINLOC, MINVAL,% + MODULO, MVBITS, NEAREST, NOT, NULL, PACK, PRECISION, PRESENT, PRODUCT,% + RADIX, RANDOM_NUMBER, RANDOM_SEED, RANGE, RANK, REPEAT, RESHAPE,% + RRSPACING, SCALE, SCAN, SELECTED_INT_KIND, SELECTED_REAL_KIND,% + SET_EXPONENT, SHAPE, SINH, SIZE, SPACING, SPREAD, SUM, SYSTEM_CLOCK,% + TINY, TRANSFER, TRANSPOSE, TRIM, UBOUND, UNPACK, VERIFY},% + deletecomment=[f],% no fixed comment line: 1998 Magne Rudshaug +morecomment=[l]!% +}% +\lst@definelanguage[77]{Fortran}{% + morekeywords={ASSIGN, BACKSPACE, CALL, CHARACTER, % + CLOSE, COMMON, COMPLEX, CONTINUE, DATA, DIMENSION, DO, DOUBLE, % + ELSE, ELSEIF, END, ENDIF, ENDDO, ENTRY, EQUIVALENCE, EXTERNAL, % + FILE, FORMAT, FUNCTION, GO, TO, GOTO, IF, IMPLICIT, % + INQUIRE, INTEGER, INTRINSIC, LOGICAL, % + OPEN, PARAMETER, PAUSE, PRECISION, PRINT, PROGRAM, READ, REAL, % + RETURN, REWIND, STOP, SUBROUTINE, THEN, % + WRITE, SAVE},% + morekeywords=[2]{ACCESS, BLANK, BLOCK, DIRECT, EOF, ERR, EXIST,% + FMT, FORM, FORMATTED, IOSTAT, NAMED, NEXTREC, NUMBER, OPENED,% + REC, RECL, SEQUENTIAL, STATUS, TYPE, UNFORMATTED, UNIT},% + morekeywords=[3]{INT, DBLE, CMPLX, ICHAR, CHAR, AINT, ANINT,% left out real + NINT, ABS, MOD, SIGN, DIM, DPROD, MAX, MIN, AIMAG, CONJG, SQRT,% + EXP, LOG, LOG10, SIN, COS, TAN, ASIN, ACOS, ATAN, ATAN2, SINH,% + COSH, TANH, LGE, LGT, LLE, LLT, LEN, INDEX},% + morekeywords=[4]{AND, EQ, EQV, FALSE, GE, GT, OR, LE, LT, NE, NEQV,% + NOT, TRUE},% sensitive=f,%% not Fortran-77 standard, but allowed in Fortran-95 %% morecomment=[f]*,% morecomment=[f]C,% @@ -2250,319 +2250,296 @@ "$Version", "$VersionNumber", "$WolframID", "$WolframUUID"% }% } -\lst@definelanguage[5.2]{Mathematica}[3.0]{Mathematica}%% - {morekeywords={Above,AbsoluteOptions,AbsoluteTiming,AccountingForm,% - AccuracyGoal,Active,ActiveItem,AddOnHelpPath,% - AdjustmentBox,AdjustmentBoxOptions,After,AiryAiPrime,% - AlgebraicRulesData,Algebraics,Alias,AlignmentMarker,% - AllowInlineCells,AllowScriptLevelChange,Analytic,AnimationCycleOffset,% - AnimationCycleRepetitions,AnimationDirection,AnimationDisplayTime,ApartSquareFree,% - AppellF1,ArgumentCountQ,ArrayDepth,ArrayPlot,% - ArrayQ,ArrayRules,AspectRatioFixed,Assuming,% - Assumptions,AutoDelete,AutoEvaluateEvents,AutoGeneratedPackage,% - AutoIndent,AutoIndentSpacings,AutoItalicWords,AutoloadPath,% - AutoOpenNotebooks,AutoOpenPalettes,AutoScroll,AutoSpacing,% - AutoStyleOptions,Axis,BackgroundTasksSettings,Backsubstitution,% - Backward,Baseline,Before,BeginDialogPacket,% - BeginFrontEndInteractionPacket,Below,BezoutMatrix,BinaryFormat,% - BinaryGet,BinaryRead,BinaryReadList,BinaryWrite,% - BitAnd,BitNot,BitOr,BitXor,% - Black,BlankForm,Blue,Boole,% - Booleans,Bottom,Bounds,Box,% - BoxBaselineShift,BoxData,BoxDimensions,BoxFormFormatTypes,% - BoxFrame,BoxMargins,BoxRegion,Brown,% - Buchberger,Button,ButtonBox,ButtonBoxOptions,% - ButtonCell,ButtonContents,ButtonData,ButtonEvaluator,% - ButtonExpandable,ButtonFrame,ButtonFunction,ButtonMargins,% - ButtonMinHeight,ButtonNote,ButtonNotebook,ButtonSource,% - ButtonStyle,ButtonStyleMenuListing,ByteOrdering,CallPacket,% - CarmichaelLambda,Cell,CellAutoOverwrite,CellBaseline,% - CellBoundingBox,CellBracketOptions,CellContents,CellDingbat,% - CellEditDuplicate,CellElementsBoundingBox,CellElementSpacings,CellEvaluationDuplicate,% - CellFrame,CellFrameColor,CellFrameLabelMargins,CellFrameLabels,% - CellFrameMargins,CellGroup,CellGroupData,CellGrouping,% - CellGroupingRules,CellHorizontalScrolling,CellLabel,CellLabelAutoDelete,% - CellLabelMargins,CellLabelPositioning,CellMargins,CellObject,% - CellOpen,CellPasswords,CellPrint,CellSize,% - CellStyle,CellTags,CellularAutomaton,Center,% - CharacterEncoding,CharacterEncodingsPath,CharacteristicPolynomial,CharacterRange,% - CheckAll,CholeskyDecomposition,Clip,ClipboardNotebook,% - Closed,ClosingAutoSave,CoefficientArrays,CoefficientDomain,% - CofactorExpansion,ColonForm,ColorFunctionScaling,ColorRules,% - ColorSelectorSettings,Column,ColumnAlignments,ColumnLines,% - ColumnsEqual,ColumnSpacings,ColumnWidths,CommonDefaultFormatTypes,% - CompileOptimizations,CompletionsListPacket,Complexes,ComplexityFunction,% - Compose,ComposeSeries,ConfigurationPath,ConjugateTranspose,% - Connect,ConsoleMessage,ConsoleMessagePacket,ConsolePrint,% - ContentsBoundingBox,ContextToFileName,ContinuedFraction,ConversionOptions,% - ConversionRules,ConvertToBitmapPacket,ConvertToPostScript,ConvertToPostScriptPacket,% - Copyable,CoshIntegral,CounterAssignments,CounterBox,% - CounterBoxOptions,CounterEvaluator,CounterFunction,CounterIncrements,% - CounterStyle,CounterStyleMenuListing,CreatePalettePacket,Cross,% - CurrentlySpeakingPacket,Cyan,CylindricalDecomposition,DampingFactor,% - DataRange,Debug,DebugTag,Decimal,% - DedekindEta,DefaultDuplicateCellStyle,DefaultFontProperties,DefaultFormatType,% - DefaultFormatTypeForStyle,DefaultInlineFormatType,DefaultInputFormatType, - DefaultNaturalLanguage,% - DefaultNewCellStyle,DefaultNewInlineCellStyle,DefaultNotebook,DefaultOutputFormatType,% - DefaultStyleDefinitions,DefaultTextFormatType,DefaultTextInlineFormatType,DefaultValues,% - DefineExternal,DegreeLexicographic,DegreeReverseLexicographic,Deletable,% - DeleteContents,DeletionWarning,DelimiterFlashTime,DelimiterMatching,% - Delimiters,DependentVariables,DiacriticalPositioning,DialogLevel,% - DifferenceOrder,DigitCharacter,DigitCount,DiracDelta,% - Direction,DirectoryName,DisableConsolePrintPacket,DiscreteDelta,% - DisplayAnimation,DisplayEndPacket,DisplayFlushImagePacket,DisplayForm,% - DisplayPacket,DisplayRules,DisplaySetSizePacket,DisplayString,% - DivisionFreeRowReduction,DOSTextFormat,DoubleExponential,DoublyInfinite,% - Down,DragAndDrop,DrawHighlighted,DualLinearProgramming,% - DumpGet,DumpSave,Edit,Editable,% - EditButtonSettings,EditCellTagsSettings,EditDefinition,EditIn,% - Element,EliminationOrder,EllipticExpPrime,EllipticNomeQ,% - EllipticReducedHalfPeriods,EllipticThetaPrime,Empty,EnableConsolePrintPacket,% - Encoding,EndAdd,EndDialogPacket,EndFrontEndInteractionPacket,% - EndOfLine,EndOfString,Enter,EnterExpressionPacket,% - EnterTextPacket,EqualColumns,EqualRows,EquatedTo,% - Erfi,ErrorBox,ErrorBoxOptions,ErrorNorm,% - ErrorPacket,ErrorsDialogSettings,Evaluatable,EvaluatePacket,% - EvaluationCell,EvaluationCompletionAction,EvaluationMonitor,EvaluationNotebook,% - Evaluator,EvaluatorNames,EventEvaluator,ExactNumberQ,% - ExactRootIsolation,Except,ExcludedForms,Exists,% - ExitDialog,ExponentPosition,ExponentStep,Export,% - ExportAutoReplacements,ExportPacket,ExportString,ExpressionPacket,% - ExpToTrig,Extension,ExternalCall,ExternalDataCharacterEncoding,% - Extract,Fail,FEDisableConsolePrintPacket,FEEnableConsolePrintPacket,% - Fibonacci,File,FileFormat,FileInformation,% - FileName,FileNameDialogSettings,FindFit,FindInstance,% - FindMaximum,FindSettings,FitAll,FlushPrintOutputPacket,% - Font,FontColor,FontFamily,FontName,% - FontPostScriptName,FontProperties,FontReencoding,FontSize,% - FontSlant,FontSubstitutions,FontTracking,FontVariations,% - FontWeight,ForAll,FormatRules,FormatTypeAutoConvert,% - FormatValues,FormBox,FormBoxOptions,Forward,% - ForwardBackward,FourierCosTransform,FourierParameters,FourierSinTransform,% - FourierTransform,FractionalPart,FractionBox,FractionBoxOptions,% - FractionLine,FrameBox,FrameBoxOptions,FresnelC,% - FresnelS,FromContinuedFraction,FromDigits,FrontEndExecute,% - FrontEndObject,FrontEndStackSize,FrontEndToken,FrontEndTokenExecute,% - FrontEndVersion,Full,FullAxes,FullSimplify,% - FunctionExpand,FunctionInterpolation,GaussKronrod,GaussPoints,% - GenerateBitmapCaches,GenerateConditions,GeneratedCell,GeneratedParameters,% - Generic,GetBoundingBoxSizePacket,GetContext,GetFileName,% - GetFrontEndOptionsDataPacket,GetLinebreakInformationPacket,% - GetMenusPacket,GetPageBreakInformationPacket,% - Glaisher,GlobalPreferences,GlobalSession,Gradient,% - GraphicsData,GraphicsGrouping,Gray,Green,% - Grid,GridBaseline,GridBox,GridBoxOptions,% - GridCreationSettings,GridDefaultElement,GridFrame,GridFrameMargins,% - GroupPageBreakWithin,HarmonicNumber,Hash,HashTable,% - HeadCompose,HelpBrowserLookup,HelpBrowserNotebook,HelpBrowserSettings,% - HessenbergDecomposition,Hessian,HoldAllComplete,HoldComplete,% - HoldPattern,Horizontal,HorizontalForm,HorizontalScrollPosition,% - HTMLSave,Hypergeometric0F1Regularized,Hypergeometric1F1Regularized,% - Hypergeometric2F1Regularized,% - HypergeometricPFQ,HypergeometricPFQRegularized,HyperlinkCreationSettings,Hyphenation,% - HyphenationOptions,IgnoreCase,ImageCache,ImageCacheValid,% - ImageMargins,ImageOffset,ImageRangeCache,ImageRegion,% - ImageResolution,ImageRotated,ImageSize,Import,% - ImportAutoReplacements,ImportString,IncludeFileExtension,IncludeSingularTerm,% - IndentingNewlineSpacings,IndentMaxFraction,IndexCreationOptions,Inequality,% - InexactNumberQ,InexactNumbers,Inherited,InitializationCell,% - InitializationCellEvaluation,InitializationCellWarning,% - InlineCounterAssignments,InlineCounterIncrements,% - InlineRules,InputAliases,InputAutoFormat,InputAutoReplacements,% - InputGrouping,InputNamePacket,InputNotebook,InputPacket,% - InputSettings,InputStringPacket,InputToBoxFormPacket,InputToInputForm,% - InputToStandardForm,InsertionPointObject,IntegerExponent,IntegerPart,% - Integers,Interactive,Interlaced,InterpolationOrder,% - InterpolationPoints,InterpolationPrecision,InterpretationBox,% - InterpretationBoxOptions,% - InterpretTemplate,InterruptSettings,Interval,IntervalIntersection,% - IntervalMemberQ,IntervalUnion,InverseBetaRegularized,InverseEllipticNomeQ,% - InverseErf,InverseErfc,InverseFourierCosTransform, - InverseFourierSinTransform,% - InverseFourierTransform,InverseGammaRegularized,InverseJacobiCD,% - InverseJacobiCN,% - InverseJacobiCS,InverseJacobiDC,InverseJacobiDN,InverseJacobiDS,% - InverseJacobiNC,InverseJacobiND,InverseJacobiNS,InverseJacobiSC,% - InverseJacobiSD,InverseLaplaceTransform,InverseWeierstrassP,InverseZTransform,% - Jacobian,JacobiCD,JacobiCN,JacobiCS,% - JacobiDC,JacobiDN,JacobiDS,JacobiNC,% - JacobiND,JacobiNS,JacobiSC,JacobiSD,% - JordanDecomposition,K,Khinchin,KleinInvariantJ,% - KroneckerDelta,Language,LanguageCategory,LaplaceTransform,% - Larger,Launch,LayoutInformation,Left,% - LetterCharacter,Lexicographic,LicenseID,LimitsPositioning,% - LimitsPositioningTokens,LinearSolveFunction,LinebreakAdjustments,LineBreakWithin,% - LineForm,LineIndent,LineSpacing,LineWrapParts,% - LinkActivate,LinkClose,LinkConnect,LinkConnectedQ,% - LinkCreate,LinkError,LinkFlush,LinkHost,% - LinkInterrupt,LinkLaunch,LinkMode,LinkObject,% - LinkOpen,LinkOptions,LinkPatterns,LinkProtocol,% - LinkRead,LinkReadHeld,LinkReadyQ,Links,% - LinkWrite,LinkWriteHeld,ListConvolve,ListCorrelate,% - Listen,ListInterpolation,ListQ,LiteralSearch,% - LongestMatch,LongForm,Loopback,LUBackSubstitution,% - LUDecomposition,MachineID,MachineName,MachinePrecision,% - MacintoshSystemPageSetup,Magenta,Magnification,MakeBoxes,% - MakeExpression,MakeRules,Manual,MatchLocalNameQ,% - MathematicaNotation,MathieuC,MathieuCharacteristicA,MathieuCharacteristicB,% - MathieuCharacteristicExponent,MathieuCPrime,MathieuS,MathieuSPrime,% - MathMLForm,MathMLText,MatrixRank,Maximize,% - MaxIterations,MaxPlotPoints,MaxPoints,MaxRecursion,% - MaxStepFraction,MaxSteps,MaxStepSize,Mean,% - Median,MeijerG,MenuPacket,MessageOptions,% - MessagePacket,MessagesNotebook,MetaCharacters,Method,% - MethodOptions,Minimize,MinRecursion,MinSize,% - Mode,ModularLambda,MonomialOrder,MonteCarlo,% - Most,MousePointerNote,MultiDimensional,MultilaunchWarning,% - MultilineFunction,MultiplicativeOrder,Multiplicity,Nand,% - NeedCurrentFrontEndPackagePacket,NeedCurrentFrontEndSymbolsPacket,% - NestedScriptRules,NestWhile,% - NestWhileList,NevilleThetaC,NevilleThetaD,NevilleThetaN,% - NevilleThetaS,Newton,Next,NHoldAll,% - NHoldFirst,NHoldRest,NMaximize,NMinimize,% - NonAssociative,NonPositive,Nor,Norm,% - NormalGrouping,NormalSelection,NormFunction,Notebook,% - NotebookApply,NotebookAutoSave,NotebookClose,NotebookConvert,% - NotebookConvertSettings,NotebookCreate,NotebookCreateReturnObject,NotebookDefault,% - NotebookDelete,NotebookDirectory,NotebookFind,NotebookFindReturnObject,% - NotebookGet,NotebookGetLayoutInformationPacket,NotebookGetMisspellingsPacket,% - NotebookInformation,% - NotebookLocate,NotebookObject,NotebookOpen,NotebookOpenReturnObject,% - NotebookPath,NotebookPrint,NotebookPut,NotebookPutReturnObject,% - NotebookRead,NotebookResetGeneratedCells,Notebooks,NotebookSave,% - NotebookSaveAs,NotebookSelection,NotebookSetupLayoutInformationPacket,% - NotebooksMenu,% - NotebookWrite,NotElement,NProductExtraFactors,NProductFactors,% - NRoots,NSumExtraTerms,NSumTerms,NumberMarks,% - NumberMultiplier,NumberString,NumericFunction,NumericQ,% - NValues,Offset,OLEData,OneStepRowReduction,% - Open,OpenFunctionInspectorPacket,OpenSpecialOptions,OptimizationLevel,% - OptionInspectorSettings,OptionQ,OptionsPacket,OptionValueBox,% - OptionValueBoxOptions,Orange,Ordering,Oscillatory,% - OutputAutoOverwrite,OutputFormData,OutputGrouping,OutputMathEditExpression,% - OutputNamePacket,OutputToOutputForm,OutputToStandardForm,Over,% - Overflow,Overlaps,Overscript,OverscriptBox,% - OverscriptBoxOptions,OwnValues,PadLeft,PadRight,% - PageBreakAbove,PageBreakBelow,PageBreakWithin,PageFooterLines,% - PageFooters,PageHeaderLines,PageHeaders,PalettePath,% - PaperWidth,ParagraphIndent,ParagraphSpacing,ParameterVariables,% - ParentConnect,ParentForm,Parenthesize,PasteBoxFormInlineCells,% - Path,PatternTest,PeriodicInterpolation,Pick,% - Piecewise,PiecewiseExpand,Pink,Pivoting,% - PixelConstrained,Placeholder,Plain,Plot3Matrix,% - PointForm,PolynomialForm,PolynomialReduce,Polynomials,% - PowerModList,Precedence,PreferencesPath,PreserveStyleSheet,% - Previous,PrimaryPlaceholder,Primes,PrincipalValue,% - PrintAction,PrintingCopies,PrintingOptions,PrintingPageRange,% - PrintingStartingPageNumber,PrintingStyleEnvironment,PrintPrecision,% - PrivateCellOptions,% - PrivateEvaluationOptions,PrivateFontOptions,PrivateNotebookOptions,PrivatePaths,% - ProductLog,PromptForm,Purple,Quantile,% - QuasiMonteCarlo,QuasiNewton,RadicalBox,RadicalBoxOptions,% - RandomSeed,RationalFunctions,Rationals,RawData,% - RawMedium,RealBlockForm,Reals,Reap,% - Red,Refine,Refresh,RegularExpression,% - Reinstall,Release,Removed,RenderingOptions,% - RepeatedString,ReplaceList,Rescale,ResetMenusPacket,% - Resolve,ResumePacket,ReturnExpressionPacket,ReturnInputFormPacket,% - ReturnPacket,ReturnTextPacket,Right,Root,% - RootReduce,RootSum,Row,RowAlignments,% - RowBox,RowLines,RowMinHeight,RowsEqual,% - RowSpacings,RSolve,RuleCondition,RuleForm,% - RulerUnits,Saveable,SaveAutoDelete,ScreenRectangle,% - ScreenStyleEnvironment,ScriptBaselineShifts,ScriptLevel,ScriptMinSize,% - ScriptRules,ScriptSizeMultipliers,ScrollingOptions,ScrollPosition,% - Second,SectionGrouping,Selectable,SelectedNotebook,% - Selection,SelectionAnimate,SelectionCell,SelectionCellCreateCell,% - SelectionCellDefaultStyle,SelectionCellParentStyle,SelectionCreateCell,% - SelectionDuplicateCell,% - SelectionEvaluate,SelectionEvaluateCreateCell,SelectionMove,SelectionSetStyle,% - SelectionStrategy,SendFontInformationToKernel,SequenceHold,SequenceLimit,% - SeriesCoefficient,SetBoxFormNamesPacket,SetEvaluationNotebook,% - SetFileLoadingContext,% - SetNotebookStatusLine,SetOptionsPacket,SetSelectedNotebook,% - SetSpeechParametersPacket,% - SetValue,ShortestMatch,ShowAutoStyles,ShowCellBracket,% - ShowCellLabel,ShowCellTags,ShowClosedCellArea,ShowContents,% - ShowCursorTracker,ShowGroupOpenCloseIcon,ShowPageBreaks,ShowSelection,% - ShowShortBoxForm,ShowSpecialCharacters,ShowStringCharacters,% - ShrinkWrapBoundingBox,% - SingleLetterItalics,SingularityDepth,SingularValueDecomposition,% - SingularValueList,% - SinhIntegral,Smaller,Socket,SolveDelayed,% - SoundAndGraphics,Sow,Space,SpaceForm,% - SpanAdjustments,SpanCharacterRounding,SpanLineThickness,SpanMaxSize,% - SpanMinSize,SpanningCharacters,SpanSymmetric,Sparse,% - SparseArray,SpeakTextPacket,SpellingDictionaries,SpellingDictionariesPath,% - SpellingOptions,SpellingSuggestionsPacket,Spherical,Split,% - SqrtBox,SqrtBoxOptions,StandardDeviation,StandardForm,% - StartingStepSize,StartOfLine,StartOfString,StartupSound,% - StepMonitor,StieltjesGamma,StoppingTest,StringCases,% - StringCount,StringExpression,StringFreeQ,StringQ,% - StringReplaceList,StringReplacePart,StringSplit,StripBoxes,% - StripWrapperBoxes,StructuredSelection,StruveH,StruveL,% - StyleBox,StyleBoxAutoDelete,StyleBoxOptions,StyleData,% - StyleDefinitions,StyleForm,StyleMenuListing,StyleNameDialogSettings,% - StylePrint,StyleSheetPath,Subresultants,SubscriptBox,% - SubscriptBoxOptions,Subsets,Subsuperscript,SubsuperscriptBox,% - SubsuperscriptBoxOptions,SubtractFrom,SubValues,SugarCube,% - SuperscriptBox,SuperscriptBoxOptions,SuspendPacket,SylvesterMatrix,% - SymbolName,Syntax,SyntaxForm,SyntaxPacket,% - SystemException,SystemHelpPath,SystemStub,Tab,% - TabFilling,TabSpacings,TagBox,TagBoxOptions,% - TaggingRules,TagStyle,TargetFunctions,TemporaryVariable,% - TensorQ,TeXSave,TextAlignment,TextBoundingBox,% - TextData,TextJustification,TextLine,TextPacket,% - TextParagraph,TextRendering,TextStyle,ThisLink,% - TimeConstraint,TimeVariable,TitleGrouping,ToBoxes,% - ToColor,ToFileName,Toggle,ToggleFalse,% - Tolerance,TooBig,Top,ToRadicals,% - Total,Tr,TraceAction,TraceInternal,% - TraceLevel,TraditionalForm,TraditionalFunctionNotation,TraditionalNotation,% - TraditionalOrder,TransformationFunctions,TransparentColor,Trapezoidal,% - TrigExpand,TrigFactor,TrigFactorList,TrigReduce,% - TrigToExp,Tuples,UnAlias,Underflow,% - Underoverscript,UnderoverscriptBox,UnderoverscriptBoxOptions,Underscript,% - UnderscriptBox,UnderscriptBoxOptions,UndocumentedTestFEParserPacket,% - UndocumentedTestGetSelectionPacket,% - UnitStep,Up,URL,Using,% - V2Get,Value,ValueBox,ValueBoxOptions,% - ValueForm,Variance,Verbatim,Verbose,% - VerboseConvertToPostScriptPacket,VerifyConvergence,VerifySolutions,Version,% - VersionNumber,Vertical,VerticalForm,ViewPointSelectorSettings,% - Visible,VisibleCell,WeierstrassHalfPeriods,WeierstrassInvariants,% - WeierstrassSigma,WeierstrassZeta,White,Whitespace,% - WhitespaceCharacter,WindowClickSelect,WindowElements,WindowFloating,% - WindowFrame,WindowFrameElements,WindowMargins,WindowMovable,% - WindowSize,WindowTitle,WindowToolbars,WindowWidth,% - WordBoundary,WordCharacter,WynnDegree,XMLElement},% - morendkeywords={$,$AddOnsDirectory,$AnimationDisplayFunction,% - $AnimationFunction,% - $Assumptions,$BaseDirectory,$BoxForms,$ByteOrdering,% - $CharacterEncoding,$ConditionHold,$CurrentLink,$DefaultPath,% - $ExportEncodings,$ExportFormats,$FormatType,$FrontEnd,% - $HistoryLength,$HomeDirectory,$ImportEncodings,$ImportFormats,% - $InitialDirectory,$InstallationDate,$InstallationDirectory,% - $InterfaceEnvironment,% - $LaunchDirectory,$LicenseExpirationDate,$LicenseID,$LicenseProcesses,% - $LicenseServer,$MachineDomain,$MaxExtraPrecision,$MaxLicenseProcesses,% - $MaxNumber,$MaxPiecewiseCases,$MaxPrecision,$MaxRootDegree,% - $MinNumber,$MinPrecision,$NetworkLicense,$NumberMarks,% - $Off,$OutputForms,$ParentLink,$ParentProcessID,% - $PasswordFile,$PathnameSeparator,$PreferencesDirectory,$PrintForms,% - $PrintLiteral,$ProcessID,$ProcessorType,$ProductInformation,% - $ProgramName,$PSDirectDisplay,$RandomState,$RasterFunction,% - $RootDirectory,$SetParentLink,$SoundDisplay,$SuppressInputFormHeads,% - $SystemCharacterEncoding,$SystemID,$TemporaryPrefix,$TextStyle,% - $TopDirectory,$TraceOff,$TraceOn,$TracePattern,% - $TracePostAction,$TracePreAction,$UserAddOnsDirectory,$UserBaseDirectory,% - $UserName,Constant,Flat,HoldAll,% - HoldAllComplete,HoldFirst,HoldRest,Listable,% - Locked,NHoldAll,NHoldFirst,NHoldRest,% - NumericFunction,OneIdentity,Orderless,Protected,% - ReadProtected,SequenceHold},% - }% +\lst@definelanguage[5.2]{Mathematica}[3.0]{Mathematica}{% + morekeywords={Above, AbsoluteOptions, AbsoluteTiming, AccountingForm,% + AccuracyGoal, Active, ActiveItem, AddOnHelpPath, AdjustmentBox,% + AdjustmentBoxOptions, After, AiryAiPrime, AlgebraicRulesData,% + Algebraics, Alias, AlignmentMarker, AllowInlineCells,% + AllowScriptLevelChange, Analytic, AnimationCycleOffset,% + AnimationCycleRepetitions, AnimationDirection, AnimationDisplayTime,% + ApartSquareFree, AppellF1, ArgumentCountQ, ArrayDepth, ArrayPlot,% + ArrayQ, ArrayRules, AspectRatioFixed, Assuming, Assumptions,% + AutoDelete, AutoEvaluateEvents, AutoGeneratedPackage, AutoIndent,% + AutoIndentSpacings, AutoItalicWords, AutoloadPath, AutoOpenNotebooks,% + AutoOpenPalettes, AutoScroll, AutoSpacing, AutoStyleOptions, Axis,% + BackgroundTasksSettings, Backsubstitution, Backward, Baseline, Before,% + BeginDialogPacket, BeginFrontEndInteractionPacket, Below, BezoutMatrix,% + BinaryFormat, BinaryGet, BinaryRead, BinaryReadList, BinaryWrite,% + BitAnd, BitNot, BitOr, BitXor, Black, BlankForm, Blue, Boole, Booleans,% + Bottom, Bounds, Box, BoxBaselineShift, BoxData, BoxDimensions,% + BoxFormFormatTypes, BoxFrame, BoxMargins, BoxRegion, Brown, Buchberger,% + Button, ButtonBox, ButtonBoxOptions, ButtonCell, ButtonContents,% + ButtonData, ButtonEvaluator, ButtonExpandable, ButtonFrame,% + ButtonFunction, ButtonMargins, ButtonMinHeight, ButtonNote,% + ButtonNotebook, ButtonSource, ButtonStyle, ButtonStyleMenuListing,% + ByteOrdering, CallPacket, CarmichaelLambda, Cell, CellAutoOverwrite,% + CellBaseline, CellBoundingBox, CellBracketOptions, CellContents,% + CellDingbat, CellEditDuplicate, CellElementsBoundingBox,% + CellElementSpacings, CellEvaluationDuplicate, CellFrame,% + CellFrameColor, CellFrameLabelMargins, CellFrameLabels,% + CellFrameMargins, CellGroup, CellGroupData, CellGrouping,% + CellGroupingRules, CellHorizontalScrolling, CellLabel,% + CellLabelAutoDelete, CellLabelMargins, CellLabelPositioning,% + CellMargins, CellObject, CellOpen, CellPasswords, CellPrint, CellSize,% + CellStyle, CellTags, CellularAutomaton, Center, CharacterEncoding,% + CharacterEncodingsPath, CharacteristicPolynomial, CharacterRange,% + CheckAll, CholeskyDecomposition, Clip, ClipboardNotebook, Closed,% + ClosingAutoSave, CoefficientArrays, CoefficientDomain,% + CofactorExpansion, ColonForm, ColorFunctionScaling, ColorRules,% + ColorSelectorSettings, Column, ColumnAlignments, ColumnLines,% + ColumnsEqual, ColumnSpacings, ColumnWidths, CommonDefaultFormatTypes,% + CompileOptimizations, CompletionsListPacket, Complexes,% + ComplexityFunction, Compose, ComposeSeries, ConfigurationPath,% + ConjugateTranspose, Connect, ConsoleMessage, ConsoleMessagePacket,% + ConsolePrint, ContentsBoundingBox, ContextToFileName,% + ContinuedFraction, ConversionOptions, ConversionRules,% + ConvertToBitmapPacket, ConvertToPostScript, ConvertToPostScriptPacket,% + Copyable, CoshIntegral, CounterAssignments, CounterBox,% + CounterBoxOptions, CounterEvaluator, CounterFunction,% + CounterIncrements, CounterStyle, CounterStyleMenuListing,% + CreatePalettePacket, Cross, CurrentlySpeakingPacket, Cyan,% + CylindricalDecomposition, DampingFactor, DataRange, Debug, DebugTag,% + Decimal, DedekindEta, DefaultDuplicateCellStyle, DefaultFontProperties,% + DefaultFormatType, DefaultFormatTypeForStyle, DefaultInlineFormatType,% + DefaultInputFormatType, DefaultNaturalLanguage, DefaultNewCellStyle,% + DefaultNewInlineCellStyle, DefaultNotebook, DefaultOutputFormatType,% + DefaultStyleDefinitions, DefaultTextFormatType,% + DefaultTextInlineFormatType, DefaultValues, DefineExternal,% + DegreeLexicographic, DegreeReverseLexicographic, Deletable,% + DeleteContents, DeletionWarning, DelimiterFlashTime, DelimiterMatching,% + Delimiters, DependentVariables, DiacriticalPositioning, DialogLevel,% + DifferenceOrder, DigitCharacter, DigitCount, DiracDelta, Direction,% + DirectoryName, DisableConsolePrintPacket, DiscreteDelta,% + DisplayAnimation, DisplayEndPacket, DisplayFlushImagePacket,% + DisplayForm, DisplayPacket, DisplayRules, DisplaySetSizePacket,% + DisplayString, DivisionFreeRowReduction, DOSTextFormat,% + DoubleExponential, DoublyInfinite, Down, DragAndDrop, DrawHighlighted,% + DualLinearProgramming, DumpGet, DumpSave, Edit, Editable,% + EditButtonSettings, EditCellTagsSettings, EditDefinition, EditIn,% + Element, EliminationOrder, EllipticExpPrime, EllipticNomeQ,% + EllipticReducedHalfPeriods, EllipticThetaPrime, Empty,% + EnableConsolePrintPacket, Encoding, EndAdd, EndDialogPacket,% + EndFrontEndInteractionPacket, EndOfLine, EndOfString, Enter,% + EnterExpressionPacket, EnterTextPacket, EqualColumns, EqualRows,% + EquatedTo, Erfi, ErrorBox, ErrorBoxOptions, ErrorNorm, ErrorPacket,% + ErrorsDialogSettings, Evaluatable, EvaluatePacket, EvaluationCell,% + EvaluationCompletionAction, EvaluationMonitor, EvaluationNotebook,% + Evaluator, EvaluatorNames, EventEvaluator, ExactNumberQ,% + ExactRootIsolation, Except, ExcludedForms, Exists, ExitDialog,% + ExponentPosition, ExponentStep, Export, ExportAutoReplacements,% + ExportPacket, ExportString, ExpressionPacket, ExpToTrig, Extension,% + ExternalCall, ExternalDataCharacterEncoding, Extract, Fail,% + FEDisableConsolePrintPacket, FEEnableConsolePrintPacket, Fibonacci,% + File, FileFormat, FileInformation, FileName, FileNameDialogSettings,% + FindFit, FindInstance, FindMaximum, FindSettings, FitAll,% + FlushPrintOutputPacket, Font, FontColor, FontFamily, FontName,% + FontPostScriptName, FontProperties, FontReencoding, FontSize,% + FontSlant, FontSubstitutions, FontTracking, FontVariations, FontWeight,% + ForAll, FormatRules, FormatTypeAutoConvert, FormatValues, FormBox,% + FormBoxOptions, Forward, ForwardBackward, FourierCosTransform,% + FourierParameters, FourierSinTransform, FourierTransform,% + FractionalPart, FractionBox, FractionBoxOptions, FractionLine,% + FrameBox, FrameBoxOptions, FresnelC, FresnelS, FromContinuedFraction,% + FromDigits, FrontEndExecute, FrontEndObject, FrontEndStackSize,% + FrontEndToken, FrontEndTokenExecute, FrontEndVersion, Full, FullAxes,% + FullSimplify, FunctionExpand, FunctionInterpolation, GaussKronrod,% + GaussPoints, GenerateBitmapCaches, GenerateConditions, GeneratedCell,% + GeneratedParameters, Generic, GetBoundingBoxSizePacket, GetContext,% + GetFileName, GetFrontEndOptionsDataPacket,% + GetLinebreakInformationPacket, GetMenusPacket,% + GetPageBreakInformationPacket, Glaisher, GlobalPreferences,% + GlobalSession, Gradient, GraphicsData, GraphicsGrouping, Gray, Green,% + Grid, GridBaseline, GridBox, GridBoxOptions, GridCreationSettings,% + GridDefaultElement, GridFrame, GridFrameMargins, GroupPageBreakWithin,% + HarmonicNumber, Hash, HashTable, HeadCompose, HelpBrowserLookup,% + HelpBrowserNotebook, HelpBrowserSettings, HessenbergDecomposition,% + Hessian, HoldAllComplete, HoldComplete, HoldPattern, Horizontal,% + HorizontalForm, HorizontalScrollPosition, HTMLSave,% + Hypergeometric0F1Regularized, Hypergeometric1F1Regularized,% + Hypergeometric2F1Regularized, HypergeometricPFQ,% + HypergeometricPFQRegularized, HyperlinkCreationSettings, Hyphenation,% + HyphenationOptions, IgnoreCase, ImageCache, ImageCacheValid,% + ImageMargins, ImageOffset, ImageRangeCache, ImageRegion,% + ImageResolution, ImageRotated, ImageSize, Import,% + ImportAutoReplacements, ImportString, IncludeFileExtension,% + IncludeSingularTerm, IndentingNewlineSpacings, IndentMaxFraction,% + IndexCreationOptions, Inequality, InexactNumberQ, InexactNumbers,% + Inherited, InitializationCell, InitializationCellEvaluation,% + InitializationCellWarning, InlineCounterAssignments,% + InlineCounterIncrements, InlineRules, InputAliases, InputAutoFormat,% + InputAutoReplacements, InputGrouping, InputNamePacket, InputNotebook,% + InputPacket, InputSettings, InputStringPacket, InputToBoxFormPacket,% + InputToInputForm, InputToStandardForm, InsertionPointObject,% + IntegerExponent, IntegerPart, Integers, Interactive, Interlaced,% + InterpolationOrder, InterpolationPoints, InterpolationPrecision,% + InterpretationBox, InterpretationBoxOptions, InterpretTemplate,% + InterruptSettings, Interval, IntervalIntersection, IntervalMemberQ,% + IntervalUnion, InverseBetaRegularized, InverseEllipticNomeQ,% + InverseErf, InverseErfc, InverseFourierCosTransform,% + InverseFourierSinTransform, InverseFourierTransform,% + InverseGammaRegularized, InverseJacobiCD, InverseJacobiCN,% + InverseJacobiCS, InverseJacobiDC, InverseJacobiDN, InverseJacobiDS,% + InverseJacobiNC, InverseJacobiND, InverseJacobiNS, InverseJacobiSC,% + InverseJacobiSD, InverseLaplaceTransform, InverseWeierstrassP,% + InverseZTransform, Jacobian, JacobiCD, JacobiCN, JacobiCS, JacobiDC,% + JacobiDN, JacobiDS, JacobiNC, JacobiND, JacobiNS, JacobiSC, JacobiSD,% + JordanDecomposition, K, Khinchin, KleinInvariantJ, KroneckerDelta,% + Language, LanguageCategory, LaplaceTransform, Larger, Launch,% + LayoutInformation, Left, LetterCharacter, Lexicographic, LicenseID,% + LimitsPositioning, LimitsPositioningTokens, LinearSolveFunction,% + LinebreakAdjustments, LineBreakWithin, LineForm, LineIndent,% + LineSpacing, LineWrapParts, LinkActivate, LinkClose, LinkConnect,% + LinkConnectedQ, LinkCreate, LinkError, LinkFlush, LinkHost,% + LinkInterrupt, LinkLaunch, LinkMode, LinkObject, LinkOpen, LinkOptions,% + LinkPatterns, LinkProtocol, LinkRead, LinkReadHeld, LinkReadyQ, Links,% + LinkWrite, LinkWriteHeld, ListConvolve, ListCorrelate, Listen,% + ListInterpolation, ListQ, LiteralSearch, LongestMatch, LongForm,% + Loopback, LUBackSubstitution, LUDecomposition, MachineID, MachineName,% + MachinePrecision, MacintoshSystemPageSetup, Magenta, Magnification,% + MakeBoxes, MakeExpression, MakeRules, Manual, MatchLocalNameQ,% + MathematicaNotation, MathieuC, MathieuCharacteristicA,% + MathieuCharacteristicB, MathieuCharacteristicExponent, MathieuCPrime,% + MathieuS, MathieuSPrime, MathMLForm, MathMLText, MatrixRank, Maximize,% + MaxIterations, MaxPlotPoints, MaxPoints, MaxRecursion, MaxStepFraction,% + MaxSteps, MaxStepSize, Mean, Median, MeijerG, MenuPacket,% + MessageOptions, MessagePacket, MessagesNotebook, MetaCharacters,% + Method, MethodOptions, Minimize, MinRecursion, MinSize, Mode,% + ModularLambda, MonomialOrder, MonteCarlo, Most, MousePointerNote,% + MultiDimensional, MultilaunchWarning, MultilineFunction,% + MultiplicativeOrder, Multiplicity, Nand,% + NeedCurrentFrontEndPackagePacket, NeedCurrentFrontEndSymbolsPacket,% + NestedScriptRules, NestWhile, NestWhileList, NevilleThetaC,% + NevilleThetaD, NevilleThetaN, NevilleThetaS, Newton, Next, NHoldAll,% + NHoldFirst, NHoldRest, NMaximize, NMinimize, NonAssociative,% + NonPositive, Nor, Norm, NormalGrouping, NormalSelection, NormFunction,% + Notebook, NotebookApply, NotebookAutoSave, NotebookClose,% + NotebookConvert, NotebookConvertSettings, NotebookCreate,% + NotebookCreateReturnObject, NotebookDefault, NotebookDelete,% + NotebookDirectory, NotebookFind, NotebookFindReturnObject, NotebookGet,% + NotebookGetLayoutInformationPacket, NotebookGetMisspellingsPacket,% + NotebookInformation, NotebookLocate, NotebookObject, NotebookOpen,% + NotebookOpenReturnObject, NotebookPath, NotebookPrint, NotebookPut,% + NotebookPutReturnObject, NotebookRead, NotebookResetGeneratedCells,% + Notebooks, NotebookSave, NotebookSaveAs, NotebookSelection,% + NotebookSetupLayoutInformationPacket, NotebooksMenu, NotebookWrite,% + NotElement, NProductExtraFactors, NProductFactors, NRoots,% + NSumExtraTerms, NSumTerms, NumberMarks, NumberMultiplier, NumberString,% + NumericFunction, NumericQ, NValues, Offset, OLEData,% + OneStepRowReduction, Open, OpenFunctionInspectorPacket,% + OpenSpecialOptions, OptimizationLevel, OptionInspectorSettings,% + OptionQ, OptionsPacket, OptionValueBox, OptionValueBoxOptions, Orange,% + Ordering, Oscillatory, OutputAutoOverwrite, OutputFormData,% + OutputGrouping, OutputMathEditExpression, OutputNamePacket,% + OutputToOutputForm, OutputToStandardForm, Over, Overflow, Overlaps,% + Overscript, OverscriptBox, OverscriptBoxOptions, OwnValues, PadLeft,% + PadRight, PageBreakAbove, PageBreakBelow, PageBreakWithin,% + PageFooterLines, PageFooters, PageHeaderLines, PageHeaders,% + PalettePath, PaperWidth, ParagraphIndent, ParagraphSpacing,% + ParameterVariables, ParentConnect, ParentForm, Parenthesize,% + PasteBoxFormInlineCells, Path, PatternTest, PeriodicInterpolation,% + Pick, Piecewise, PiecewiseExpand, Pink, Pivoting, PixelConstrained,% + Placeholder, Plain, Plot3Matrix, PointForm, PolynomialForm,% + PolynomialReduce, Polynomials, PowerModList, Precedence,% + PreferencesPath, PreserveStyleSheet, Previous, PrimaryPlaceholder,% + Primes, PrincipalValue, PrintAction, PrintingCopies, PrintingOptions,% + PrintingPageRange, PrintingStartingPageNumber,% + PrintingStyleEnvironment, PrintPrecision, PrivateCellOptions,% + PrivateEvaluationOptions, PrivateFontOptions, PrivateNotebookOptions,% + PrivatePaths, ProductLog, PromptForm, Purple, Quantile,% + QuasiMonteCarlo, QuasiNewton, RadicalBox, RadicalBoxOptions,% + RandomSeed, RationalFunctions, Rationals, RawData, RawMedium,% + RealBlockForm, Reals, Reap, Red, Refine, Refresh, RegularExpression,% + Reinstall, Release, Removed, RenderingOptions, RepeatedString,% + ReplaceList, Rescale, ResetMenusPacket, Resolve, ResumePacket,% + ReturnExpressionPacket, ReturnInputFormPacket, ReturnPacket,% + ReturnTextPacket, Right, Root, RootReduce, RootSum, Row, RowAlignments,% + RowBox, RowLines, RowMinHeight, RowsEqual, RowSpacings, RSolve,% + RuleCondition, RuleForm, RulerUnits, Saveable, SaveAutoDelete,% + ScreenRectangle, ScreenStyleEnvironment, ScriptBaselineShifts,% + ScriptLevel, ScriptMinSize, ScriptRules, ScriptSizeMultipliers,% + ScrollingOptions, ScrollPosition, Second, SectionGrouping, Selectable,% + SelectedNotebook, Selection, SelectionAnimate, SelectionCell,% + SelectionCellCreateCell, SelectionCellDefaultStyle,% + SelectionCellParentStyle, SelectionCreateCell, SelectionDuplicateCell,% + SelectionEvaluate, SelectionEvaluateCreateCell, SelectionMove,% + SelectionSetStyle, SelectionStrategy, SendFontInformationToKernel,% + SequenceHold, SequenceLimit, SeriesCoefficient, SetBoxFormNamesPacket,% + SetEvaluationNotebook, SetFileLoadingContext, SetNotebookStatusLine,% + SetOptionsPacket, SetSelectedNotebook, SetSpeechParametersPacket,% + SetValue, ShortestMatch, ShowAutoStyles, ShowCellBracket,% + ShowCellLabel, ShowCellTags, ShowClosedCellArea, ShowContents,% + ShowCursorTracker, ShowGroupOpenCloseIcon, ShowPageBreaks,% + ShowSelection, ShowShortBoxForm, ShowSpecialCharacters,% + ShowStringCharacters, ShrinkWrapBoundingBox, SingleLetterItalics,% + SingularityDepth, SingularValueDecomposition, SingularValueList,% + SinhIntegral, Smaller, Socket, SolveDelayed, SoundAndGraphics, Sow,% + Space, SpaceForm, SpanAdjustments, SpanCharacterRounding,% + SpanLineThickness, SpanMaxSize, SpanMinSize, SpanningCharacters,% + SpanSymmetric, Sparse, SparseArray, SpeakTextPacket,% + SpellingDictionaries, SpellingDictionariesPath, SpellingOptions,% + SpellingSuggestionsPacket, Spherical, Split, SqrtBox, SqrtBoxOptions,% + StandardDeviation, StandardForm, StartingStepSize, StartOfLine,% + StartOfString, StartupSound, StepMonitor, StieltjesGamma, StoppingTest,% + StringCases, StringCount, StringExpression, StringFreeQ, StringQ,% + StringReplaceList, StringReplacePart, StringSplit, StripBoxes,% + StripWrapperBoxes, StructuredSelection, StruveH, StruveL, StyleBox,% + StyleBoxAutoDelete, StyleBoxOptions, StyleData, StyleDefinitions,% + StyleForm, StyleMenuListing, StyleNameDialogSettings, StylePrint,% + StyleSheetPath, Subresultants, SubscriptBox, SubscriptBoxOptions,% + Subsets, Subsuperscript, SubsuperscriptBox, SubsuperscriptBoxOptions,% + SubtractFrom, SubValues, SugarCube, SuperscriptBox,% + SuperscriptBoxOptions, SuspendPacket, SylvesterMatrix, SymbolName,% + Syntax, SyntaxForm, SyntaxPacket, SystemException, SystemHelpPath,% + SystemStub, Tab, TabFilling, TabSpacings, TagBox, TagBoxOptions,% + TaggingRules, TagStyle, TargetFunctions, TemporaryVariable, TensorQ,% + TeXSave, TextAlignment, TextBoundingBox, TextData, TextJustification,% + TextLine, TextPacket, TextParagraph, TextRendering, TextStyle,% + ThisLink, TimeConstraint, TimeVariable, TitleGrouping, ToBoxes,% + ToColor, ToFileName, Toggle, ToggleFalse, Tolerance, TooBig, Top,% + ToRadicals, Total, Tr, TraceAction, TraceInternal, TraceLevel,% + TraditionalForm, TraditionalFunctionNotation, TraditionalNotation,% + TraditionalOrder, TransformationFunctions, TransparentColor,% + Trapezoidal, TrigExpand, TrigFactor, TrigFactorList, TrigReduce,% + TrigToExp, Tuples, UnAlias, Underflow, Underoverscript,% + UnderoverscriptBox, UnderoverscriptBoxOptions, Underscript,% + UnderscriptBox, UnderscriptBoxOptions, UndocumentedTestFEParserPacket,% + UndocumentedTestGetSelectionPacket, UnitStep, Up, URL, Using, V2Get,% + Value, ValueBox, ValueBoxOptions, ValueForm, Variance, Verbatim,% + Verbose, VerboseConvertToPostScriptPacket, VerifyConvergence,% + VerifySolutions, Version, VersionNumber, Vertical, VerticalForm,% + ViewPointSelectorSettings, Visible, VisibleCell,% + WeierstrassHalfPeriods, WeierstrassInvariants, WeierstrassSigma,% + WeierstrassZeta, White, Whitespace, WhitespaceCharacter,% + WindowClickSelect, WindowElements, WindowFloating, WindowFrame,% + WindowFrameElements, WindowMargins, WindowMovable, WindowSize,% + WindowTitle, WindowToolbars, WindowWidth, WordBoundary, WordCharacter,% + WynnDegree, XMLElement},% + morendkeywords={$,$AddOnsDirectory,$AnimationDisplayFunction,% + $AnimationFunction,% + $Assumptions,$BaseDirectory,$BoxForms,$ByteOrdering,% + $CharacterEncoding,$ConditionHold,$CurrentLink,$DefaultPath,% + $ExportEncodings,$ExportFormats,$FormatType,$FrontEnd,% + $HistoryLength,$HomeDirectory,$ImportEncodings,$ImportFormats,% + $InitialDirectory,$InstallationDate,$InstallationDirectory,% + $InterfaceEnvironment,% + $LaunchDirectory,$LicenseExpirationDate,$LicenseID,$LicenseProcesses,% + $LicenseServer,$MachineDomain,$MaxExtraPrecision,$MaxLicenseProcesses,% + $MaxNumber,$MaxPiecewiseCases,$MaxPrecision,$MaxRootDegree,% + $MinNumber,$MinPrecision,$NetworkLicense,$NumberMarks,% + $Off,$OutputForms,$ParentLink,$ParentProcessID,% + $PasswordFile,$PathnameSeparator,$PreferencesDirectory,$PrintForms,% + $PrintLiteral,$ProcessID,$ProcessorType,$ProductInformation,% + $ProgramName,$PSDirectDisplay,$RandomState,$RasterFunction,% + $RootDirectory,$SetParentLink,$SoundDisplay,$SuppressInputFormHeads,% + $SystemCharacterEncoding,$SystemID,$TemporaryPrefix,$TextStyle,% + $TopDirectory,$TraceOff,$TraceOn,$TracePattern,% + $TracePostAction,$TracePreAction,$UserAddOnsDirectory,$UserBaseDirectory,% + $UserName,Constant,Flat,HoldAll,% + HoldAllComplete,HoldFirst,HoldRest,Listable,% + Locked,NHoldAll,NHoldFirst,NHoldRest,% + NumericFunction,OneIdentity,Orderless,Protected,% + ReadProtected,SequenceHold},% +}% %% %% Mathematica definitions (c) 1999 Michael Wiese %% @@ -2952,34 +2929,36 @@ %% Python definition (c) 1998 Michael Weber %% Additional definitions (2013) Alexis Dimitriadis %% -\lst@definelanguage{Python}% - {morekeywords={access,and,break,class,continue,def,del,elif,else,% - except,exec,finally,for,from,global,if,import,in,is,lambda,not,% - or,pass,print,raise,return,try,while},% +\lst@definelanguage{Python}{% + morekeywords={access, and, break, class, continue, def, del, elif, else,% + except, exec, finally, for, from, global, if, import, in, is, lambda,% + not, or, pass, print, raise, return, try, while},% % Built-ins - morekeywords=[2]{abs,all,any,basestring,bin,bool,bytearray,callable,chr, - classmethod,cmp,compile,complex,delattr,dict,dir,divmod,enumerate,eval, - execfile,file,filter,float,format,frozenset,getattr,globals,hasattr,hash, - help,hex,id,input,int,isinstance,issubclass,iter,len,list,locals,long,map, - max,memoryview,min,next,object,oct,open,ord,pow,property,range,raw_input, - reduce,reload,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str, - sum,super,tuple,type,unichr,unicode,vars,xrange,zip,apply,buffer,coerce, - intern}, - sensitive=true,% - morecomment=[l]\#,% - morestring=[b]',% - morestring=[b]",% - morecomment=[s]{'''}{'''},% used for documentation text (mulitiline strings) - morecomment=[s]{"""}{"""},% added by Philipp Matthias Hahn - morestring=[s]{r'}{'},% `raw' strings - morestring=[s]{r"}{"},% - morestring=[s]{r'''}{'''},% - morestring=[s]{r"""}{"""},% - morestring=[s]{u'}{'},% unicode strings - morestring=[s]{u"}{"},% - morestring=[s]{u'''}{'''},% - morestring=[s]{u"""}{"""}% - }% + morekeywords=[2]{abs, all, any, basestring, bin, bool, bytearray,% + callable, chr, classmethod, cmp, compile, complex, delattr, dict, dir,% + divmod, enumerate, eval, execfile, file, filter, float, format,% + frozenset, getattr, globals, hasattr, hash, help, hex, id, input, int,% + isinstance, issubclass, iter, len, list, locals, long, map, max,% + memoryview, min, next, object, oct, open, ord, pow, property, range,% + raw_input, reduce, reload, repr, reversed, round, set, setattr, slice,% + sorted, staticmethod, str, sum, super, tuple, type, unichr, unicode,% + vars, xrange, zip, apply, buffer, coerce, intern},% + sensitive=true,% + morecomment=[l]\#,% + morestring=[b]',% + morestring=[b]",% + morecomment=[s]{'''}{'''},% used for documentation text + % (mulitiline strings) + morecomment=[s]{"""}{"""},% added by Philipp Matthias Hahn + morestring=[s]{r'}{'},% `raw' strings + morestring=[s]{r"}{"},% + morestring=[s]{r'''}{'''},% + morestring=[s]{r"""}{"""},% + morestring=[s]{u'}{'},% unicode strings + morestring=[s]{u"}{"},% + morestring=[s]{u'''}{'''},% + morestring=[s]{u"""}{"""}% +}% %% %% Scilab definition (c) 2002,2003 Jean-Philippe Grivet %% @@ -3149,7 +3128,7 @@ %% \lst@definelanguage{SQL}% {morekeywords={ABSOLUTE,ACTION,ADD,ALLOCATE,ALTER,ARE,AS,ASSERTION,% - AT,BETWEEN,BIT_LENGTH,BOTH,BY,CASCADE,CASCADED,CASE,CAST,% + AT,BEGIN,BETWEEN,BIT_LENGTH,BOTH,BY,CASCADE,CASCADED,CASE,CAST,% CATALOG,CHAR_LENGTH,CHARACTER_LENGTH,CLUSTER,COALESCE,% COLLATE,COLLATION,COLUMN,CONNECT,CONNECTION,CONSTRAINT,% CONSTRAINTS,CONVERT,CORRESPONDING,CREATE,CROSS,CURRENT_DATE,% @@ -3211,58 +3190,69 @@ \lst@definelanguage{XSLT}[]{XML}% {morekeywords={% % main elements - xsl:stylesheet,xsl:transform,% + xsl:stylesheet, xsl:transform,% % childs of the main element - xsl:apply-imports,xsl:attribute-set,xsl:decimal-format,xsl:import,% - xsl:include,xsl:key,xsl:namespace-alias,xsl:output,xsl:param,% - xsl:preserve-space,xsl:strip-space,xsl:template,xsl:variable,% + xsl:apply-imports, xsl:attribute-set, xsl:decimal-format, xsl:import,% + xsl:include, xsl:key, xsl:namespace-alias, xsl:output, xsl:param,% + xsl:preserve-space, xsl:strip-space, xsl:template, xsl:variable,% % 21 directives - xsl:apply-imports,xsl:apply-templates,xsl:attribute,% - xsl:call-template,xsl:choose,xsl:comment,xsl:copy,xsl:copy-of,% - xsl:element,xsl:fallback,xsl:for-each,xsl:if,xsl:message,% - xsl:number,xsl:otherwise,xsl:processing-instruction,xsl:text,% - xsl:value-of,xsl:variable,xsl:when,xsl:with-param},% + xsl:apply-imports, xsl:apply-templates, xsl:attribute,% + xsl:call-template, xsl:choose, xsl:comment, xsl:copy, xsl:copy-of,% + xsl:element, xsl:fallback, xsl:for-each, xsl:if, xsl:message,% + xsl:number, xsl:otherwise, xsl:processing-instruction, xsl:text,% + xsl:value-of, xsl:variable, xsl:when, xsl:with-param},% alsodigit={-},% }% -\lst@definelanguage{Ant}[]{XML}% - {morekeywords={% - project,target,patternset,include,exclude,excludesfile,includesfile,filterset,% - filter,filtersfile,libfileset,custom,classpath,fileset,none,depend,mapper,% - filename,not,date,contains,selector,depth,or,and,present,majority,size,dirset,% - filelist,pathelement,path,param,filterreader,extension,filterchain,linecontainsregexp,% - regexp,classconstants,headfilter,tabstospaces,striplinebreaks,tailfilter,stripjavacomments,% - expandproperties,linecontains,replacetokens,token,striplinecomments,comment,prefixlines,% - classfileset,rootfileset,root,description,xmlcatalog,entity,dtd,substitution,% - extensionSet,propertyfile,entry,vsscheckin,sql,transaction,cvspass,csc,% - dirname,wlrun,wlclasspath,p4label,replaceregexp,get,jjtree,sleep,jarlib,% - dependset,targetfileset,srcfileset,srcfilelist,targetfilelist,zip,zipgroupfileset,zipfileset,% - patch,jspc,webapp,style,test,arg,jvmarg,sysproperty,testlet,env,tstamp,% - format,unwar,vsshistory,icontract,cvschangelog,user,p4submit,ccmcheckin,% - p4change,bzip2,vssadd,javadoc,bottom,source,doctitle,header,excludepackage,bootclasspath,% - doclet,taglet,packageset,sourcepath,link,footer,package,group,title,tag,% - translate,signjar,vajload,vajproject,jarlib,extensionset,WsdlToDotnet,buildnumber,% - jpcovmerge,tomcat,ejbjar,weblogictoplink,jboss,borland,weblogic,iplanet,jonas,% - support,websphere,wasclasspath,war,manifest,attribute,section,metainf,lib,% - classes,webinf,rename,sequential,serverdeploy,generic,property,move,% - copydir,cccheckin,wljspc,fixcrlf,sosget,pathconvert,map,record,p4sync,exec,% - p4edit,maudit,rulespath,searchpath,antlr,netrexxc,jpcovreport,reference,filters,% - coveragepath,execon,targetfile,srcfile,ccmcheckout,ant,xmlvalidate,xslt,% - iplanet,ccmcheckintask,gzip,native2ascii,starteam,ear,archives,input,% - rmic,extdirs,compilerarg,checksum,mail,bcc,message,cc,to,from,loadfile,vsscheckout,% - stylebook,soscheckin,mimemail,stlabel,gunzip,concat,cab,touch,parallel,splash,% - antcall,cccheckout,typedef,p4have,xmlproperty,copy,tomcat,antstructure,ccmcreatetask,% - rpm,delete,replace,replacefilter,replacetoken,replacevalue,mmetrics,waitfor,isfalse,% - equals,available,filepath,os,filesmatch,istrue,isset,socket,http,uptodate,srcfiles,% - untar,loadproperties,echoproperties,vajexport,stcheckout,bunzip2,copyfile,vsscreate,% - ejbc,unjar,tomcat,wsdltodotnet,mkdir,condition,cvs,commandline,marker,argument,% - tempfile,junitreport,report,taskdef,echo,ccupdate,java,renameext,vsslabel,basename,% - javadoc2,vsscp,tar,tarfileset,tomcat,vajimport,setproxy,wlstop,p4counter,ilasm,% - soscheckout,apply,ccuncheckout,jarlib,location,url,cvstagdiff,jlink,mergefiles,% - addfiles,javacc,pvcs,pvcsproject,jarlib,options,depends,chmod,jar,sound,fail,% - success,mparse,blgenclient,genkey,dname,javah,class,ccmreconfigure,unzip,javac,% - src,p4add,soslabel,jpcoverage,triggers,method,vssget,deltree,ddcreator}, - deletekeywords={default},% - } +\lst@definelanguage{Ant}[]{XML}{% + morekeywords={% + project, target, patternset, include, exclude, excludesfile,% + includesfile, filterset, filter, filtersfile, libfileset, custom,% + classpath, fileset, none, depend, mapper, filename, not, date,% + contains, selector, depth, or, and, present, majority, size, dirset,% + filelist, pathelement, path, param, filterreader, extension,% + filterchain, linecontainsregexp, regexp, classconstants, headfilter,% + tabstospaces, striplinebreaks, tailfilter, stripjavacomments,% + expandproperties, linecontains, replacetokens, token,% + striplinecomments, comment, prefixlines, classfileset, rootfileset,% + root, description, xmlcatalog, entity, dtd, substitution, extensionSet,% + propertyfile, entry, vsscheckin, sql, transaction, cvspass, csc,% + dirname, wlrun, wlclasspath, p4label, replaceregexp, get, jjtree,% + sleep, jarlib, dependset, targetfileset, srcfileset, srcfilelist,% + targetfilelist, zip, zipgroupfileset, zipfileset, patch, jspc, webapp,% + style, test, arg, jvmarg, sysproperty, testlet, env, tstamp, format,% + unwar, vsshistory, icontract, cvschangelog, user, p4submit, ccmcheckin,% + p4change, bzip2, vssadd, javadoc, bottom, source, doctitle, header,% + excludepackage, bootclasspath, doclet, taglet, packageset, sourcepath,% + link, footer, package, group, title, tag, translate, signjar, vajload,% + vajproject, jarlib, extensionset, WsdlToDotnet, buildnumber,% + jpcovmerge, tomcat, ejbjar, weblogictoplink, jboss, borland, weblogic,% + iplanet, jonas, support, websphere, wasclasspath, war, manifest,% + attribute, section, metainf, lib, classes, webinf, rename, sequential,% + serverdeploy, generic, property, move, copydir, cccheckin, wljspc,% + fixcrlf, sosget, pathconvert, map, record, p4sync, exec, p4edit,% + maudit, rulespath, searchpath, antlr, netrexxc, jpcovreport, reference,% + filters, coveragepath, execon, targetfile, srcfile, ccmcheckout, ant,% + xmlvalidate, xslt, iplanet, ccmcheckintask, gzip, native2ascii,% + starteam, ear, archives, input, rmic, extdirs, compilerarg, checksum,% + mail, bcc, message, cc, to, from, loadfile, vsscheckout, stylebook,% + soscheckin, mimemail, stlabel, gunzip, concat, cab, touch, parallel,% + splash, antcall, cccheckout, typedef, p4have, xmlproperty, copy,% + tomcat, antstructure, ccmcreatetask, rpm, delete, replace,% + replacefilter, replacetoken, replacevalue, mmetrics, waitfor, isfalse,% + equals, available, filepath, os, filesmatch, istrue, isset, socket,% + http, uptodate, srcfiles, untar, loadproperties, echoproperties,% + vajexport, stcheckout, bunzip2, copyfile, vsscreate, ejbc, unjar,% + tomcat, wsdltodotnet, mkdir, condition, cvs, commandline, marker,% + argument, tempfile, junitreport, report, taskdef, echo, ccupdate, java,% + renameext, vsslabel, basename, javadoc2, vsscp, tar, tarfileset,% + tomcat, vajimport, setproxy, wlstop, p4counter, ilasm, soscheckout,% + apply, ccuncheckout, jarlib, location, url, cvstagdiff, jlink,% + mergefiles, addfiles, javacc, pvcs, pvcsproject, jarlib, options,% + depends, chmod, jar, sound, fail, success, mparse, blgenclient, genkey,% + dname, javah, class, ccmreconfigure, unzip, javac, src, p4add,% + soslabel, jpcoverage, triggers, method, vssget, deltree, ddcreator},% + deletekeywords={default},% +} \lst@definelanguage{XML}% {keywords={,CDATA,DOCTYPE,ATTLIST,termdef,ELEMENT,EMPTY,ANY,ID,% IDREF,IDREFS,ENTITY,ENTITIES,NMTOKEN,NMTOKENS,NOTATION,% diff --git a/Master/texmf-dist/tex/latex/listings/lstlang2.sty b/Master/texmf-dist/tex/latex/listings/lstlang2.sty index b191d9ad29c..24dfaf3274a 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang2.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang2.sty @@ -14,7 +14,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{lstlang2.sty} - [2018/09/02 1.7 listings language file] + [2019/02/27 1.8b listings language file] %% %% Abap definition by Knut Lickert %% @@ -38,39 +38,41 @@ literate={->}{{$\rightarrow$}}1{=>}{{$\Rightarrow$}}1,% }[keywords,comments,strings,procnames] \lst@definelanguage[R/3 3.1]{ABAP}[R/2 5.0]{ABAP}{}% -\lst@definelanguage[R/2 5.0]{ABAP}% - {sensitive=f,% - procnamekeys={report,program,form,function,module},% - morekeywords={*,add,after,alias,analyzer,and,append,appending,area,assign,at,% - authority-check,before,binary,blank,break-point,calendar,call,% - case,change,changing,check,clear,cnt,co,collect,commit,common,% - component,compute,condense,corresponding,cos,cp,cs,currency-conversion,% - cursor,data,database,dataset,decimals,define,delete,deleting,dequeue,% - describe,detail,dialog,directory,div,divide,do,documentation,% - during,dynpro,else,end-of-page,end-of-selection,endat,endcase,% - enddo,endfor,endform,endif,endloop,endmodule,endselect,% - endwhile,enqueue,exceptions,exit,exp,export,exporting,extract,% - field,fields,field-groups,field-symbols,find,for,form,format,free,% - from,function,generating,get,giving,hide,id,if,import,% - importing,in,incl,include,initial,initialization,input,insert,% - interrupt,into,is,language,leave,leading,left-justified,like,line,lines,line-count, - line-selection,list-processing,load,local,log,logfile,loop,% - margin,mark,mask,memory,menue,message,mod,modify,module,move,% - move-text,multiply,na,new,new-line,new-page,no-gaps,np,ns,% - number,obligatory,occurs,of,on,or,others,output,parameter,% - parameters,parts,perform,pf-status,places,position,process,% - raise,raising,ranges,read,refresh,refresh-dynpro,reject,remote,% - replace,report,reserve,reset,restart,right-justified,run,screen,scroll,search,% - segments,select,select-options,selection-screen,set,shift,sin,% - single,sqrt,start-of-selection,statement,structure,submit,% - subtract,summary,summing,suppress,system,table,tables,task,% - text,time,to,top-of-page,trace,transaction,transfer,% - transfer-dynpro,translate,type,unpack,update,user-command,% - using,value,when,where,while,window,with,workfile,write,},% - morecomment=[l]",% - morecomment=[f][commentstyle][0]*,% - morestring=[d]'% - }[keywords,comments,strings,procnames] +\lst@definelanguage[R/2 5.0]{ABAP}{% + sensitive=f,% + procnamekeys={report,program,form,function,module},% + morekeywords={*, add, after, alias, analyzer, and, append, appending,% + area, assign, at, authority-check, before, binary, blank, break-point,% + calendar, call, case, change, changing, check, clear, cnt, co, collect,% + commit, common, component, compute, condense, corresponding, cos, cp,% + cs, currency-conversion, cursor, data, database, dataset, decimals,% + define, delete, deleting, dequeue, describe, detail, dialog, directory,% + div, divide, do, documentation, during, dynpro, else, end-of-page,% + end-of-selection, endat, endcase, enddo, endfor, endform, endif,% + endloop, endmodule, endselect, endwhile, enqueue, exceptions, exit,% + exp, export, exporting, extract, field, fields, field-groups,% + field-symbols, find, for, form, format, free, from, function,% + generating, get, giving, hide, id, if, import, importing, in, incl,% + include, initial, initialization, input, insert, interrupt, into, is,% + language, leave, leading, left-justified, like, line, lines,% + line-count, line-selection, list-processing, load, local, log, logfile,% + loop, margin, mark, mask, memory, menue, message, mod, modify, module,% + move, move-text, multiply, na, new, new-line, new-page, no-gaps, np,% + ns, number, obligatory, occurs, of, on, or, others, output, parameter,% + parameters, parts, perform, pf-status, places, position, process,% + raise, raising, ranges, read, refresh, refresh-dynpro, reject, remote,% + replace, report, reserve, reset, restart, right-justified, run, screen,% + scroll, search, segments, select, select-options, selection-screen,% + set, shift, sin, single, sqrt, start-of-selection, statement,% + structure, submit, subtract, summary, summing, suppress, system, table,% + tables, task, text, time, to, top-of-page, trace, transaction,% + transfer, transfer-dynpro, translate, type, unpack, update,% + user-command, using, value, when, where, while, window, with, workfile,% + write},% + morecomment=[l]",% + morecomment=[f][commentstyle][0]*,% + morestring=[d]'% +}[keywords,comments,strings,procnames] \lst@definelanguage[R/2 4.3]{ABAP}[R/2 5.0]{ABAP}% {deletekeywords={function,importing,exporting,changing,exceptions,% raise,raising}% @@ -79,19 +81,19 @@ %% ACM and ACMscript definition %% (c) 2013 Stefan Pinnow %% -\lst@definelanguage{ACM}{ - morekeywords={ - abs,After,acos,And,As,asin,atan,At,Call,Compatibility,Connect,cos,cosh,% - Create,Delay,Description,Difference,Do,Else,ElseIf,End,EndFor,EndIf,% - EndParallel,EndState,EndSwitch,EndText,EndWith,exp,External,Fixed,For,% - ForEach,Free,Global,Hidden,If,Implementation,In,Initial,Input,InterSection,% - IntegerSet,Invoke,Is,Language,Library,Link,Log10,LogE,Max,Min,Model,Of,% - Once,Options,Output,Parallel,Parameter,Pause,Port,Print,Private,% - Procedure,Product,Ramp,Repeat,Restart,Return,Round,Runs,Sigma,sin,sinh,% - Size,SnapShot,sqr,sqrt,SRamp,State,Stream,StringSet,Structure,Switch,% - SubRoutine,SymDiff,tan,tanh,Task,Text,Time,Then,Truncate,Union,Until,% - Uses,Variable,Wait,When,With,WithIn,WorkSpace% - },% +\lst@definelanguage{ACM}{% + morekeywords={ abs, After, acos, And, As, asin, atan, At, Call,% + Compatibility, Connect, cos, cosh, Create, Delay, Description,% + Difference, Do, Else, ElseIf, End, EndFor, EndIf, EndParallel,% + EndState, EndSwitch, EndText, EndWith, exp, External, Fixed, For,% + ForEach, Free, Global, Hidden, If, Implementation, In, Initial, Input,% + InterSection, IntegerSet, Invoke, Is, Language, Library, Link, Log10,% + LogE, Max, Min, Model, Of, Once, Options, Output, Parallel, Parameter,% + Pause, Port, Print, Private, Procedure, Product, Ramp, Repeat, Restart,% + Return, Round, Runs, Sigma, sin, sinh, Size, SnapShot, sqr, sqrt,% + SRamp, State, Stream, StringSet, Structure, Switch, SubRoutine,% + SymDiff, tan, tanh, Task, Text, Time, Then, Truncate, Union, Until,% + Uses, Variable, Wait, When, With, WithIn, WorkSpace},% sensitive=false,% morecomment=[l]{//},% morecomment=[s]{/*}{*/},% @@ -355,92 +357,86 @@ morestring=[b]",% morestring=[b]',% }[keywords,comments,strings]% -%% -%% http://gretl.sourceforge.net/gretl-help/cmdref.html -%% (c) 2013 Ignacio D\'iaz-Emparanza -%% \lst@definelanguage{hansl}{% - % $-variables are internal functions in hansl - keywordsprefix ={\$}, + showstringspaces = false, % morekeywords={ % hansl commands: - add,adf,anova,append,ar,ar1,% - arbond,arch,arima,biprobit,boxplot,break,% - catch,chow,clear,coeffsum,coint,coint2,% - corr,corrgm,cusum,data,dataset,debug,% - delete,diff,difftest,discrete,dpanel,dummify,% - duration,elif,else,end,endif,endloop,% - eqnprint,equation,estimate,fcast,foreign,fractint,% - freq,function,garch,genr,gmm,gnuplot,% - graphpg,hausman,heckit,help,hsk,hurst,% - if,include,info,intreg,join,kalman,% - kpss,labels,lad,lags,ldiff,leverage,% - levinlin,logistic,logit,logs,loop,mahal,% - makepkg,markers,meantest,mle,modeltab,modprint,% - modtest,mpols,negbin,nls,normtest,nulldata,% - ols,omit,open,orthdev,outfile,panel,% - pca,pergm,poisson,print,printf,probit,% - pvalue,qlrtest,qqplot,quantreg,quit,rename,% - reset,restrict,rmplot,run,runs,scatters,% - sdiff,set,setinfo,setobs,setmiss,shell,% - smpl,spearman,sprintf,square,sscanf,store,% - summary,system,tabprint,textplot,tobit,tsls,% - var,varlist,vartest,vecm,vif,wls,% - xcorrgm,xtab,scalar,series,matrix,string},% - morekeywords=[2]{ % Functions - abs,acos,acosh,aggregate,argname,% - asin,asinh,atan,atanh,atof,% - bessel,BFGSmax,bkfilt,boxcox,bwfilt,% - cdemean,cdf,cdiv,ceil,cholesky,% - chowlin,cmult,cnorm,colname,colnames,% - cols,corr,corrgm,cos,cosh,% - cov,critical,cum,deseas,det,% - diag,diagcat,diff,digamma,dnorm,% - dsort,dummify,eigengen,eigensym,eigsolve,% - epochday,errmsg,exp,fcstats,fdjac,% - fft,ffti,filter,firstobs,fixname,% - floor,fracdiff,gammafun,getenv,getline,% - ghk,gini,ginv,halton,hdprod,% - hpfilt,I,imaxc,imaxr,imhof,% - iminc,iminr,inbundle,infnorm,inlist,% - int,inv,invcdf,invmills,invpd,% - irf,irr,isconst,isnan,isnull,% - isodate,iwishart,kdensity,kfilter,ksimul,% - ksmooth,kurtosis,lags,lastobs,ldet,% - ldiff,lincomb,ljungbox,lngamma,log,% - log10,log2,loess,logistic,lower,% - lrvar,max,maxc,maxr,mcorr,% - mcov,mcovg,mean,meanc,meanr,% - median,mexp,min,minc,minr,% - missing,misszero,mlag,mnormal,mols,% - monthlen,movavg,mpols,mrandgen,mread,% - mreverse,mrls,mshape,msortby,muniform,% - mwrite,mxtab,nadarwat,nelem,ngetenv,% - nobs,normal,npv,NRmax,nullspace,% - obs,obslabel,obsnum,ok,onenorm,% - ones,orthdev,pdf,pergm,pmax,% - pmean,pmin,pnobs,polroots,polyfit,% - princomp,prodc,prodr,psd,psdroot,% - pshrink,psum,pvalue,pxsum,qform,% - qnorm,qrdecomp,quadtable,quantile,randgen,% - randgen1,randint,rank,ranking,rcond,% - readfile,regsub,remove,replace,resample,% - round,rownames,rows,sd,sdc,% - sdiff,selifc,selifr,seq,setnote,% - simann,sin,sinh,skewness,sort,% - sortby,sqrt,sscanf,sst,strlen,% - strncmp,strsplit,strstr,strstrip,strsub,% - sum,sumall,sumc,sumr,svd,% - tan,tanh,toepsolv,tolower,toupper,% - tr,transp,trimr,typestr,uniform,% - uniq,unvech,upper,urcpval,values,% - var,varname,varnum,varsimul,vec,% - vech,weekday,wmean,wsd,wvar,% - xmax,xmin,xpx,zeromiss,zeros,% + add, adf, anova, append, ar, ar1, arbond, arch, arima, biprobit, break,% + boxplot, chow, clear, coeffsum, coint, coint2, corr, corrgm, cusum,% + data, dataset, delete, diff, difftest, discrete, dpanel, dummify,% + duration, elif, else, end, endif, endloop, eqnprint, equation,% + estimate, eval, fcast, flush, foreign, fractint, freq, function,% + funcerr, garch, genr, gmm, gnuplot, graphpg, hausman, heckit, help,% + hfplot, hsk, hurst, if, include, info, intreg, join, kpss, labels, lad,% + lags, ldiff, leverage, levinlin, logistic, logit, logs, loop, mahal,% + makepkg, markers, meantest, midasreg, mle, modeltab, modprint, modtest,% + mpi, mpols, negbin, nls, normtest, nulldata, ols, omit, open, orthdev,% + outfile, panel, pca, pergm, plot, poisson, print, printf, probit,% + pvalue, quantreg, qlrtest, qqplot, quit, rename, reset, restrict,% + rmplot, run, runs, scatters, sdiff, set, setinfo, setobs, setopt,% + setmiss, smpl, spearman, square, store,% + summary, system, tabprint, textplot, tobit, tsls, var, varlist,% + vartest, vecm, vif, wls, xcorrgm, xtab, debug, return, catch, pkg,% + arma, deriv, params, hessian, for, foreach, while, const},% + morekeywords=[2]{ % accessors: + \$nobs, \$nvars, \$pd, \$t1, \$t2, \$tmax, \$datatype, \$test,% + \$pvalue, \$qlrbreak, \$rlnl, \$stopwatch, \$unit, \$obsmajor,% + \$obsminor, \$obsmicro, \$obsdate, \$windows, \$version, \$error,% + \$seed, \$huge, \$ess, \$T, \$rsq, \$sigma, \$df, \$ncoeff, \$lnl,% + \$gmmcrit, \$aic, \$bic, \$hqc, \$trsq, \$dw, \$dwpval, \$Fstat,% + \$chisq, \$diagtest, \$diagpval, \$pmanteau, \$uhat, \$yhat, \$llt,% + \$ahat, \$sample, \$h, \$coeff, \$stderr, \$vcv, \$rho, \$compan,% + \$xtxinv, \$vecGamma, \$vma, \$fevd, \$evals, \$jalpha, \$jbeta,% + \$jvbeta, \$s00, \$s11, \$s01, \$ec, \$hausman, \$sargan, \$sysGamma,% + \$sysA, \$sysB, \$fcast, \$fcse, \$coeff_ci, \$ehat, \$mnlprobs,% + \$xlist, \$ylist, \$command, \$depvar, \$model, \$system, \$sysinfo},% + morekeywords=[3]{ % functions + BFGScmax, BFGSmax, GSSmax, I, NMmax, NRmax, abs, acos, acosh,% + aggregate, argname, array, asin, asinh, atan, atanh, atof, bessel,% + bkfilt, bootci, bootpval, boxcox, bread, bwfilt, bwrite, cdemean, cdf,% + cdiv, cdummify, ceil, cholesky, chowlin, cmult, cnameget, cnameset,% + cnorm, cnumber, cols, corr, corrgm, cos, cosh, cov, critical, cum,% + curl, dayspan, defarray, defbundle, deflist, deseas, det, diag,% + diagcat, diff, digamma, dnorm, dropcoll, dsort, dummify, easterday,% + ecdf, eigengen, eigensym, eigsolve, epochday, errmsg, exists, exp,% + fcstats, fdjac, feval, fevd, fft, ffti, filter, firstobs, fixname,% + floor, fracdiff, fraclag, freq, gammafun, genseries, getenv, getinfo,% + getkeys, getline, ghk, gini, ginv, grab, halton, hdprod, hfdiff,% + hflags, hfldiff, hflist, hpfilt, imaxc, imaxr, imhof, iminc, iminr,% + inbundle, infnorm, inlist, instring, int, inv, invcdf, invmills, invpd,% + irf, irr, isconst, isdiscrete, isdummy, isnan, isoconv, isodate,% + iwishart, jsonget, jsongetb, juldate, kdensity, kdsmooth, kfilter,% + kmeier, kpsscrit, ksetup, ksimdata, ksimul, ksmooth, kurtosis, lags,% + lastobs, ldet, ldiff, lincomb, linearize, ljungbox, lngamma, loess,% + log, log10, log2, logistic, lower, lrcovar, lrvar, max, maxc, maxr,% + mcorr, mcov, mcovg, mean, meanc, meanr, median, mexp, mgradient, min,% + minc, minr, missing, misszero, mlag, mlincomb, mnormal, mols, monthlen,% + movavg, mpiallred, mpibcast, mpirecv, mpireduce, mpiscatter, mpisend,% + mpols, mrandgen, mread, mreverse, mrls, mshape, msortby, muniform,% + mweights, mwrite, mxtab, naalen, nadarwat, nelem, ngetenv, nlines,% + nobs, normal, normtest, npcorr, npv, nullspace, numhess, obslabel,% + obsnum, ok, onenorm, ones, orthdev, pdf, pergm, pexpand, pmax, pmean,% + pmin, pnobs, polroots, polyfit, princomp, printf, prodc, prodr, psd,% + psdroot, pshrink, psum, pvalue, pxnobs, pxsum, qform, qlrpval, qnorm,% + qrdecomp, quadtable, quantile, randgen, randgen1, randint, rank,% + ranking, rcond, readfile, regsub, remove, replace, resample, rnameget,% + rnameset, round, rows, sd, sdc, sdiff, seasonals, selifc, selifr, seq,% + setnote, simann, sin, sinh, skewness, sleep, smplspan, sort, sortby,% + sprintf, sqrt, square, sscanf, sst, stringify, strlen, strncmp,% + strsplit, strstr, strstrip, strsub, strvals, substr, sum, sumall, sumc,% + sumr, svd, svm, tan, tanh, toepsolv, tolower, toupper, tr, transp,% + trimr, typeof, typestr, uniform, uniq, unvech, upper, urcpval, values,% + var, varname, varnames, varnum, varsimul, vec, vech, weekday, wmean,% + wsd, wvar, xmax, xmin, xmlget, zeromiss, zeros, NMmin, GSSmin,% + BFGScmin, BFGSmin },% + morekeywords=[4]{ % genr aliases: + null, series, scalar, matrix, string, list, bundle, strings, matrices,% + bundles, lists% },% sensitive=t,% morecomment=[l]{\#},% morecomment=[s]{/*}{*/},% - morestring=[b]{"}}% + morestring=[b]{"}% +}% \lstalias{gretl}{hansl} %% %% Haskell98 as implemented in Hugs98. See http://www.haskell.org @@ -536,88 +532,89 @@ %% Inform definition (c) 2003 Jonathan Sauer %% \lst@definelanguage{inform}{% - % Language keywords - morekeywords={breakdo,else,false,for,has,hasnt,if,% - in,indirect,jump,notin,nothing,NULL,objectloop,ofclass,% - private,property,provides,return,rfalse,rtrue,self,string,% - switch,to,true,until,while,with,% - creature,held,multiexcept,multiheld,multiinside,noun,number,% - scope,topic},% - % - % Inform functions - morekeywords=[2]{box,child,children,font,give,inversion,metaclass,move,% - new_line,parent,print,print_ret,read,remove,restore,sibling,% - save,spaces,quit,style,bold,underline,reverse,roman remaining,% - create,destroy,recreate,copy},% - % - % Inform definitions - morekeywords=[3]{Attribute,Array,Class,Constant,Default,End,Endif,Extend,% - Global,Ifdef,Iffalse,Ifndef,Ifnot,Iftrue,Include,Object,% - Property,Verb,Release,Serial,Statusline},% - % - % Library attributes - morekeywords=[4]{absent,animate,clothing,concealed,container,door,edible,% - enterable,female,general,light,lockable locked,male,moved,% - neuter,on,open,openable,pluralname,proper,scenery,scored,% - static,supporter,switchable,talkable,transparent,visited,% - workflag,worn},% - % - % Library properties - morekeywords=[5]{n_to,s_to,e_to,w_to,ne_to,nw_to,se_to,sw_to,in_to,% - out_to,u_to,d_to,add_to_scope,after,article,articles,before,% - cant_go,capacity,daemon,describe,description,door_dir,door_to,% - each_turn,found_in,grammar,initial,inside_description,invent,% - life,list_together,name number,orders,parse_name,plural,% - react_after,react_before,short_name,short_name_indef,time_left,% - time_out,when_closed,when_open,when_on,when_off,% - with_key},% - % - % Library routines - morekeywords=[6]{Achieved,AfterRoutines,AllowPushDir,Banner,ChangePlayer,% - CommonAncestor,DictionaryLookup,GetGNAOfObject,HasLightSource,% - IndirectlyContains,IsSeeThrough,Locale,LoopOverScope,LTI_Insert,% - MoveFloatingObjects,NextWord,NextWordStopped,NounDomain,% - ObjectIsUntouchable OffersLight,ParseToken,PlaceInScope,PlayerTo,% - PronounNotice,PronounValue,ScopeWithin,SetPronoun,SetTime,% - StartDaemon,StartTimer,StopDaemon,StopTimer,TestScope,TryNumber,% - UnsignedCompare,WordAddress,WordInProperty,WordLength,% - WriteListFrom,YesOrNo},% - % - % Library,entry points - morekeywords=[7]{AfterLife,AfterPrompt,Amusing,BeforeParsing,ChooseObjects,% - DarkToDark,DeathMessage,GamePostRoutine GamePreRoutine,% - Initialise,InScope,LookRoutine,NewRoom,ParseNoun,ParseNumber,% - ParserError,PrintRank,PrintTaskName,PrintVerb,TimePasses,% - UnknownVerb},% - % - % Library constants - morekeywords=[8]{NEWLINE_BIT,INDENT_BIT,FULLINV_BIT,ENGLISH_BIT,RECURSE_BIT,% - ALWAYS_BIT,TERSE_BIT,PARTINV_BIT,DEFART_BIT,WORKFLAG_BIT,% - ISARE_BIT,CONCEAL_BIT},% - % - % Library,meta actions - morekeywords=[9]{Pronouns,Quit,Restart,Restore,Save,Verify,ScriptOn,ScriptOff,% - NotifyOn,NotifyOff,Places,Objects,Score,FullScore,Version,LMode1,% - LMode2,Lmode3},% - % - % Library,main actions - morekeywords=[10]{Close,Disrobe,Drop,Eat,Empty,EmptyT,Enter,Examine,Exit,GetOff,% - Give,Go,GoIn,Insert,Inv,InvTall,InvWide,Lock,Look,Open,PutOn,Remove,% - Search,Show,SwitchOff,SwitchOn,Take,Transfer,Unlock VagueGo,% - Wear},% - % - % Library,stub actions - morekeywords=[11]{Answer,Ask,AskFor,Attack,Blow,Burn,Buy,Climb,Consult,Cut,Dig,% - Drink,Fill,Jump,JumpOver,Kiss,Listen,LookUnder,Mild,No,Pray,Pull,% - Push,PushDir,Rub,Set,SetTo,Sing,Sleep,Smell,,Sleep,Smell,Sorry,% - Squeeze,Strong,Swim,Swing,Taste,Tell,Think,ThrowAt,Tie,Touch,Turn,% - Wait,Wake,WakeOther,Wave,WaveHands,Yes},% - % - otherkeywords={->,-->},% - sensitive=false,% - morestring=[d]{"},% - morecomment=[l]{!}% - }[keywords,comments,strings]% + % Language keywords + morekeywords={breakdo,else,false,for,has,hasnt,if,% + in,indirect,jump,notin,nothing,NULL,objectloop,ofclass,% + private,property,provides,return,rfalse,rtrue,self,string,% + switch,to,true,until,while,with,% + creature,held,multiexcept,multiheld,multiinside,noun,number,% + scope,topic},% + % + % Inform functions + morekeywords=[2]{box,child,children,font,give,inversion,metaclass,move,% + new_line,parent,print,print_ret,read,remove,restore,sibling,% + save,spaces,quit,style,bold,underline,reverse,roman remaining,% + create,destroy,recreate,copy},% + % + % Inform definitions + morekeywords=[3]{Attribute,Array,Class,Constant,Default,End,Endif,Extend,% + Global,Ifdef,Iffalse,Ifndef,Ifnot,Iftrue,Include,Object,% + Property,Verb,Release,Serial,Statusline},% + % + % Library attributes + morekeywords=[4]{absent,animate,clothing,concealed,container,door,edible,% + enterable,female,general,light,lockable locked,male,moved,% + neuter,on,open,openable,pluralname,proper,scenery,scored,% + static,supporter,switchable,talkable,transparent,visited,% + workflag,worn},% + % + % Library properties + morekeywords=[5]{n_to,s_to,e_to,w_to,ne_to,nw_to,se_to,sw_to,in_to,% + out_to,u_to,d_to,add_to_scope,after,article,articles,before,% + cant_go,capacity,daemon,describe,description,door_dir,door_to,% + each_turn,found_in,grammar,initial,inside_description,invent,% + life,list_together,name number,orders,parse_name,plural,% + react_after,react_before,short_name,short_name_indef,time_left,% + time_out,when_closed,when_open,when_on,when_off,% + with_key},% + % + % Library routines + morekeywords=[6]{Achieved,AfterRoutines,AllowPushDir,Banner,ChangePlayer,% + CommonAncestor,DictionaryLookup,GetGNAOfObject,HasLightSource,% + IndirectlyContains,IsSeeThrough,Locale,LoopOverScope,LTI_Insert,% + MoveFloatingObjects,NextWord,NextWordStopped,NounDomain,% + ObjectIsUntouchable OffersLight,ParseToken,PlaceInScope,PlayerTo,% + PronounNotice,PronounValue,ScopeWithin,SetPronoun,SetTime,% + StartDaemon,StartTimer,StopDaemon,StopTimer,TestScope,TryNumber,% + UnsignedCompare,WordAddress,WordInProperty,WordLength,% + WriteListFrom,YesOrNo},% + % + % Library,entry points + morekeywords=[7]{AfterLife,AfterPrompt,Amusing,BeforeParsing,ChooseObjects,% + DarkToDark,DeathMessage,GamePostRoutine GamePreRoutine,% + Initialise,InScope,LookRoutine,NewRoom,ParseNoun,ParseNumber,% + ParserError,PrintRank,PrintTaskName,PrintVerb,TimePasses,% + UnknownVerb},% + % + % Library constants + morekeywords=[8]{NEWLINE_BIT,INDENT_BIT,FULLINV_BIT,ENGLISH_BIT,% + RECURSE_BIT,ALWAYS_BIT,TERSE_BIT,PARTINV_BIT,DEFART_BIT,% + WORKFLAG_BIT,ISARE_BIT,CONCEAL_BIT},% + % + % Library,meta actions + morekeywords=[9]{Pronouns,Quit,Restart,Restore,Save,Verify,ScriptOn,% + ScriptOff,NotifyOn,NotifyOff,Places,Objects,Score,FullScore,Version,% + LMode1,LMode2,LMode3},% + % + % Library,main actions + morekeywords=[10]{Close,Disrobe,Drop,Eat,Empty,EmptyT,Enter,Examine,% + Exit,GetOff,Give,Go,GoIn,Insert,Inv,InvTall,InvWide,Lock,Look,Open,% + PutOn,Remove,Search,Show,SwitchOff,SwitchOn,Take,Transfer,% + Unlock VagueGo, Wear},% + % + % Library,stub actions + morekeywords=[11]{Answer,Ask,AskFor,Attack,Blow,Burn,Buy,Climb,% + Consult,Cut,Dig,Drink,Fill,Jump,JumpOver,Kiss,Listen,LookUnder,% + Mild,No,Pray,Pull,Push,PushDir,Rub,Set,SetTo,Sing,Sleep,Smell,% + Sleep,Smell,Sorry,Squeeze,Strong,Swim,Swing,Taste,Tell,Think,% + ThrowAt,Tie,Touch,Turn, + Wait,Wake,WakeOther,Wave,WaveHands,Yes},% + % + otherkeywords={->,-->},% + sensitive=false,% + morestring=[d]{"},% + morecomment=[l]{!}% +}[keywords,comments,strings]% \lst@definelanguage{Lisp}% {morekeywords={abort,abs,acons,acos,acosh,adjoin,alphanumericp,alter,% append,apply,apropos,aref,arrayp,ash,asin,asinh,assoc,atan,atanh,% @@ -656,7 +653,7 @@ incf,iterate,labels,let,locally,loop,macrolet,mapping,or,pop,% producing,prog,psetf,psetq,push,pushnew,remf,return,rotatef,% setf,shiftf,step,time,trace,typecase,unless,untrace,when},% - sensitive,% ??? + sensitive=false,% ??? alsodigit=-,% morecomment=[l];,% morecomment=[s]{\#|}{|\#},% 1997 Aslak Raanes @@ -1635,7 +1632,7 @@ external,for,form,fuzz,halt,labels,intermediates,negative,normal,novalue,% on,off,results,scan,scientific,select,source,stream,syntax,until,upper,% value,var,version,while,with},% - ndkeywords={abbrev,abs,address,bitand,bitor,bitxor,center,centre, + ndkeywords={abbrev,abs,address,bitand,bitor,bitxor,center,centre,% compare,copies,c2d,c2x,datatype,date,delstr,delword,diag,diagrc,% d2c,d2x,errortext,externals,find,format,index,insert,justify,% lastpos,left,length,linesize,max,min,overlay,pos,queued,random,% @@ -1833,23 +1830,23 @@ %% %% VRML definition (c) 2001 Oliver Baum %% -\lst@definelanguage[97]{VRML} - {morekeywords={DEF,EXTERNPROTO,FALSE,IS,NULL,PROTO,ROUTE,TO,TRUE,USE,% - eventIn,eventOut,exposedField,field,Introduction,Anchor,% - Appearance,AudioClip,Background,Billboard,Box,Collision,Color,% - ColorInterpolator,Cone,Coordinate,CoordinateInterpolator,% - Cylinder,CylinderSensor,DirectionalLight,ElevationGrid,Extrusion,% - Fog,FontStyle,Group,ImageTexture,IndexedFaceSet,IndexedLineSet,% - Inline,LOD,Material,MovieTexture,NavigationInfo,Normal,% - NormalInterpolator,OrientationInterpolator,PixelTexture,% - PlaneSensor,PointLight,PointSet,PositionInterpolator,% - ProximitySensor,ScalarInterpolator,Script,Shape,Sound,Sphere,% - SphereSensor,SpotLight,Switch,Text,TextureCoordinate,% - TextureTransform,TimeSensor,TouchSensor,Transform,Viewpoint,% - VisibilitySensor,WorldInfo},% - morecomment=[l]\#,% bug: starts comment in the first column - morestring=[b]"% - }[keywords,comments,strings] +\lst@definelanguage[97]{VRML}{% + morekeywords={DEF, EXTERNPROTO, FALSE, IS, NULL, PROTO, ROUTE, TO, TRUE,% + USE, eventIn, eventOut, exposedField, field, Introduction, Anchor,% + Appearance, AudioClip, Background, Billboard, Box, Collision, Color,% + ColorInterpolator, Cone, Coordinate, CoordinateInterpolator, Cylinder,% + CylinderSensor, DirectionalLight, ElevationGrid, Extrusion, Fog,% + FontStyle, Group, ImageTexture, IndexedFaceSet, IndexedLineSet, Inline,% + LOD, Material, MovieTexture, NavigationInfo, Normal,% + NormalInterpolator, OrientationInterpolator, PixelTexture, PlaneSensor,% + PointLight, PointSet, PositionInterpolator, ProximitySensor,% + ScalarInterpolator, Script, Shape, Sound, Sphere, SphereSensor,% + SpotLight, Switch, Text, TextureCoordinate, TextureTransform,% + TimeSensor, TouchSensor, Transform, Viewpoint, VisibilitySensor,% + WorldInfo},% + morecomment=[l]\#,% bug: starts comment in the first column + morestring=[b]"% +}[keywords,comments,strings] \endinput %% %% End of file `lstlang2.sty'. diff --git a/Master/texmf-dist/tex/latex/listings/lstlang3.sty b/Master/texmf-dist/tex/latex/listings/lstlang3.sty index 2a8f4a21175..46b6facbba5 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang3.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang3.sty @@ -14,7 +14,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{lstlang3.sty} - [2018/09/02 1.7 listings language file] + [2019/02/27 1.8b listings language file] \lst@definelanguage[68]{Algol}% {morekeywords={abs,and,arg,begin,bin,bits,bool,by,bytes,case,channel,% char,co,comment,compl,conj,divab,do,down,elem,elif,else,empty,% @@ -46,15 +46,16 @@ %% %% Motorola 68K definition (c) 2006 Michael Franke %% -\lst@definelanguage[Motorola68k]{Assembler}% - {morekeywords={ABCD,ADD,% -ADDA,ADDI,ADDQ,ADDX,AND,ANDI,ASL,ASR,BCC,BLS,BCS,BLT,BEQ,BMI,BF,BNE,BGE,BPL,% -BGT,BT,BHI,BVC,BLE,BVS,BCHG,BCLR,BRA,BSET,BSR,BTST,CHK,CLR,CMP,CMPA,CMPI,CMPM,% -DBCC,DBLS,DBCS,DBLT,DBEQ,DBMI,DBF,DBNE,DBGE,DBPL,DBGT,DBT,DBHI,DBVC,DBLE,DBVS,DIVS,% -DIVU,EOR,EORI,EXG,EXT,ILLEGAL,JMP,JSR,LEA,LINK,LSL,LSR,MOVE,MOVEA,MOVEM,MOVEP,MOVEQ,% -MULS,MULU,NBCD,NEG,NEGX,NOP,NOT,OR,ORI,PEA,RESET,ROL,ROR,ROXL,ROXR,RTE,RTR,RTS,SBCD,% -SCC,SLS,SCS,SLT,SEQ,SMI,SF,SNE,SGE,SPL,SGT,ST,SHI,SVC,SLE,SVS,STOP,SUB,SUBA,SUBI,SUBQ,% -SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% +\lst@definelanguage[Motorola68k]{Assembler}{% + morekeywords={ABCD,ADD,% + ADDA,ADDI,ADDQ,ADDX,AND,ANDI,ASL,ASR,BCC,BLS,BCS,BLT,BEQ,BMI,BF,BNE,% + BGE,BPL,BGT,BT,BHI,BVC,BLE,BVS,BCHG,BCLR,BRA,BSET,BSR,BTST,CHK,CLR,% + CMP,CMPA,CMPI,CMPM,DBCC,DBLS,DBCS,DBLT,DBEQ,DBMI,DBF,DBNE,DBGE,DBPL,% + DBGT,DBT,DBHI,DBVC,DBLE,DBVS,DIVS,DIVU,EOR,EORI,EXG,EXT,ILLEGAL,JMP,% + JSR,LEA,LINK,LSL,LSR,MOVE,MOVEA,MOVEM,MOVEP,MOVEQ,MULS,MULU,NBCD,NEG,% + NEGX,NOP,NOT,OR,ORI,PEA,RESET,ROL,ROR,ROXL,ROXR,RTE,RTR,RTS,SBCD,% + SCC,SLS,SCS,SLT,SEQ,SMI,SF,SNE,SGE,SPL,SGT,ST,SHI,SVC,SLE,SVS,STOP,% + SUB,SUBA,SUBI,SUBQ,SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% sensitive=false,% morecomment=[l]*,% morecomment=[l];% @@ -124,40 +125,39 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},% morecomment=[n]{/*}{*/},% morestring=[b]"% }[keywords,comments,strings]% -\lst@definelanguage{CIL}% - {morekeywords=[1]{assembly,beforefieldinit,class,default,cdecl,cil,corflags,% - culture,custom,data,entrypoint,fastcall,field,file,% - hidebysig,hash,il,imagebase,locals,managed,marshall,% - maxstack,mresource,method,module,namespace,publickey,% - stdcall,subsystem,thiscall,unmanaged,vararg,ver,vtfixup,% - % types - bool,char,float32,float64,int,int8,int16,int32,% - int64,method,native,object,string,modopt,modreq,pinned,% - typedref,valuetype,unsigned,void,% - % defining types - abstract,ansi,auto,autochar,beforefieldinit,boxed,class,% - explicit,extends,implements,interface,famandassem,family,% - famorassem,inherits,nested,override,pack,private,property,% - public,rtspecialname,sealed,sequential,serializable,size,% - specialname,static,unicode,% - % postfix - algorithm,alignment,extern,init,from,nometadata,with},% - morekeywords=[2]{add,and,arglist,beq,bge,bgt,ble,blt,bne,br,break,brfalse,% - brtrue,call,calli,ceq,cgt,ckfinite,clt,conv,cpblk,div,% - dup,endfilter,endfinally,initblk,jmp,ldarg,ldarga,ldc,% - ldftn,ldind,ldloc,ldloca,ldnull,leave,localloc,mul,neg,% - nop,not,or,pop,rem,ret,shl,shr,starg,stind,stloc,sub,% - switch,xor,% - % prefix - tail,unaligned,volatile,% - % postfix - un,s,ovf,% - % object - box,callvirt,castclass,cpobj,cctor,ctor,initobj,isinst,% - ldelem,ldelema,ldfld,ldflda,ldlen,ldobj,ldsfld,ldsflda,% - ldstr,ldtoken,ldvirtftn,mkrefany,newarr,newobj,refanytype,% - refanyval,rethrow,sizeof,stelem,stfld,stobj,stsfld,throw,% - unbox},% +\lst@definelanguage{CIL}{% + morekeywords=[1]{assembly, beforefieldinit, class, default, cdecl, cil,% + corflags, culture, custom, data, entrypoint, fastcall, field, file,% + hidebysig, hash, il, imagebase, locals, managed, marshall, maxstack,% + mresource, method, module, namespace, publickey, stdcall, subsystem,% + thiscall, unmanaged, vararg, ver, vtfixup,% + % types + bool, char, float32, float64, int, int8, int16, int32, int64, method,% + native, object, string, modopt, modreq, pinned, typedref, valuetype,% + unsigned, void,% + % defining types + abstract, ansi, auto, autochar, beforefieldinit, boxed, class,% + explicit, extends, implements, interface, famandassem, family,% + famorassem, inherits, nested, override, pack, private, property,% + public, rtspecialname, sealed, sequential, serializable, size,% + specialname, static, unicode,% + % postfix + algorithm, alignment, extern, init, from, nometadata, with},% + morekeywords=[2]{add, and, arglist, beq, bge, bgt, ble, blt, bne, br,% + break, brfalse, brtrue, call, calli, ceq, cgt, ckfinite, clt, conv,% + cpblk, div, dup, endfilter, endfinally, initblk, jmp, ldarg, ldarga,% + ldc, ldftn, ldind, ldloc, ldloca, ldnull, leave, localloc, mul, neg,% + nop, not, or, pop, rem, ret, shl, shr, starg, stind, stloc, sub,% + switch, xor,% + % prefix + tail, unaligned, volatile, + % postfix + un, s, ovf, + % object + box, callvirt, castclass, cpobj, cctor, ctor, initobj, isinst, ldelem,% + ldelema, ldfld, ldflda, ldlen, ldobj, ldsfld, ldsflda, ldstr, ldtoken,% + ldvirtftn, mkrefany, newarr, newobj, refanytype, refanyval, rethrow,% + sizeof, stelem, stfld, stobj, stsfld, throw, unbox},% sensitive=true,% morecomment=[l]{//},% morestring=[b]"% @@ -379,190 +379,211 @@ otherkeywords={=,=>,<-,<\%,<:,>:,\#,@},% morestring=[d]',% morestring=[d]`% }[keywords,comments,strings]% -\lst@definelanguage{Lingo} - {morekeywords={abort,after,and,before,do,down,halt,me,new,not,of,% - on,or,otherwise,pass,put,result,return,set,tell,the,then,to,with,% - repeat,while,case,if,else,true,false,global,property,\_global,\_key,% - \_mouse,\_movie,\_player,\_sound,\_system,abbr,abbrev,abbreviated,abs,% - actionsenabled,activateapplication,activatewindow,active3drenderer,% - activecastlib,activewindow,actorlist,add,addat,addbackdrop,addcamera,% - addchild,addmodifier,addoverlay,addprop,addtoworld,addvertex,alert,% - alerthook,alignment,allowcustomcaching,allowgraphicmenu,allowsavelocal,% - allowtransportcontrol,allowvolumecontrol,allowzooming,alphathreshold,% - ambient,ambientcolor,ancestor,angle,anglebetween,animationenabled,% - antialias,antialiasthreshold,append,applicationname,applicationpath,% - appminimize,atan,attenuation,attributevalue,auto,autoblend,automask,% - autotab,axisangle,back,backcolor,backdrop,backgroundcolor,backspace,% - beep,beepon,beginrecording,beginsprite,beveldepth,beveltype,bgcolor,% - bias,bitand,bitmap,bitmapsizes,bitnot,bitor,bitrate,bitspersample,% - bitxor,blend,blendconstant,blendconstantlist,blendfactor,blendfunction,% - blendfunctionlist,blendlevel,blendrange,blendsource,blendsourcelist,% - blendtime,bone,bonesplayer,border,both,bottom,bottomcap,bottomradius,% - bottomspacing,boundary,boundingsphere,box,boxdropshadow,boxtype,% - breakconnection,breakloop,brightness,broadcastprops,browsername,% - buffersize,build,buttonsenabled,buttonstyle,buttontype,bytesstreamed,% - boolean,cachedocverify,cachesize,call,callancestor,camera,cameracount,% - cameraposition,camerarotation,cancelidleload,castlib,castlibnum,% - castmemberlist,center,centerregpoint,centerstage,changearea,channelcount,% - char,characterset,charpostoloc,chars,charspacing,chartonum,% - checkboxaccess,checkboxtype,checkmark,checknetmessages,child,chunksize,% - clearatrender,clearcache,clearerror,clearframe,clearglobals,clearvalue,% - clickloc,clickmode,clickon,clone,clonedeep,clonemodelfromcastmember,% - clonemotionfromcastmember,close,closed,closewindow,closexlib,collision,% - collisiondata,collisionnormal,color,world,colorbuffer,colorbufferdepth,% - colordepth,colorlist,colorrange,colors,colorsteps,commanddown,comments,% - compressed,connecttonetserver,constrainh,constraint,constrainv,,% - continue,controldown,controller,copypixels,copyrightinfo,copyto,% - copytoclipboard,cos,count,cpuhogticks,creaseangle,creases,[contains],% - createfolder,createmask,creatematte,creationdate,creator,crop,cross,% - crossproduct,cuepassed,cuepointnames,cuepointtimes,currentloopstate,% - currentspritenum,currenttime,cursor,cursorsize,curve,cylinder,ate,day,% - deactivateapplication,deactivatewindow,debug,debugplaybackenabled,% - decaymode,defaultrect,defaultrectmode,delay,delete,deleteall,deleteat,% - deletecamera,deletefolder,deleteframe,deletegroup,deletelight,% - deletemodel,deletemodelresource,deletemotion,deleteone,deleteprop,% - deleteshader,deletetexture,deletevertex,density,depth,depthbufferdepth,% - desktoprectlist,diffuse,diffusecolor,diffuselightmap,% - digitalvideotimescale,digitalvideotype,direction,directionalcolor,% - directionalpreset,directtostage,disableimagingtransformation,displayface,% - displaymode,distanceto,distribution,dither,done,doneparsing,dot,% - dotproduct,doubleclick,downloadnetthing,drag,draw,drawrect,dropshadow,% - duplicate,duplicateframe,duration,editable,editshortcutsenabled,% - elapsedtime,emissive,emitter,empty,emulatemultibuttonmouse,enabled,% - enablehotspot,end,endangle,endcolor,endframe,endrecording,endsprite,% - endtime,enter,enterframe,environment,erase,error,eventpassmode,% - exchange,exists,exit,exitframe,exitlock,exp,externalevent,% - externalparamcount,externalparamname,externalparamvalue,extractalpha,% - extrude3d,face,fadein,fadeout,fadeto,far,field,fieldofview,filename,% - fill,fillcolor,fillcycles,filldirection,filled,fillmode,filloffset,% - fillscale,findempty,findlabel,findpos,findposnear,finishidleload,% - firstindent,fixedlinespace,fixedrate,fixstagesize,flashrect,flashtostage,% - flat,fliph,flipv,float,floatp,floatprecision,flush,flushinputevents,% - fog,folderchar,font,fontsize,fontstyle,forecolor,forget,frame,% - framecount,framelabel,framepalette,framerate,frameready,framescript,% - framesound1,framesound2,framestohms,frametempo,frametransition,freeblock,% - freebytes,fromcastmember,fromimageobject,front,frontwindow,% - generatenormals,getaprop,getat,getbehaviordescription,getbehaviortooltip,% - getboneid,geterror,geterrorstring,gethardwareinfo,gethotspotrect,getlast,% - getlatestnetid,getnetaddresscookie,getneterrorstring,getnetmessage,% - getnetoutgoingbytes,getnettext,getnormalized,getnthfilenameinfolder,% - getnumberwaitingnetmessages,getone,getpeerconnectionlist,getpixel,% - getplaylist,getpos,getpref,getprop,getpropat,getpropertydescriptionlist,% - getrendererservices,getstreamstatus,gettemppath,getworldtransform,globals,% - glossmap,go,gotoframe,gotonetmovie,gotonetpage,gradienttype,gravity,% - group,handler,handlers,height,heightvertices,high,highlightpercentage,% - highlightstrength,hilite,hither,hittest,hmstoframes,hold,hotspot,html,% - hyperlink,hyperlinkclicked,hyperlinkrange,hyperlinks,hyperlinkstate,% - id3tags,identity,idle,idlehandlerperiod,idleloaddone,idleloadmode,% - idleloadperiod,idleloadtag,idlereadchunksize,ilk,image,imagecompression,% - imageenabled,imagequality,immovable,importfileinto,inflate,ink,inker,% - inlineimeenabled,insertbackdrop,insertframe,insertoverlay,inside,% - installmenu,instance,integer,integerp,interface,interpolate,% - interpolateto,intersect,index,interval,inverse,invert,invertmask,% - isbusy,isinworld,isoktoattach,ispastcuepoint,item,itemdelimiter,kerning,% - kerningthreshold,key,keyboardfocussprite,keycode,keydown,keydownscript,% - keyframeplayer,keypressed,keyup,keyupscript,label,labellist,last,% - lastchannel,lastclick,lastevent,lastframe,lastkey,lastroll,left,% - leftindent,length,lengthvertices,level,lifetime,light,line,linearlist,% - linecolor,linecount,linedirection,lineheight,lineoffset,linepostolocv,% - linesize,linkas,linked,list,listp,loaded,loadfile,loc,loch,locked,% - locktranslation,loctocharpos,locv,locvtolinepos,locz,lod,log,long,% - loop,loopcount,loopendtime,loopsremaining,loopstarttime,machinetype,% - magnitude,map,mapImageToStage,mapmembertostage,mapstagetomember,margin,% - marker,markerlist,mask,max,maxinteger,maxspeed,mci,media,mediaready,% - member,membernum,members,memorysize,menu,mesh,meshdeform,milliseconds,% - min,minspeed,modal,mode,model,modela,modelb,modelresource,% - modelsunderloc,modelsunderray,modelunderloc,modified,modifiedby,% - modifieddate,modifier,modifiers,month,mostrecentcuepoint,motion,% - mousechar,mousedown,mousedownscript,mouseenter,mouseh,mouseitem,% - mouseleave,mouselevel,mouseline,mouseloc,mousemember,mouseoverbutton,% - mouseup,mouseupoutside,mouseupscript,mousev,mousewithin,mouseword,move,% - moveablesprite,movetoback,movetofront,movevertex,movevertexhandle,% - movewindow,movie,movieaboutinfo,moviecopyrightinfo,moviefilefreesize,% - moviefilesize,moviefileversion,movieimagecompression,movieimagequality,% - moviename,moviepath,movierate,movietime,moviextralist,mpeglayer,% - multiply,multisound,name,near,nearfiltering,neighbor,netabort,netdone,% - neterror,netlastmoddate,netmime,netpresent,netstatus,nettextresult,% - netthrottleticks,newcamera,newcurve,newgroup,newlight,newmesh,newmodel,% - newmodelresource,newmotion,newshader,newtexture,next,none,normalize,% - normallist,normals,nothing,notify,nudge,number,numchannels,% - numparticles,numsegments,numtochar,objectp,offset,open,openresfile,% - openwindow,openxlib,optiondown,organizationname,originalfont,originh,% - originmode,originpoint,originv,orthoheight,overlay,pageheight,palette,% - palettemapping,paletteref,paletteindex,pan,paragraph,param,paramcount,% - parent,parsestring,particle,pasteclipboardinto,path,pathname,% - pathstrength,pattern,pause,pausedatstart,pausestate,percentplayed,% - percentstreamed,period,perpendicularto,persistent,pi,picture,picturep,% - plane,platform,play,playbackmode,playfile,playing,playlist,playnext,% - playrate,point,pointat,pointatorientation,pointinhyperlink,% - pointofcontact,pointtochar,pointtoitem,pointtoline,pointtoparagraph,% - pointtoword,position,positionreset,posterframe,postnettext,power,% - preferred3drenderer,preload,preloadbuffer,preloadeventabort,preloadmember,% - preloadmode,preloadmovie,preloadnetthing,preloadram,preloadtime,% - premultiply,prepareframe,preparemovie,prerotate,prescale,pretranslate,% - previous,primitives,printfrom,productversion,projection,projectionangle,% - propList,proxyserver,pttohotspotid,puppet,puppetpalette,puppetsound,% - puppetsprite,puppettempo,puppettransition,purgepriority,% - qtregisteraccesskey,qtunregisteraccesskey,quad,quality,queue,quit,quote,% - radius,ramneeded,random,randomseed,randomvector,rateshift,rawnew,read,% - readvalue,recordfont,rect,ref,reflectionmap,reflectivity,region,% - registerforevent,registerscript,regpoint,regpointvertex,removebackdrop,% - removefromworld,removelast,removemodifier,removeoverlay,rename,renderer,% - rendererdevicelist,renderformat,renderstyle,resetworld,resizewindow,% - resolution,resolve,resolvea,resolveb,resource,restart,resume,% - reverttoworlddefaults,rewind,rgb,rgba4444,rgba5550,rgba5551,rgba5650,% - rgba8880,rgba8888,right,rightindent,rightmousedown,rightmouseup,% - rollover,romanlingo,rootlock,rootnode,rotate,rotation,rotationreset,% - rtf,runmode,runpropertydialog,safeplayer,samplecount,samplerate,% - samplesize,save,savedlocal,savemovie,scale,scalemode,score,scorecolor,% - scoreselection,script,scriptexecutionstyle,scriptinstancelist,scriptlist,% - scriptnum,scriptsenabled,scripttext,scripttype,scrollbyline,scrollbypage,% - scrolltop,sds,searchcurrentfolder,searchpath,searchpaths,seconds,% - selectedtext,selection,selend,selstart,sendallsprites,sendevent,% - sendnetmessage,sendsprite,serialnumber,setalpha,setaprop,setat,% - setcollisioncallback,setflashproperty,setnetbufferlimits,% - setnetmessagehandler,setpixel,setplaylist,setpref,setprop,setscriptlist,% - settrackenabled,setvariable,shader,shaderlist,shadowpercentage,% - shadowstrength,shapetype,shiftdown,shininess,shockwave3d,short,% - showglobals,showlocals,showprops,showresfile,showxlib,shutdown,% - silhouettes,sin,size,sizerange,skew,sleep,smoothness,sort,sound,% - soundbusy,soundchannel,sounddevice,sounddevicelist,soundenabled,% - soundkeepdevice,soundlevel,soundmixmedia,source,sourcerect,space,% - specular,specularcolor,specularlightmap,sphere,spotangle,spotdecay,% - sprite,spritenum,spritespacetoworldspace,sqrt,stage,stagebottom,% - stagecolor,stageleft,stageright,stagetoflash,stagetop,standard,% - startangle,startframe,startmovie,starttime,starttimer,state,static,% - status,stepframe,stilldown,stop,stopevent,stopmovie,stoptime,stream,% - streammode,streamname,streamsize,streamstatus,string,stringp,% - strokecolor,strokewidth,style,subdivision,sweep,swing,switchcolordepth,% - symbol,symbolp,systemdate,tab,tabcount,tabs,tan,target,% - tellstreamstatus,tension,text,texture,texturecoordinatelist,% - texturecoordinates,texturelayer,texturelist,texturemember,texturemode,% - texturemodelist,texturerenderformat,texturerepeat,texturerepeatlist,% - texturetransform,texturetransformlist,texturetype,thumbnail,ticks,tilt,% - time,timeout,timeouthandler,timeoutkeydown,timeoutlapsed,timeoutlength,% - timeoutlist,timeoutmouse,timeoutplay,timeoutscript,timer,timescale,% - title,titlevisible,toon,top,topcap,topradius,topspacing,trace,% - traceload,tracelogfile,trackcount,trackenabled,tracknextkeytime,% - tracknextsampletime,trackpreviouskeytime,trackprevioussampletime,% - trackstarttime,trackstoptime,tracktext,tracktype,trails,transform,% - transitiontype,translate,triggercallback,trimwhitespace,tunneldepth,% - tweened,tweenmode,type,[transparent],union,unload,unloadmember,% - unloadmovie,unregisterallevents,update,updateframe,updatelock,% - updatemovieenabled,updatestage,url,usealpha,usediffusewithtexture,% - usefastquads,usehypertextstyles,uselineoffset,userdata,username,value,% - vector,version,vertex,vertexlist,vertices,video,videoforwindowspresent,% - viewh,viewpoint,viewscale,viewv,visibility,visible,void,voidp,volume,% - volumeinfo,wait,waitfornetconnection,warpmode,width,widthvertices,wind,% - window,windowlist,windowpresent,windowtype,word,wordwrap,world,% - worldposition,worldspacetospritespace,worldtransform,wraptransform,% - wraptransformlist,write,writevalue,,xaxis,xtra,xtralist,xtras,,yaxis,% - year,yon,zaxis,zoombox,zoomwindow,repeat,Conditional,Boolean,TypeDef,% - Statement,Operator,String,Comment,Identifier,Special,x,y,z} - sensitive=false, - morecomment=[l]{--}, - morestring=[b]", - }[keywords,comments,strings]% +\lst@definelanguage{Lingo}{% + morekeywords={abort, after, and, before, do, down, halt, me, new, not,% + of, on, or, otherwise, pass, put, result, return, set, tell, the, then,% + to, with, repeat, while, case, if, else, true, false, global, property,% + \_global, \_key, \_mouse, \_movie, \_player, \_sound, \_system, abbr,% + abbrev, abbreviated, abs, actionsenabled, activateapplication,% + activatewindow, active3drenderer, activecastlib, activewindow,% + actorlist, add, addat, addbackdrop, addcamera, addchild, addmodifier,% + addoverlay, addprop, addtoworld, addvertex, alert, alerthook,% + alignment, allowcustomcaching, allowgraphicmenu, allowsavelocal,% + allowtransportcontrol, allowvolumecontrol, allowzooming,% + alphathreshold, ambient, ambientcolor, ancestor, angle, anglebetween,% + animationenabled, antialias, antialiasthreshold, append,% + applicationname, applicationpath, appminimize, atan, attenuation,% + attributevalue, auto, autoblend, automask, autotab, axisangle, back,% + backcolor, backdrop, backgroundcolor, backspace, beep, beepon,% + beginrecording, beginsprite, beveldepth, beveltype, bgcolor, bias,% + bitand, bitmap, bitmapsizes, bitnot, bitor, bitrate, bitspersample,% + bitxor, blend, blendconstant, blendconstantlist, blendfactor,% + blendfunction, blendfunctionlist, blendlevel, blendrange, blendsource,% + blendsourcelist, blendtime, bone, bonesplayer, border, both, bottom,% + bottomcap, bottomradius, bottomspacing, boundary, boundingsphere, box,% + boxdropshadow, boxtype, breakconnection, breakloop, brightness,% + broadcastprops, browsername, buffersize, build, buttonsenabled,% + buttonstyle, buttontype, bytesstreamed, boolean, cachedocverify,% + cachesize, call, callancestor, camera, cameracount, cameraposition,% + camerarotation, cancelidleload, castlib, castlibnum, castmemberlist,% + center, centerregpoint, centerstage, changearea, channelcount, char,% + characterset, charpostoloc, chars, charspacing, chartonum,% + checkboxaccess, checkboxtype, checkmark, checknetmessages, child,% + chunksize, clearatrender, clearcache, clearerror, clearframe,% + clearglobals, clearvalue, clickloc, clickmode, clickon, clone,% + clonedeep, clonemodelfromcastmember, clonemotionfromcastmember, close,% + closed, closewindow, closexlib, collision, collisiondata,% + collisionnormal, color, world, colorbuffer, colorbufferdepth,% + colordepth, colorlist, colorrange, colors, colorsteps, commanddown,% + comments, compressed, connecttonetserver, constrainh, constraint,% + constrainv, continue, controldown, controller, copypixels,% + copyrightinfo, copyto, copytoclipboard, cos, count, cpuhogticks,% + creaseangle, creases, [contains], createfolder, createmask,% + creatematte, creationdate, creator, crop, cross, crossproduct,% + cuepassed, cuepointnames, cuepointtimes, currentloopstate,% + currentspritenum, currenttime, cursor, cursorsize, curve, cylinder,% + ate, day, deactivateapplication, deactivatewindow, debug,% + debugplaybackenabled, decaymode, defaultrect, defaultrectmode, delay,% + delete, deleteall, deleteat, deletecamera, deletefolder, deleteframe,% + deletegroup, deletelight, deletemodel, deletemodelresource,% + deletemotion, deleteone, deleteprop, deleteshader, deletetexture,% + deletevertex, density, depth, depthbufferdepth, desktoprectlist,% + diffuse, diffusecolor, diffuselightmap, digitalvideotimescale,% + digitalvideotype, direction, directionalcolor, directionalpreset,% + directtostage, disableimagingtransformation, displayface, displaymode,% + distanceto, distribution, dither, done, doneparsing, dot, dotproduct,% + doubleclick, downloadnetthing, drag, draw, drawrect, dropshadow,% + duplicate, duplicateframe, duration, editable, editshortcutsenabled,% + elapsedtime, emissive, emitter, empty, emulatemultibuttonmouse,% + enabled, enablehotspot, end, endangle, endcolor, endframe,% + endrecording, endsprite, endtime, enter, enterframe, environment,% + erase, error, eventpassmode, exchange, exists, exit, exitframe,% + exitlock, exp, externalevent, externalparamcount, externalparamname,% + externalparamvalue, extractalpha, extrude3d, face, fadein, fadeout,% + fadeto, far, field, fieldofview, filename, fill, fillcolor, fillcycles,% + filldirection, filled, fillmode, filloffset, fillscale, findempty,% + findlabel, findpos, findposnear, finishidleload, firstindent,% + fixedlinespace, fixedrate, fixstagesize, flashrect, flashtostage, flat,% + fliph, flipv, float, floatp, floatprecision, flush, flushinputevents,% + fog, folderchar, font, fontsize, fontstyle, forecolor, forget, frame,% + framecount, framelabel, framepalette, framerate, frameready,% + framescript, framesound1, framesound2, framestohms, frametempo,% + frametransition, freeblock, freebytes, fromcastmember, fromimageobject,% + front, frontwindow, generatenormals, getaprop, getat,% + getbehaviordescription, getbehaviortooltip, getboneid, geterror,% + geterrorstring, gethardwareinfo, gethotspotrect, getlast,% + getlatestnetid, getnetaddresscookie, getneterrorstring, getnetmessage,% + getnetoutgoingbytes, getnettext, getnormalized, getnthfilenameinfolder,% + getnumberwaitingnetmessages, getone, getpeerconnectionlist, getpixel,% + getplaylist, getpos, getpref, getprop, getpropat,% + getpropertydescriptionlist, getrendererservices, getstreamstatus,% + gettemppath, getworldtransform, globals, glossmap, go, gotoframe,% + gotonetmovie, gotonetpage, gradienttype, gravity, group, handler,% + handlers, height, heightvertices, high, highlightpercentage,% + highlightstrength, hilite, hither, hittest, hmstoframes, hold, hotspot,% + html, hyperlink, hyperlinkclicked, hyperlinkrange, hyperlinks,% + hyperlinkstate, id3tags, identity, idle, idlehandlerperiod,% + idleloaddone, idleloadmode, idleloadperiod, idleloadtag,% + idlereadchunksize, ilk, image, imagecompression, imageenabled,% + imagequality, immovable, importfileinto, inflate, ink, inker,% + inlineimeenabled, insertbackdrop, insertframe, insertoverlay, inside,% + installmenu, instance, integer, integerp, interface, interpolate,% + interpolateto, intersect, index, interval, inverse, invert, invertmask,% + isbusy, isinworld, isoktoattach, ispastcuepoint, item, itemdelimiter,% + kerning, kerningthreshold, key, keyboardfocussprite, keycode, keydown,% + keydownscript, keyframeplayer, keypressed, keyup, keyupscript, label,% + labellist, last, lastchannel, lastclick, lastevent, lastframe, lastkey,% + lastroll, left, leftindent, length, lengthvertices, level, lifetime,% + light, line, linearlist, linecolor, linecount, linedirection,% + lineheight, lineoffset, linepostolocv, linesize, linkas, linked, list,% + listp, loaded, loadfile, loc, loch, locked, locktranslation,% + loctocharpos, locv, locvtolinepos, locz, lod, log, long, loop,% + loopcount, loopendtime, loopsremaining, loopstarttime, machinetype,% + magnitude, map, mapImageToStage, mapmembertostage, mapstagetomember,% + margin, marker, markerlist, mask, max, maxinteger, maxspeed, mci,% + media, mediaready, member, membernum, members, memorysize, menu, mesh,% + meshdeform, milliseconds, min, minspeed, modal, mode, model, modela,% + modelb, modelresource, modelsunderloc, modelsunderray, modelunderloc,% + modified, modifiedby, modifieddate, modifier, modifiers, month,% + mostrecentcuepoint, motion, mousechar, mousedown, mousedownscript,% + mouseenter, mouseh, mouseitem, mouseleave, mouselevel, mouseline,% + mouseloc, mousemember, mouseoverbutton, mouseup, mouseupoutside,% + mouseupscript, mousev, mousewithin, mouseword, move, moveablesprite,% + movetoback, movetofront, movevertex, movevertexhandle, movewindow,% + movie, movieaboutinfo, moviecopyrightinfo, moviefilefreesize,% + moviefilesize, moviefileversion, movieimagecompression,% + movieimagequality, moviename, moviepath, movierate, movietime,% + moviextralist, mpeglayer, multiply, multisound, name, near,% + nearfiltering, neighbor, netabort, netdone, neterror, netlastmoddate,% + netmime, netpresent, netstatus, nettextresult, netthrottleticks,% + newcamera, newcurve, newgroup, newlight, newmesh, newmodel,% + newmodelresource, newmotion, newshader, newtexture, next, none,% + normalize, normallist, normals, nothing, notify, nudge, number,% + numchannels, numparticles, numsegments, numtochar, objectp, offset,% + open, openresfile, openwindow, openxlib, optiondown, organizationname,% + originalfont, originh, originmode, originpoint, originv, orthoheight,% + overlay, pageheight, palette, palettemapping, paletteref, paletteindex,% + pan, paragraph, param, paramcount, parent, parsestring, particle,% + pasteclipboardinto, path, pathname, pathstrength, pattern, pause,% + pausedatstart, pausestate, percentplayed, percentstreamed, period,% + perpendicularto, persistent, pi, picture, picturep, plane, platform,% + play, playbackmode, playfile, playing, playlist, playnext, playrate,% + point, pointat, pointatorientation, pointinhyperlink, pointofcontact,% + pointtochar, pointtoitem, pointtoline, pointtoparagraph, pointtoword,% + position, positionreset, posterframe, postnettext, power,% + preferred3drenderer, preload, preloadbuffer, preloadeventabort,% + preloadmember, preloadmode, preloadmovie, preloadnetthing, preloadram,% + preloadtime, premultiply, prepareframe, preparemovie, prerotate,% + prescale, pretranslate, previous, primitives, printfrom,% + productversion, projection, projectionangle, propList, proxyserver,% + pttohotspotid, puppet, puppetpalette, puppetsound, puppetsprite,% + puppettempo, puppettransition, purgepriority, qtregisteraccesskey,% + qtunregisteraccesskey, quad, quality, queue, quit, quote, radius,% + ramneeded, random, randomseed, randomvector, rateshift, rawnew, read,% + readvalue, recordfont, rect, ref, reflectionmap, reflectivity, region,% + registerforevent, registerscript, regpoint, regpointvertex,% + removebackdrop, removefromworld, removelast, removemodifier,% + removeoverlay, rename, renderer, rendererdevicelist, renderformat,% + renderstyle, resetworld, resizewindow, resolution, resolve, resolvea,% + resolveb, resource, restart, resume, reverttoworlddefaults, rewind,% + rgb, rgba4444, rgba5550, rgba5551, rgba5650, rgba8880, rgba8888, right,% + rightindent, rightmousedown, rightmouseup, rollover, romanlingo,% + rootlock, rootnode, rotate, rotation, rotationreset, rtf, runmode,% + runpropertydialog, safeplayer, samplecount, samplerate, samplesize,% + save, savedlocal, savemovie, scale, scalemode, score, scorecolor,% + scoreselection, script, scriptexecutionstyle, scriptinstancelist,% + scriptlist, scriptnum, scriptsenabled, scripttext, scripttype,% + scrollbyline, scrollbypage, scrolltop, sds, searchcurrentfolder,% + searchpath, searchpaths, seconds, selectedtext, selection, selend,% + selstart, sendallsprites, sendevent, sendnetmessage, sendsprite,% + serialnumber, setalpha, setaprop, setat, setcollisioncallback,% + setflashproperty, setnetbufferlimits, setnetmessagehandler, setpixel,% + setplaylist, setpref, setprop, setscriptlist, settrackenabled,% + setvariable, shader, shaderlist, shadowpercentage, shadowstrength,% + shapetype, shiftdown, shininess, shockwave3d, short, showglobals,% + showlocals, showprops, showresfile, showxlib, shutdown, silhouettes,% + sin, size, sizerange, skew, sleep, smoothness, sort, sound, soundbusy,% + soundchannel, sounddevice, sounddevicelist, soundenabled,% + soundkeepdevice, soundlevel, soundmixmedia, source, sourcerect, space,% + specular, specularcolor, specularlightmap, sphere, spotangle,% + spotdecay, sprite, spritenum, spritespacetoworldspace, sqrt, stage,% + stagebottom, stagecolor, stageleft, stageright, stagetoflash, stagetop,% + standard, startangle, startframe, startmovie, starttime, starttimer,% + state, static, status, stepframe, stilldown, stop, stopevent,% + stopmovie, stoptime, stream, streammode, streamname, streamsize,% + streamstatus, string, stringp, strokecolor, strokewidth, style,% + subdivision, sweep, swing, switchcolordepth, symbol, symbolp,% + systemdate, tab, tabcount, tabs, tan, target, tellstreamstatus,% + tension, text, texture, texturecoordinatelist, texturecoordinates,% + texturelayer, texturelist, texturemember, texturemode, texturemodelist,% + texturerenderformat, texturerepeat, texturerepeatlist,% + texturetransform, texturetransformlist, texturetype, thumbnail, ticks,% + tilt, time, timeout, timeouthandler, timeoutkeydown, timeoutlapsed,% + timeoutlength, timeoutlist, timeoutmouse, timeoutplay, timeoutscript,% + timer, timescale, title, titlevisible, toon, top, topcap, topradius,% + topspacing, trace, traceload, tracelogfile, trackcount, trackenabled,% + tracknextkeytime, tracknextsampletime, trackpreviouskeytime,% + trackprevioussampletime, trackstarttime, trackstoptime, tracktext,% + tracktype, trails, transform, transitiontype, translate,% + triggercallback, trimwhitespace, tunneldepth, tweened, tweenmode, type,% + [transparent], union, unload, unloadmember, unloadmovie,% + unregisterallevents, update, updateframe, updatelock,% + updatemovieenabled, updatestage, url, usealpha, usediffusewithtexture,% + usefastquads, usehypertextstyles, uselineoffset, userdata, username,% + value, vector, version, vertex, vertexlist, vertices, video,% + videoforwindowspresent, viewh, viewpoint, viewscale, viewv, visibility,% + visible, void, voidp, volume, volumeinfo, wait, waitfornetconnection,% + warpmode, width, widthvertices, wind, window, windowlist,% + windowpresent, windowtype, word, wordwrap, world, worldposition,% + worldspacetospritespace, worldtransform, wraptransform,% + wraptransformlist, write, writevalue, xaxis, xtra, xtralist, xtras,% + yaxis, year, yon, zaxis, zoombox, zoomwindow, repeat, Conditional,% + Boolean, TypeDef, Statement, Operator, String, Comment, Identifier,% + Special, x, y, z},% + sensitive=false,% + morecomment=[l]{--},% + morestring=[b]",% +}[keywords,comments,strings]% \lst@definelanguage{LLVM}{% morekeywords={% ret,br,switch,indirectbr,invoke,resume,unreachable,% @@ -867,78 +888,86 @@ otherkeywords={=,=>,<-,<\%,<:,>:,\#,@},% morestring=[b]',% literate={~}{{$\sim$}}{1} {^}{$\wedge$}{1},% }[keywords,directives,comments,strings]% -\lst@definelanguage{PL/I}% - {morekeywords={ABS,ATAN,AUTOMATIC,AUTO,ATAND,BEGIN,BINARY,BIN,BIT,% - BUILTIN,BY,CALL,CHARACTER,CHAR,CHECK,COLUMN,COL,COMPLEX,CPLX,% - COPY,COS,COSD,COSH,DATA,DATE,DECIMAL,DEC,DECLARE,DCL,DO,EDIT,% - ELSE,END,ENDFILE,ENDPAGE,ENTRY,EXP,EXTERNAL,EXT,FINISH,FIXED,% - FIXEDOVERFLOW,FOFL,FLOAT,FORMAT,GET,GO,GOTO,IF,IMAG,INDEX,% - INITIAL,INIT,INTERNAL,INT,LABEL,LENGTH,LIKE,LINE,LIST,LOG,LOG2,% - LOG10,MAIN,MAX,MIN,MOD,NOCHECK,NOFIXEDOVERFLOW,NOFOFL,NOOVERFLOW,% - NOOFL,NOSIZE,NOUNDERFLOW,NOUFL,NOZERODIVIDE,NOZDIV,ON,OPTIONS,% - OVERFLOW,OFL,PAGE,PICTURE,PROCEDURE,PROC,PUT,READ,REPEAT,RETURN,% - RETURNS,ROUND,SIN,SIND,SINH,SIZE,SKIP,SQRT,STATIC,STOP,STRING,% - SUBSTR,SUM,SYSIN,SYSPRINT,TAN,TAND,TANH,THEN,TO,UNDERFLOW,UFL,% - VARYING,WHILE,WRITE,ZERODIVIDE,ZDIV},% - sensitive=f,% - morecomment=[s]{/*}{*/},% - morestring=[d]'% - }[keywords,comments,strings]% +\lst@definelanguage{PL/I}{% + morekeywords={ABS, ATAN, AUTOMATIC, AUTO, ATAND, BEGIN, BINARY, BIN, BIT,% + BUILTIN, BY, CALL, CHARACTER, CHAR, CHECK, COLUMN, COL, COMPLEX, CPLX,% + COPY, COS, COSD, COSH, DATA, DATE, DECIMAL, DEC, DECLARE, DCL, DO,% + EDIT, ELSE, END, ENDFILE, ENDPAGE, ENTRY, EXP, EXTERNAL, EXT, FINISH,% + FIXED, FIXEDOVERFLOW, FOFL, FLOAT, FORMAT, GET, GO, GOTO, IF, IMAG,% + INDEX, INITIAL, INIT, INTERNAL, INT, LABEL, LENGTH, LIKE, LINE, LIST,% + LOG, LOG2, LOG10, MAIN, MAX, MIN, MOD, NOCHECK, NOFIXEDOVERFLOW,% + NOFOFL, NOOVERFLOW, NOOFL, NOSIZE, NOUNDERFLOW, NOUFL, NOZERODIVIDE,% + NOZDIV, ON, OPTIONS, OVERFLOW, OFL, PAGE, PICTURE, PROCEDURE, PROC,% + PUT, READ, REPEAT, RETURN, RETURNS, ROUND, SIN, SIND, SINH, SIZE, SKIP,% + SQRT, STATIC, STOP, STRING, SUBSTR, SUM, SYSIN, SYSPRINT, TAN, TAND,% + TANH, THEN, TO, UNDERFLOW, UFL, VARYING, WHILE, WRITE, ZERODIVIDE,% + ZDIV},% + sensitive=f,% + morecomment=[s]{/*}{*/},% + morestring=[d]'% +}[keywords,comments,strings]% %% %% PostScript language definition (c) 2005 Christophe Jorssen. %% \lst@definelanguage{PostScript}{% - morekeywords={abs,add,aload,anchorsearch,and,arc,arcn,arct,arcto,array,ashow, - astore,atan,awidthshow,begin,bind,bitshift,bytesavailable,cachestatus, - ceiling,charpath,clear,cleartomark,cleardictstack,clip,clippath,closefile, - closepath,colorimage,concat,concatmatrix,condition,copy,copypage,cos,count, - countdictstack,countexecstack,counttomark,cshow,currentblackgeneration, - currentcacheparams,currentcmykcolor,currentcolor,currentcolorrendering, - currentcolorscreen,currentcolorspace,currentcolortransfer,currentcontext, - currentdash,currentdevparams,currentdict,currentfile,currentflat,currentfont, - currentglobal,currentgray,currentgstate,currenthalftone,currenthalftonephase, - currenthsbcolor,currentlinecap,currentlinejoin,currentlinewidth,currentmatrix, - currentmiterlimit,currentobjectformat,currentpacking,currentpagedevice, - currentpoint,currentrgbcolor,currentscreen,currentshared,currentstrokeadjust, - currentsystemparams,currenttransfer,currentundercolorremoval,currentuserparams, - curveto,cvi,cvlit,cvn,cvr,cvrs,cvs,cvx,def,defaultmatrix,definefont, - defineresource,defineusername,defineuserobject,deletefile,detach,deviceinfo, - dict,dictstack,div,dtransform,dup, - echo,eexec,end,eoclip,eofill,eoviewclip,eq,erasepage,errordict,exch,exec, - execform,execstack,execuserobject,executeonly,executive,exit, - exp,false,file,filenameforall,fileposition,fill,filter,findencoding,findfont, - findresource,flattenpath,floor,flush,flushfile,FontDirectory,for,forall,fork,ge, - get,getinterval,globaldict,GlobalFontDirectory,glyphshow,grestore,grestoreall, - gsave,gstate,gt,identmatrix,idiv,idtransform,if,ifelse,image, - imagemask,index,ineofill,infill,initclip,initgraphics,initmatrix,initviewclip, - instroke,internaldict,inueofill,inufill,inustroke, - invertmatrix,ISOLatin1Encoding,itransform,join,kshow, - known,languagelevel,le,length,lineto,ln,load,lock,log,loop,lt, - makefont,makepattern,mark,matrix,maxlength,mod,monitor,moveto,mul,ne,neg, - newpath,noaccess,not,notify,null,nulldevice,or,packedarray, - pathbbox,pathforall,pop,print,printobject,product,prompt,pstack,put,putinterval, - quit,rand,rcurveto,read,readhexstring,readline,readonly,readstring, - realtime,rectclip,rectfill,rectstroke,rectviewclip,renamefile,repeat,resetfile, - resourceforall,resourcestatus,restore,reversepath,revision,rlineto,rmoveto,roll, - rootfont,rotate,round,rrand,run,save,scale,scalefont,scheck,search,selectfont, - serialnumber,setbbox,setblackgeneration,setcachedevice,setcachedevice2, - setcachelimit,setcacheparams,setcharwidth,setcmykcolor,setcolor, - setcolorrendering,setcolorscreen,setcolorspace,setcolortransfer,setdash, - setdevparams,setfileposition,setflat,setfont,setglobal,setgray,setgstate, - sethalftone,sethalftonephase,sethsbcolor,setlinecap,setlinejoin,setlinewidth, - setmatrix,setmiterlimit,setobjectformat,setoverprint,setpacking,setpagedevice, - setpattern,setrgbcolor,setscreen,setshared,setstrokeadjust,setsystemparams, - settransfer,setucacheparams,setundercolorremoval,setuserparams,setvmthreshold, - shareddict,show,showpage,sin,sqrt,srand,stack, - StandardEncoding,start,startjob,status,statusdict,stop,stopped,store,string, - stringwidth,stroke,strokepath,sub,systemdict,transform, - translate,true,truncate,type,token,uappend,ucache,ucachestatus, - ueofill,ufill,undef, - upath,userdict,UserObjects, - usertime,ustroke,ustrokepath,version,viewclip,viewclippath,vmreclaim, - vmstatus,wait,wcheck,where,widthshow,write,writehexstring,writeobject, - writestring,wtranslation,xcheck,xor,xshow,xyshow,yield,yshow}, - sensitive, + morekeywords={abs, add, aload, anchorsearch, and, arc, arcn, arct, arcto,% + array, ashow, astore, atan, awidthshow, begin, bind, bitshift,% + bytesavailable, cachestatus, ceiling, charpath, clear, cleartomark,% + cleardictstack, clip, clippath, closefile, closepath, colorimage,% + concat, concatmatrix, condition, copy, copypage, cos, count,% + countdictstack, countexecstack, counttomark, cshow,% + currentblackgeneration, currentcacheparams, currentcmykcolor,% + currentcolor, currentcolorrendering, currentcolorscreen,% + currentcolorspace, currentcolortransfer, currentcontext, currentdash,% + currentdevparams, currentdict, currentfile, currentflat, currentfont,% + currentglobal, currentgray, currentgstate, currenthalftone,% + currenthalftonephase, currenthsbcolor, currentlinecap, currentlinejoin,% + currentlinewidth, currentmatrix, currentmiterlimit,% + currentobjectformat, currentpacking, currentpagedevice, currentpoint,% + currentrgbcolor, currentscreen, currentshared, currentstrokeadjust,% + currentsystemparams, currenttransfer, currentundercolorremoval,% + currentuserparams, curveto, cvi, cvlit, cvn, cvr, cvrs, cvs, cvx, def,% + defaultmatrix, definefont, defineresource, defineusername,% + defineuserobject, deletefile, detach, deviceinfo, dict, dictstack, div,% + dtransform, dup, echo, eexec, end, eoclip, eofill, eoviewclip, eq,% + erasepage, errordict, exch, exec, execform, execstack, execuserobject,% + executeonly, executive, exit, exp, false, file, filenameforall,% + fileposition, fill, filter, findencoding, findfont, findresource,% + flattenpath, floor, flush, flushfile, FontDirectory, for, forall, fork,% + ge, get, getinterval, globaldict, GlobalFontDirectory, glyphshow,% + grestore, grestoreall, gsave, gstate, gt, identmatrix, idiv,% + idtransform, if, ifelse, image, imagemask, index, ineofill, infill,% + initclip, initgraphics, initmatrix, initviewclip, instroke,% + internaldict, inueofill, inufill, inustroke, invertmatrix,% + ISOLatin1Encoding, itransform, join, kshow, known, languagelevel, le,% + length, lineto, ln, load, lock, log, loop, lt, makefont, makepattern,% + mark, matrix, maxlength, mod, monitor, moveto, mul, ne, neg, newpath,% + noaccess, not, notify, null, nulldevice, or, packedarray, pathbbox,% + pathforall, pop, print, printobject, product, prompt, pstack, put,% + putinterval, quit, rand, rcurveto, read, readhexstring, readline,% + readonly, readstring, realtime, rectclip, rectfill, rectstroke,% + rectviewclip, renamefile, repeat, resetfile, resourceforall,% + resourcestatus, restore, reversepath, revision, rlineto, rmoveto, roll,% + rootfont, rotate, round, rrand, run, save, scale, scalefont, scheck,% + search, selectfont, serialnumber, setbbox, setblackgeneration,% + setcachedevice, setcachedevice2, setcachelimit, setcacheparams,% + setcharwidth, setcmykcolor, setcolor, setcolorrendering,% + setcolorscreen, setcolorspace, setcolortransfer, setdash, setdevparams,% + setfileposition, setflat, setfont, setglobal, setgray, setgstate,% + sethalftone, sethalftonephase, sethsbcolor, setlinecap, setlinejoin,% + setlinewidth, setmatrix, setmiterlimit, setobjectformat, setoverprint,% + setpacking, setpagedevice, setpattern, setrgbcolor, setscreen,% + setshared, setstrokeadjust, setsystemparams, settransfer,% + setucacheparams, setundercolorremoval, setuserparams, setvmthreshold,% + shareddict, show, showpage, sin, sqrt, srand, stack, StandardEncoding,% + start, startjob, status, statusdict, stop, stopped, store, string,% + stringwidth, stroke, strokepath, sub, systemdict, transform, translate,% + true, truncate, type, token, uappend, ucache, ucachestatus, ueofill,% + ufill, undef, upath, userdict, UserObjects, usertime, ustroke,% + ustrokepath, version, viewclip, viewclippath, vmreclaim, vmstatus,% + wait, wcheck, where, widthshow, write, writehexstring, writeobject,% + writestring, wtranslation, xcheck, xor, xshow, xyshow, yield, yshow},% + sensitive,% morecomment=[l]\%}[keywords,comments] %% %% Promela definition (c) 2004 William Thimbleby @@ -961,13 +990,13 @@ otherkeywords={=,=>,<-,<\%,<:,>:,\#,@},% {morekeywords={% begin,end,definecolor,multido,% KillGlue,DontKillGlue,pslbrace,bsrbrace,psscalebox,psset,pstVerb,pstverb,% - pst@def,,psframebox,psclip,endclip,endpspicture,psframe, + pst@def,psframebox,psclip,endclip,endpspicture,psframe,% %% pspicture,% multirput,multips,Rput,rput,uput,cput,lput,% - newrgbcolor,newgray,newcmykcolor, + newrgbcolor,newgray,newcmykcolor,% %% %% pstricks-add - psStep,psgraph,psbrace,psPrintValue, + psStep,psgraph,psbrace,psPrintValue,% %% %% pst-plot psvlabel,pshlabel,psplot,psline,pscustom,pscurve,psccurve,% @@ -978,15 +1007,15 @@ otherkeywords={=,=>,<-,<\%,<:,>:,\#,@},% psgrid,pscircle,pscirclebox,psdiabox,pstribox,% newpsfontdot,psdot,psdots,% pspolygon,psdiamond,psoval,pstriangle,% - psarc,psarcn,psellipticarc,psellipticarcn,pswedge,psellipticwedge, + psarc,psarcn,psellipticarc,psellipticarcn,pswedge,psellipticwedge,% pcline,pcdiag,pcdiagg,pccurve,pccurve,pcecurve,% scalebox,scaleboxto,psmathboxtrue,everypsbox,psverbboxtrue,overlaybox,% psoverlay,putoverlaybox,% newpsstyle,newpsobject,% - moveto,newpath,closepath,stroke,fill,gsave,grestore,msave,mrestore,translate,scale,% - swapaxes,rotate,openshadow,closedshadow,movepath,lineto,rlineto,curveto,rcurveto,% - code,dim,coor,rcoor,file,arrows,setcolor,% - rotateleft,rotateright,rotatedown,% + moveto,newpath,closepath,stroke,fill,gsave,grestore,msave,mrestore,% + translate,scale,swapaxes,rotate,openshadow,closedshadow,movepath,% + lineto,rlineto,curveto,rcurveto,code,dim,coor,rcoor,file,arrows,% + setcolor,rotateleft,rotateright,rotatedown,% %% %% pst-node nput,naput,nbput,ncput,% @@ -1001,50 +1030,54 @@ otherkeywords={=,=>,<-,<\%,<:,>:,\#,@},% skiplevel,skiplevels,endskiplevels,tspace,tlput,% %% %% pst-text - pscharpath,pstextpath, + pscharpath,pstextpath,% %% %% pst-barcode - psbarcode, + psbarcode,% %% %% pst-coil - psboxfill,pscoil,psCoil,pszigzag,nccoil, - psshadow,pstilt,psTilt,ThreeDput, + psboxfill,pscoil,psCoil,pszigzag,nccoil,% + psshadow,pstilt,psTilt,ThreeDput,% %% %% pst-gr3d PstGridThreeDNodeProcessor,% %% %% pst-vue3d - PstGridThreeD, - AxesThreeD,LineThreeD,DieThreeD,FrameThreeD,SphereCircleThreeD,SphereMeridienThreeD, - QuadrillageThreeD,TetraedreThreeD,PyramideThreeD,ConeThreeD,CylindreThreeD, - DodecahedronThreeD,ConeThreeD,SphereThreeD,SphereInverseThreeD,DemiSphereThreeD, - SphereCreuseThreeD,SphereCircledThreeD,PortionSphereThreeD,pNodeThreeD,CubeThreeD,% + PstGridThreeD,% + AxesThreeD,LineThreeD,DieThreeD,FrameThreeD,SphereCircleThreeD,% + SphereMeridienThreeD,QuadrillageThreeD,TetraedreThreeD,% + PyramideThreeD,ConeThreeD,CylindreThreeD,DodecahedronThreeD,% + ConeThreeD,SphereThreeD,SphereInverseThreeD,DemiSphereThreeD,% + SphereCreuseThreeD,SphereCircledThreeD,PortionSphereThreeD,% + pNodeThreeD,CubeThreeD,% %% %% pst-3dplot - pstThreeDCoor,pstThreeDDot,pstThreeDTriangle,pstThreeDCircle,pstPlanePut,% - pstThreeDBox,pstThreeDEllipse,pstThreeDLine,pstThreeDPut,% - pstThreeDNode,pstThreeDSquare,psplotThreeD,parametricplotThreeD,fileplotThreeD,% - dataplotThreeD,pstScalePoints,% + pstThreeDCoor, pstThreeDDot, pstThreeDTriangle, pstThreeDCircle,% + pstPlanePut, pstThreeDBox, pstThreeDEllipse, pstThreeDLine,% + pstThreeDPut, pstThreeDNode, pstThreeDSquare, psplotThreeD,% + parametricplotThreeD, fileplotThreeD, dataplotThreeD,% + pstScalePoints,% %% %% pst-circ - resistor,battery,Ucc,Icc,capacitor,coil,diode,Zener,LED,lamp,switch,wire,tension, - circledipole,multidipole,OA,transistor,Tswitch,potentiometer,transformer, - optoCoupler,logic, + resistor,battery,Ucc,Icc,capacitor,coil,diode,Zener,LED,lamp,switch,% + wire,tension,circledipole,multidipole,OA,transistor,Tswitch,% + potentiometer,transformer,optoCoupler,logic,% %% %% pst-eucl - pstTriangle,pstMediatorAB,pstInterLL,pstMiddleAB,pstProjection,pstCircleOA,pstLineAB,% + pstTriangle,pstMediatorAB,pstInterLL,pstMiddleAB,pstProjection,% + pstCircleOA,pstLineAB,% %% %% pst-func psBessel,psPolynomial,psFourier,psGaussI,psGauss,psSi,pssi,psCi,psci,% %% %% pst-infixplot - psPlot, + psPlot,% %% %% pst-ob3d - PstDie,PstCube, + PstDie,PstCube,% %% %% pst-poly - PstPolygon,pspolygonbox, + PstPolygon,pspolygonbox,% %% %% pst-bar psbarchart,readpsbardata,psbarscale,newpsbarstyle,% @@ -1062,7 +1095,7 @@ otherkeywords={=,=>,<-,<\%,<:,>:,\#,@},% node,imark,fmark,rmark,drawqbpedge,drawedge,drawloop,% %% %% pst-labo - Distillation,Ballon, + Distillation,Ballon,% %% %% pst-optic lens,Transform,% @@ -1160,7 +1193,8 @@ literate=% {-\\}{$\lambda$}{1}%% {->}{$\rightarrow$}{1}%% {-m->}{{\mbox{$\rightarrow \hspace{-2.5\lst@width} _{m}\;$}}}{1}% -{-~m->}{{\mbox{$\stackrel{\sim}{\mbox{$\rightarrow\hspace{-2.5\lst@width} _{m}\;$}}$}}}{1}% +{-~m->}{{\mbox{$\stackrel{\sim}{\mbox{$\rightarrow% + \hspace{-2.5\lst@width} _{m}\;$}}$}}}{1}% {-~->}{{\mbox{$\stackrel{\sim}{\rightarrow}$}}}{1}%% {-set}{\bf{-set}}{4}%% {-list}{{$^{\ast}$}}{1}%% @@ -1371,25 +1405,25 @@ literate=% morestring=[d]",% morestring=[d]'% 2001 Robert Denham }% -\lst@definelanguage{SAS}% - {procnamekeys={proc},% - morekeywords={DATA,AND,OR,NOT,EQ,GT,LT,GE,LE,NE,INFILE,INPUT,DO,BY,% - TO,SIN,COS,OUTPUT,END,PLOT,RUN,LIBNAME,VAR,TITLE,FIRSTOBS,OBS,% - DELIMITER,DLM,EOF,ABS,DIM,HBOUND,LBOUND,MAX,MIN,MOD,SIGN,SQRT,% - CEIL,FLOOR,FUZZ,INT,ROUND,TRUNC,DIGAMMA,ERF,ERFC,EXP,GAMMA,% - LGAMMA,LOG,LOG2,LOG10,ARCOS,ARSIN,ATAN,COSH,SINH,TANH,TAN,% - POISSON,PROBBETA,PROBBNML,PROBCHI,PROBF,PROBGAM,PROBHYPR,% - PROBNEGB,PROBNORM,PROBT,BETAINV,CINV,FINV,GAMINV,PROBIT,TINV,CSS,% - CV,KURTOSIS,MEAN,NMISS,RANGE,SKEWNESS,STD,STDERR,SUM,USS,NORMAL,% - RANBIN,RANCAU,RANEXP,RANGAM,RANNOR,RANPOI,RANTBL,RANTRI,RANUNI,% - UNIFORM,IF,THEN,ELSE,WHILE,UNTIL,DROP,KEEP,LABEL,DEFAULT,ARRAY,% - MERGE,CARDS,CARDS4,PUT,SET,UPDATE,ABORT,DELETE,DISPLAY,LIST,% - LOSTCARD,MISSING,STOP,WHERE,ARRAY,DROP,KEEP,WINDOW,LENGTH,RENAME,% - RETAIN,MEANS,UNIVARIATE,SUMMARY,TABULATE,CORR,FREQ,FOOTNOTE,NOTE,% - SHOW},% - otherkeywords={!,!=,~,$,*,\&,_,/,<,>=,=<,>},% - morestring=[d]'% - }[keywords,comments,strings,procnames]% +\lst@definelanguage{SAS}{% + procnamekeys={proc},% + morekeywords={DATA, AND, OR, NOT, EQ, GT, LT, GE, LE, NE, INFILE, INPUT,% + DO, BY, TO, SIN, COS, OUTPUT, END, PLOT, RUN, LIBNAME, VAR, TITLE,% + FIRSTOBS, OBS, DELIMITER, DLM, EOF, ABS, DIM, HBOUND, LBOUND, MAX, MIN,% + MOD, SIGN, SQRT, CEIL, FLOOR, FUZZ, INT, ROUND, TRUNC, DIGAMMA, ERF,% + ERFC, EXP, GAMMA, LGAMMA, LOG, LOG2, LOG10, ARCOS, ARSIN, ATAN, COSH,% + SINH, TANH, TAN, POISSON, PROBBETA, PROBBNML, PROBCHI, PROBF, PROBGAM,% + PROBHYPR, PROBNEGB, PROBNORM, PROBT, BETAINV, CINV, FINV, GAMINV,% + PROBIT, TINV, CSS, CV, KURTOSIS, MEAN, NMISS, RANGE, SKEWNESS, STD,% + STDERR, SUM, USS, NORMAL, RANBIN, RANCAU, RANEXP, RANGAM, RANNOR,% + RANPOI, RANTBL, RANTRI, RANUNI, UNIFORM, IF, THEN, ELSE, WHILE, UNTIL,% + DROP, KEEP, LABEL, DEFAULT, ARRAY, MERGE, CARDS, CARDS4, PUT, SET,% + UPDATE, ABORT, DELETE, DISPLAY, LIST, LOSTCARD, MISSING, STOP, WHERE,% + ARRAY, DROP, KEEP, WINDOW, LENGTH, RENAME, RETAIN, MEANS, UNIVARIATE,% + SUMMARY, TABULATE, CORR, FREQ, FOOTNOTE, NOTE, SHOW},% + otherkeywords={!,!=,~,$,*,\&,_,/,<,>=,=<,>},% + morestring=[d]'% +}[keywords,comments,strings,procnames]% \lst@definelanguage[AlLaTeX]{TeX}[LaTeX]{TeX}% {moretexcs={AtBeginDocument,AtBeginDvi,AtEndDocument,AtEndOfClass,% AtEndOfPackage,ClassError,ClassInfo,ClassWarning,% @@ -1612,9 +1646,9 @@ literate=% }[keywords,tex,comments]% %% %% Verilog definition (c) 2003 Cameron H. G. Wright <c.h.g.wright@ieee.org> -%% Based on the IEEE 1364-2001 Verilog HDL standard -%% Ref: S. Palnitkar, "Verilog HDL: A Guide to Digital Design and Synthesis," -%% Prentice Hall, 2003. ISBN: 0-13-044911-3 +%% Based on the IEEE 1364-2001 Verilog HDL standard +%% Ref: S. Palnitkar, "Verilog HDL: A Guide to Digital Design and Synthesis," +%% Prentice Hall, 2003. ISBN: 0-13-044911-3 %% \lst@definelanguage{Verilog}% {morekeywords={% reserved keywords diff --git a/Master/texmf-dist/tex/latex/listings/lstmisc.sty b/Master/texmf-dist/tex/latex/listings/lstmisc.sty index e17f21a7eb9..0fd0c697566 100644 --- a/Master/texmf-dist/tex/latex/listings/lstmisc.sty +++ b/Master/texmf-dist/tex/latex/listings/lstmisc.sty @@ -16,8 +16,8 @@ %% Send comments and ideas on the package, error reports and additional %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% -\def\filedate{2018/09/02} -\def\fileversion{1.7} +\def\filedate{2019/02/27} +\def\fileversion{1.8b} \ProvidesFile{lstmisc.sty} [\filedate\space\fileversion\space(Carsten Heinz)] \lst@CheckVersion\fileversion |