texlive[70624] Master/texmf-dist: listings (12mar24)

commits+karl at tug.org commits+karl at tug.org
Wed Mar 13 21:08:52 CET 2024


Revision: 70624
          https://tug.org/svn/texlive?view=revision&revision=70624
Author:   karl
Date:     2024-03-13 21:08:51 +0100 (Wed, 13 Mar 2024)
Log Message:
-----------
listings (12mar24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/listings/listings-devel.pdf
    trunk/Master/texmf-dist/doc/latex/listings/listings.pdf
    trunk/Master/texmf-dist/doc/latex/listings/lstdrvrs.pdf
    trunk/Master/texmf-dist/source/latex/listings/listings.dtx
    trunk/Master/texmf-dist/source/latex/listings/lstdrvrs.dtx
    trunk/Master/texmf-dist/source/latex/listings/lstdrvrs.ins
    trunk/Master/texmf-dist/tex/latex/listings/listings-acm.prf
    trunk/Master/texmf-dist/tex/latex/listings/listings-bash.prf
    trunk/Master/texmf-dist/tex/latex/listings/listings-fortran.prf
    trunk/Master/texmf-dist/tex/latex/listings/listings-hansl.prf
    trunk/Master/texmf-dist/tex/latex/listings/listings-lua.prf
    trunk/Master/texmf-dist/tex/latex/listings/listings-python.prf
    trunk/Master/texmf-dist/tex/latex/listings/listings.cfg
    trunk/Master/texmf-dist/tex/latex/listings/listings.sty
    trunk/Master/texmf-dist/tex/latex/listings/lstdoc.sty
    trunk/Master/texmf-dist/tex/latex/listings/lstlang1.sty
    trunk/Master/texmf-dist/tex/latex/listings/lstlang2.sty
    trunk/Master/texmf-dist/tex/latex/listings/lstlang3.sty
    trunk/Master/texmf-dist/tex/latex/listings/lstmisc.sty
    trunk/Master/texmf-dist/tex/latex/listings/lstpatch.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/latex/listings/listings-rexx.prf

Modified: trunk/Master/texmf-dist/doc/latex/listings/listings-devel.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/listings/listings.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/listings/lstdrvrs.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/listings/listings.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/listings/listings.dtx	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/source/latex/listings/listings.dtx	2024-03-13 20:08:51 UTC (rev 70624)
@@ -135,7 +135,7 @@
 %       Hoffmann became the maintainer of the \packagename{listings}
 %       package in 2013; see the Preface for details.}~ %
 %    \textless\lstemail\textgreater}
-% \date{2024/02/21\enspace\enspace Version 1.10\ \box\abstractbox}
+% \date{2024/03/11\enspace\enspace Version 1.10a\ \box\abstractbox}
 % \def\lstemail{\href{mailto:j.hoffmann at fh-aachen.de}{\texttt{j.hoffmann(at)fh-aachen.de}}}
 % \ifhyper
 %   \hypersetup{pdftitle=The Listings Package,
@@ -6122,8 +6122,8 @@
 % All files will have same date and version.
 %    \begin{macrocode}
 %<*kernel|misc|doc>
-\def\filedate{2024/02/21}
-\def\fileversion{1.10}
+\def\filedate{2024/03/11}
+\def\fileversion{1.10a}
 %</kernel|misc|doc>
 %    \end{macrocode}
 % What we need and who we are.
@@ -6165,6 +6165,7 @@
 \ProvidesFile{lstpatch.sty}
              [\filedate\space\fileversion\space(Carsten Heinz)]
 \lst at CheckVersion\lst at version{}
+%%% intentionally empty
 %</patch>
 %    \end{macrocode}
 %    \begin{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/listings/lstdrvrs.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/listings/lstdrvrs.dtx	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/source/latex/listings/lstdrvrs.dtx	2024-03-13 20:08:51 UTC (rev 70624)
@@ -1,6 +1,6 @@
 % \iffalse
 %
-% Time-stamp: <2024-02-17 18:25:08 ax006ho>
+% Time-stamp: <2024-03-12 09:33:03 ax006ho>
 %
 %<*driver>
 \documentclass{ltxdoc}
@@ -33,7 +33,7 @@
 % \title{Language, Style and Format drivers\\ for \textsf{Listings}\\
 %   {\large by Carsten Heinz and individual authors:}}
 % \author{\InputIfFileExists{lstdrvrs.tmp}{}{}}
-% \date{2024/02/21\enspace\enspace Version 1.10\ \box\abstractbox}
+% \date{2024/03/11\enspace\enspace Version 1.10a\ \box\abstractbox}
 %
 % \ifhyper
 %   \hypersetup{pdftitle={Language, Style and Format drivers for the
@@ -113,6 +113,7 @@
     \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}}
+    \file{listings-rexx.prf}{\from{lstdrvrs.dtx}{rexx-prf}}
 }
 
 
@@ -137,7 +138,7 @@
 % \endgroup
 % We mainly define default dialects.
 %    \begin{macrocode}
-\ProvidesFile{listings.cfg}[2024/02/21 1.10 listings configuration]
+\ProvidesFile{listings.cfg}[2024/03/11 1.10a listings configuration]
 \def\lstlanguagefiles
     {lstlang0.sty,lstlang1.sty,lstlang2.sty,lstlang3.sty}
 \lstset{defaultdialect=[R/3 6.10]ABAP,
@@ -184,7 +185,8 @@
 %<+hansl-prf>\ProvidesFile{listings-hansl.prf}
 %<+lua-prf>\ProvidesFile{listings-lua.prf}
 %<+python-prf>\ProvidesFile{listings-python.prf}
-%<-config>    [2024/02/21 1.10 listings language file]
+%<+rexx-prf>\ProvidesFile{listings-rexx.prf}
+%<-config>    [2024/03/11 1.10a listings language file]
 %    \end{macrocode}
 %
 %
@@ -320,7 +322,7 @@
   morecomment=[l]{//},%
   morecomment=[s]{/*}{*/},%
   string=[b]{"},%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -343,7 +345,7 @@
     Abs,Array,Clear,CreateObject,CStr,Err,ForReading,ForWriting,%
     OpenTextFile,Replace,WriteLine%
   }%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -462,7 +464,7 @@
    morecomment=[l]--,%
    morestring=[m]",% percent not defined as stringizer so far
    morestring=[m]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang1>
@@ -628,7 +630,7 @@
    morecomment=[l]//,%
    morecomment=[s]{/*}{*/},%
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %</lang1>
 %    \end{macrocode}
 % \endgroup
@@ -809,7 +811,7 @@
    morecomment=[l]//,% missing comma: Markus Pahlow
    morecomment=[n]{/*}{*/},%
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %</lang3>
 %    \end{macrocode}
 % \endgroup
@@ -990,7 +992,7 @@
    morecomment=[s]{/*}{*/},%
    morecomment=[l]//,%
    morestring=[b]"
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang1>
@@ -1091,7 +1093,7 @@
   sensitive=true,%
   morecomment=[l]{//},%
   morestring=[b]"%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -1173,7 +1175,7 @@
    sensitive=f,% ???
    morecomment=[f][commentstyle][6]*,%
    morestring=[d]"% ??? doubled
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 % \texttt{commentstyle} (not the surrounding brackets) have been added after
 % a bug report by \lsthelper{Stephen Reindl}{Stephen.Reindl at vodafone.de}
@@ -1208,7 +1210,7 @@
    sensitive=f,% ???
    morecomment=[l]//,%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -1247,7 +1249,7 @@
    morecomment=[l]{REm},%
    morecomment=[l]{REM},%
    morestring=[d]"%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -1369,7 +1371,7 @@
    sensitive=false,%
    morecomment=[l]\%,%
    morestring=[m]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -1398,7 +1400,7 @@
       sqrt,BEGIN,END},%
    morecomment=[l]\#,%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 % Thanks to \lstthanks{Riccardo~Murri}{riccardo.murri at gmx.it}{2003/09/24}
 % for the following two
@@ -1429,7 +1431,7 @@
    morecomment=[l]\#,%
    morestring=[d]",%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %</lang1>
 %    \end{macrocode}
 % \endgroup
@@ -1547,7 +1549,7 @@
    morecomment=[s]{\{}{\}},%
    morecomment=[l]{//},% 2001 Christian Gudrian
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -1581,7 +1583,7 @@
    sensitive,%
    morecomment=[l]--,%
    morestring=[d]",%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 % The key=value \texttt{stringtest=false} has been removed after a bug
 % report from \lsthelper{Xavier~Cr\'egut}{cregut at enseeiht.fr}{2002/09/09}
@@ -1623,7 +1625,7 @@
       replacerow,replacecolumn,replaceelement,transp,errorsstop,stop},%
    sensitive,%
    morestring=[d]"%
-  }[keywords,strings]%
+  }[keywords,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -1657,7 +1659,7 @@
    morecomment=[l]\%,%
    morestring=[b]",%
    morestring=[b]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -1693,7 +1695,7 @@
    morecomment=[l]--,%
    morestring=[d]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -1888,7 +1890,7 @@
    morecomment=[f]c,%
    morestring=[d]",%% not Fortran-77 standard, but allowed in Fortran-95 %%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang1>
@@ -2027,7 +2029,7 @@
   morestring=[b]',%
   morestring=[b]",%
   morestring=[s]{`}{`},%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -2066,7 +2068,7 @@
    sensitive=f,%
    morecomment=[s]{\{}{\}},%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -2105,7 +2107,7 @@
    comment=[l]\#,%
    morestring=[b]",%
    morestring=[b]',%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %</lang2>
 %    \end{macrocode}
 % \endgroup
@@ -2333,7 +2335,7 @@
    morecomment=[l]--,%
    morecomment=[n]{\{-}{-\}},%
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -2425,7 +2427,7 @@
    sensitive=f,%
    morecomment=[l];,%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -2447,7 +2449,7 @@
 %%
 %% Inform definition (c) 2003 Jonathan Sauer
 %%
-\lst at definelanguage{inform}{%
+\lst at definelanguage{Inform}{%
   % Language keywords
   morekeywords={breakdo,else,false,for,has,hasnt,if,%
     in,indirect,jump,notin,nothing,NULL,objectloop,ofclass,%
@@ -2530,7 +2532,7 @@
   sensitive=false,%
   morestring=[d]{"},%
   morecomment=[l]{!}%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -2606,7 +2608,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[b]",%
    morestring=[b]',%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 % \lsthelper{Herbert Voss}{Herbert.Voss at alumni.TU-Berlin.de}{2002/07/30}
 % {missing keyword label} added the keyword \texttt{label}.
@@ -2615,6 +2617,9 @@
 %    \end{macrocode}
 % \endgroup
 %
+%
+% \subsubsection[JVMIS---Java bytecode instructions]{JVMIS---The Java bytecode instructions}
+%
 % \lstthanks{Martine~Gautier}{Martine.Gautier at loria.fr}{2004/03/30} made the
 % following contribution.
 % \begingroup
@@ -2663,31 +2668,54 @@
 %
 % \lstthanks{Bastian Germann}{bastian.germann at nordakademie.de}{2013/10/19}
 % asked to include the Scala definition provided by Frank Teubler
-% (2009). Here it is:
+% (2009). Here it is---the definition has got a small overhaul according to
+% the Scala syntax published for version 2.13
+% (\url{https://scala-lang.org/files/archive/spec/2.13/spec.pdf}):
 % \begingroup
 %    \begin{macrocode}
 %<*lang3>
 %    \end{macrocode}
 %    \begin{macrocode}
-\lst at definelanguage{Scala}%
-  {morekeywords={abstract,case,catch,class,def,%
+\lst at definelanguage{Scala}{%
+  morekeywords={abstract,case,catch,class,def,%
     do,else,extends,false,final,finally,%
-    for,if,implicit,import,lazy,match,mixin,%
-    new,null,object,override,package,%
+    for,forSome,if,implicit,import,lazy,macro,match,%
+    mixin,new,null,object,override,package,%
     private,protected,requires,return,sealed,%
     super,this,trait,true,try,%
     type,val,var,while,with,yield},%+
-%	otherkeywords={_,:,=,=>,<<:,<\%,>:,\#,@},%
-	otherkeywords={=,=>,<-,<\%,<:,>:,\#,@},%
-   sensitive,%
-   morecomment=[l]//,%
-   morecomment=[n]{/*}{*/},%
-   morestring=[b]",%
-   morestring=[b]',%
-   morestring=[b]""",%
-  }[keywords,comments,strings]%
+  otherkeywords={_, :, =, =>, <-, <\%, <:, >:, \#, @},%
+  sensitive,%
+  morecomment=[l]//,%
+  morecomment=[n]{/*}{*/},%
+  morestring=[b]",%
+  morestring=[b]',%
+  morestring=[b]""",%
+}[keywords,comments,strings]
 %    \end{macrocode}
+% Remark: This definition contains the keywords |mixin| and |requires|,
+% which don't belong to the official Scala 2.13 language definition, the
+% keywords |forSome|, |macro|, and |throw|, which were missing in listings
+% prior than v1.10a, are added silently. The Unicode operators |\u21D2| and
+% |\u2190|, which have the ASCII equivalents |=>| and |<-|,  are also
+% reserved but cannot be used with PDF\TeX.
+%
+% \lstthanks{Deloo}{lucadelu97 at gmail.com}{2024-03-02} asked for Scala 3.0
+% support. The following code according to
+% \url{https://docs.scala-lang.org/scala3/reference/syntax.html} is a
+% simple approach, \textsf{listings} cannot correctly support soft
+% keywords, because they are context dependent.
 %    \begin{macrocode}
+\lst at definelanguage[3.0]{Scala}[]{Scala}{%
+  morekeywords={as, derives, end, enum, export, extension, given},
+  morekeywords=[2]{infix, inline, opaque, open, transparent}
+  otherkeywords={=>>, ?=>, =>}, % =>> isn't recognized, even after
+                                % the keyword => is deleted
+  alsoletter={*, +, -, |},
+  deletekeywords={<\%, _, forSome, macro, mixin, requires, this},
+}[keywords,comments,strings]
+%    \end{macrocode}
+%    \begin{macrocode}
 %</lang3>
 %    \end{macrocode}
 % \endgroup
@@ -2715,7 +2743,8 @@
    morestring=[d]",%
    morestring=[d]',%
    morestring=[d]`%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
+%    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
 %    \end{macrocode}
@@ -2938,7 +2967,7 @@
   sensitive=false,%
   morecomment=[l]{--},%
   morestring=[b]",%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \begin{macrocode}
 %</lang3>
 %    \end{macrocode}
@@ -3011,7 +3040,7 @@
    morecomment=[l];,%
    morecomment=[s]{\#|}{|\#},% 1997 Aslak Raanes
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -3120,7 +3149,7 @@
    morecomment=[l];,%
    morecomment=[l];;,%
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -3148,7 +3177,7 @@
   morecomment=[l];,%
   morecomment=[l];;,%
   morestring=[b]"%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -3399,7 +3428,7 @@
   morestring=[b]',%
   % multi line strings
   morestring=[s]{[[}{]]},%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 % \endgroup
 % And here are the new definitions for Lua 5.1:
@@ -3498,7 +3527,7 @@
   morestring=[s]{[========[}{]========]},%
   morestring=[s]{[=========[}{]=========]},%
   morestring=[s]{[==========[}{]==========]},%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 % \endgroup
 %
@@ -3582,7 +3611,7 @@
 % and labels are also new in Lua 5.2
 %    \begin{macrocode}
   moredelim=[s][keywordstyle3]{::}{::},%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 % \endgroup
 %
@@ -3642,7 +3671,7 @@
     utf8, utf8.char, utf8.charpattern, utf8.codepoint, utf8.codes,%
     utf8.len, utf8.offset,%
   },%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -3816,7 +3845,7 @@
    sensitive,%
    morecomment=[l]\%,%
    morestring=[m]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang1>
@@ -5972,7 +6001,7 @@
    sensitive,%
    morecomment=[s]{(*}{*)},%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang1>
@@ -6012,7 +6041,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[bd]",%
    morestring=[bd]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -6131,7 +6160,7 @@
    sensitive,%
    morecomment=[l]||,%
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -6201,7 +6230,7 @@
    sensitive,%
    morecomment=[n]{(*}{*)},%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -6237,7 +6266,7 @@
    morecomment=[n]{(*}{*)},%
    morestring=[d]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -6328,7 +6357,7 @@
    morecomment=[n]{(*}{*)},%
    morestring=[d]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -6406,7 +6435,7 @@
     sensitive=t,%
     morecomment=[l]--,%
     morestring=[d]'%
-   }[keywords,comments,strings]%
+   }[keywords,comments,strings]
 %    \end{macrocode}
 % After a bug report by \lsthelper{Martin~S\"u\ss kraut}{Edon.Myder at web.de}
 % {2003/01/30}{morerdkeywords doesn't exist any more} \texttt{morerdkeywords}
@@ -6506,7 +6535,7 @@
    morecomment=[l]\%,%
    morestring=[m]',%
    morestring=[m]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang1>
@@ -6539,7 +6568,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[b]",%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -6617,7 +6646,7 @@
    morecomment=[s]{(*}{*)},%
    morecomment=[s]{\{}{\}},%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang1>
@@ -6667,7 +6696,7 @@
    morestring=[b]',%
    MoreSelectCharTable=%
       \lst at ReplaceInput{\$\#}{\lst at ProcessOther\$\lst at ProcessOther\#}%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang1>
@@ -7268,7 +7297,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[b]",%
    morestring=[b]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -7358,7 +7387,7 @@
    morecomment=[s]{\%}{\%},%
    morestring=[b]',%
    literate={~}{{$\sim$}}{1} {^}{$\wedge$}{1},%
-  }[keywords,directives,comments,strings]%
+  }[keywords,directives,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -7398,7 +7427,7 @@
   sensitive=f,%
   morecomment=[s]{/*}{*/},%
   morestring=[d]'%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -7558,7 +7587,7 @@
    morecomment=[l]//,%
    morecomment=[s]{/*}{*/},%
    morestring=[d]",%
-  }[keywords,directives,comments,strings]%
+  }[keywords,directives,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang1>
@@ -7593,7 +7622,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[bd]",%
    morestring=[bd]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -7932,7 +7961,7 @@
    morecomment=[n]{/*}{*/},%
    morestring=[d]{'},%
    morestring=[d]{"},%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -7971,11 +8000,15 @@
   morestring=[d]",%
   morestring=[d]',%
   morecomment=[s]{/*}{*/},%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
 %    \end{macrocode}
+% \lstthanks{Shmuel (Seymour J.) Metz}{smetz3 at gmu.edu}{%
+% 2023-10-30} pointed out the previously unsupported special variables
+% |result| etc.. He also gave the advice to complete the definitions
+% for OORexx in the following section.
 % \endgroup
 %
 %
@@ -8002,6 +8035,54 @@
 % \endgroup
 %
 %
+% \begingroup
+% Jobst Hoffmann added the following configuration for printing
+% Rexx code which is similar to the colors used by the Fortran preferences file.
+%    \begin{macrocode}
+%<*rexx-prf>
+%    \end{macrocode}
+%    \begin{macrocode}
+\usepackage{xcolor}
+\usepackage{textcomp}
+
+%% 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')
+%\definecolor{IDLEorange}{RGB}{255,119,0} % pretty close to real orange
+%\definecolor{IDLEpurple}{RGB}{144,0,144}
+%\definecolor{IDLEgreen}{RGB}{0,170,0}
+%\definecolor{IDLEred}{RGB}{221,0,0}
+%% Corrected to ``web-safe''
+%\definecolor{orange2}{RGB}{255,102,0}
+\definecolor{purple2}{RGB}{153,0,153} % there's actually no standard purple
+\definecolor{green2}{RGB}{0,153,0} % a darker green
+%\definecolor{red2}{RGB}{221,0,0}
+
+% Except for green and purple, the other colors are pretty good in standard
+% hue
+\lstdefinestyle{python-idle-code}{%
+  language=Python,                   % the language
+  basicstyle=\normalsize\ttfamily,   % size of the fonts for the code
+  % Color settings to match IDLE style
+  keywordstyle=\color{orange},       % core keywords
+  keywordstyle={[2]\color{purple2}}, % built-ins
+  stringstyle=\color{green2},%
+  commentstyle=\color{red},%
+  upquote=true,                      % requires textcomp
+}
+% Unimplemented IDLE syntax: function/class names being defined should be
+% blue
+%    \end{macrocode}
+% This code is provided in the file |listings-rexx.prf|, see section
+% 2.4.1 (Preferences) of the \packagename{listings} documentation.
+%    \begin{macrocode}
+%</rexx-prf>
+%    \end{macrocode}
+% \endgroup
+%
+%
 % \subsection{Reduce}
 %
 % was provided by \lstthanks{Geraint~Paul~Bevan}{geraint at users.sf.net}
@@ -8064,7 +8145,7 @@
   morecomment=[s]{COMMENT}{;},%
   morecomment=[s]{COMMENT}{$},%
   morestring="%
- }[keywords,comments,strings]%
+ }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -8232,7 +8313,7 @@
    morestring=[s]{\%Q(}{)},%
    morestring=[s]{\%Q[}{]},%
    morestring=[s]{\%Q-}{-}%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \begin{macrocode}
 %</lang2>
 %    \end{macrocode}
@@ -8408,7 +8489,7 @@
    morecomment=[l]//,%
    morestring=[b]",%
    morestring=[m]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang1>
@@ -8485,7 +8566,7 @@
    keywordcommentsemicolon={end}{else,end,otherwise,when}{comment},%
    morestring=[d]",%
    morestring=[d]'%
-  }[keywords,keywordcomments,strings]%
+  }[keywords,keywordcomments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -8516,7 +8597,7 @@
    morecomment=[l]\#,%
    morestring=[d]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -8581,7 +8662,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[d]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang1>
@@ -8743,7 +8824,7 @@
    morecomment=[l]{;\#},%
    morecomment=[l]{[\#},%
    morecomment=[l]{\{\#}%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 % And after receiving a bug report from \lsthelper{Vitaly A. Repin}
 % {vitaly at radio.hop.stu.neva.ru}{2002/04/08}{undefined control sequence
@@ -9188,7 +9269,7 @@
    sensitive=f,%
    morecomment=[l]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang2>
@@ -9248,7 +9329,7 @@
    morecomment=[s]{/*}{*/},%
    morecomment=[l]//,% nonstandard
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 %    \begin{macrocode}
 %</lang3>
@@ -9287,7 +9368,7 @@
    sensitive=f,% 1998 Gaurav Aggarwal
    morecomment=[l]--,%
    morestring=[d]{"}%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %    \end{macrocode}
 % The VHDL-AMS dialect has been added by \lstthanks{Steffen~Klupsch}
 % {steffen at vlsi.informatik.tu-darmstadt.de}{2001/10/05}.

Modified: trunk/Master/texmf-dist/source/latex/listings/lstdrvrs.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/listings/lstdrvrs.ins	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/source/latex/listings/lstdrvrs.ins	2024-03-13 20:08:51 UTC (rev 70624)
@@ -44,6 +44,7 @@
     \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}}
+    \file{listings-rexx.prf}{\from{lstdrvrs.dtx}{rexx-prf}}
 }
 
 \ifToplevel{
@@ -56,7 +57,7 @@
 }
 
 \endbatchfile
-    [2024/02/21 1.10 listings language file]
+    [2024/03/11 1.10a listings language file]
 \endinput
 %%
 %% End of file `lstdrvrs.ins'.

Modified: trunk/Master/texmf-dist/tex/latex/listings/listings-acm.prf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/listings-acm.prf	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/listings-acm.prf	2024-03-13 20:08:51 UTC (rev 70624)
@@ -22,7 +22,7 @@
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
 \ProvidesFile{listings-acm.prf}
-    [2024/02/21 1.10 listings language file]
+    [2024/03/11 1.10a listings language file]
 \usepackage[rgb, x11names]{xcolor}
 
 \definecolor{Comments}{rgb}{0.00,0.50,0.00}

Modified: trunk/Master/texmf-dist/tex/latex/listings/listings-bash.prf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/listings-bash.prf	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/listings-bash.prf	2024-03-13 20:08:51 UTC (rev 70624)
@@ -22,7 +22,7 @@
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
 \ProvidesFile{listings-bash.prf}
-    [2024/02/21 1.10 listings language file]
+    [2024/03/11 1.10a listings language file]
 \usepackage[rgb, x11names]{xcolor}
 
 \lstset{%

Modified: trunk/Master/texmf-dist/tex/latex/listings/listings-fortran.prf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/listings-fortran.prf	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/listings-fortran.prf	2024-03-13 20:08:51 UTC (rev 70624)
@@ -22,7 +22,7 @@
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
 \ProvidesFile{listings-fortran.prf}
-    [2024/02/21 1.10 listings language file]
+    [2024/03/11 1.10a listings language file]
 \usepackage[rgb, x11names]{xcolor}
 
 \lstset{%

Modified: trunk/Master/texmf-dist/tex/latex/listings/listings-hansl.prf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/listings-hansl.prf	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/listings-hansl.prf	2024-03-13 20:08:51 UTC (rev 70624)
@@ -22,7 +22,7 @@
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
 \ProvidesFile{listings-hansl.prf}
-    [2024/02/21 1.10 listings language file]
+    [2024/03/11 1.10a listings language file]
 \usepackage[rgb, x11names]{xcolor}
 
 \lstdefinestyle{hanslbw}{%

Modified: trunk/Master/texmf-dist/tex/latex/listings/listings-lua.prf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/listings-lua.prf	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/listings-lua.prf	2024-03-13 20:08:51 UTC (rev 70624)
@@ -22,7 +22,7 @@
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
 \ProvidesFile{listings-lua.prf}
-    [2024/02/21 1.10 listings language file]
+    [2024/03/11 1.10a listings language file]
 \usepackage[rgb, x11names]{xcolor}
 \lstdefinestyle{Lua}{%
   language=[5.2]Lua,

Modified: trunk/Master/texmf-dist/tex/latex/listings/listings-python.prf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/listings-python.prf	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/listings-python.prf	2024-03-13 20:08:51 UTC (rev 70624)
@@ -22,7 +22,7 @@
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
 \ProvidesFile{listings-python.prf}
-    [2024/02/21 1.10 listings language file]
+    [2024/03/11 1.10a listings language file]
 \usepackage{xcolor}
 \usepackage{textcomp}
 

Added: trunk/Master/texmf-dist/tex/latex/listings/listings-rexx.prf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/listings-rexx.prf	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/listings/listings-rexx.prf	2024-03-13 20:08:51 UTC (rev 70624)
@@ -0,0 +1,50 @@
+%%
+%% This is file `listings-rexx.prf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lstdrvrs.dtx  (with options: `rexx-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 at fh-aachen.de>.
+%%
+\ProvidesFile{listings-rexx.prf}
+    [2024/03/11 1.10a listings language file]
+\usepackage{xcolor}
+\usepackage{textcomp}
+
+%% 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')
+%% Corrected to ``web-safe''
+\definecolor{purple2}{RGB}{153,0,153} % there's actually no standard purple
+\definecolor{green2}{RGB}{0,153,0} % a darker green
+
+\lstdefinestyle{python-idle-code}{%
+  language=Python,                   % the language
+  basicstyle=\normalsize\ttfamily,   % size of the fonts for the code
+  % Color settings to match IDLE style
+  keywordstyle=\color{orange},       % core keywords
+  keywordstyle={[2]\color{purple2}}, % built-ins
+  stringstyle=\color{green2},%
+  commentstyle=\color{red},%
+  upquote=true,                      % requires textcomp
+}
+\endinput
+%%
+%% End of file `listings-rexx.prf'.

Modified: trunk/Master/texmf-dist/tex/latex/listings/listings.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/listings.cfg	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/listings.cfg	2024-03-13 20:08:51 UTC (rev 70624)
@@ -21,7 +21,7 @@
 %% Send comments and ideas on the package, error reports and additional
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
-\ProvidesFile{listings.cfg}[2024/02/21 1.10 listings configuration]
+\ProvidesFile{listings.cfg}[2024/03/11 1.10a listings configuration]
 \def\lstlanguagefiles
     {lstlang0.sty,lstlang1.sty,lstlang2.sty,lstlang3.sty}
 \lstset{defaultdialect=[R/3 6.10]ABAP,

Modified: trunk/Master/texmf-dist/tex/latex/listings/listings.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/listings.sty	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/listings.sty	2024-03-13 20:08:51 UTC (rev 70624)
@@ -16,8 +16,8 @@
 %% Send comments and ideas on the package, error reports and additional
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
-\def\filedate{2024/02/21}
-\def\fileversion{1.10}
+\def\filedate{2024/03/11}
+\def\fileversion{1.10a}
 \NeedsTeXFormat{LaTeX2e}
 \AtEndOfPackage{\ProvidesPackage{listings}
              [\filedate\space\fileversion\space(Carsten Heinz)]}

Modified: trunk/Master/texmf-dist/tex/latex/listings/lstdoc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/lstdoc.sty	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/lstdoc.sty	2024-03-13 20:08:51 UTC (rev 70624)
@@ -6,8 +6,8 @@
 %%
 %% listings.dtx  (with options: `doc')
 %% 
-\def\filedate{2024/02/21}
-\def\fileversion{1.10}
+\def\filedate{2024/03/11}
+\def\fileversion{1.10a}
 \ProvidesPackage{lstdoc}
              [\filedate\space\fileversion\space(Carsten Heinz)]
 \let\lstdoc at currversion\fileversion

Modified: trunk/Master/texmf-dist/tex/latex/listings/lstlang1.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/lstlang1.sty	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/lstlang1.sty	2024-03-13 20:08:51 UTC (rev 70624)
@@ -22,7 +22,7 @@
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
 \ProvidesFile{lstlang1.sty}
-    [2024/02/21 1.10 listings language file]
+    [2024/03/11 1.10a listings language file]
 %%
 %% ACSL definition (c) 2000 by Andreas Matthias
 %%
@@ -56,7 +56,7 @@
    morecomment=[l]--,%
    morestring=[m]",% percent not defined as stringizer so far
    morestring=[m]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% awk definitions (c) Christoph Giess
 %%
@@ -75,7 +75,7 @@
    morecomment=[l]//,%
    morecomment=[s]{/*}{*/},%
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% Visual Basic definition (c) 2002 Robert Frank
 %%
@@ -279,7 +279,7 @@
    morecomment=[s]{/*}{*/},%
    morecomment=[l]//,%
    morestring=[b]"
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% csh definition (c) 1998 Kai Below
 %%
@@ -292,7 +292,7 @@
       sqrt,BEGIN,END},%
    morecomment=[l]\#,%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% bash,sh definition (c) 2003 Riccardo Murri <riccardo.murri at gmx.it>
 %%
@@ -311,7 +311,7 @@
    morecomment=[l]\#,%
    morestring=[d]",%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage[18]{Fortran}[08]{Fortran}{%
   morekeywords={FAIL, IMAGE, NON_RECURSIVE},%
   morekeywords=[3]{GET_TEAM, TEAM_NUMBER, IMAGE_TEAMS, NUM_IMAGES,
@@ -401,7 +401,7 @@
    morecomment=[f]c,%
    morestring=[d]",%% not Fortran-77 standard, but allowed in Fortran-95 %%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage{HTML}%
   {morekeywords={A,ABBR,ACRONYM,ADDRESS,APPLET,AREA,B,BASE,BASEFONT,%
       BDO,BIG,BLOCKQUOTE,BODY,BR,BUTTON,CAPTION,CENTER,CITE,CODE,COL,%
@@ -481,7 +481,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[b]",%
    morestring=[b]',%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% ByteCodeJava definition (c) 2004 Martine Gautier
 %%
@@ -583,7 +583,7 @@
    sensitive,%
    morecomment=[l]\%,%
    morestring=[m]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage[11.0]{Mathematica}[5.2]{Mathematica}{%
   morekeywords={
     "AASTriangle", "AbelianGroup", "Abort", "AbortKernels",%
@@ -2710,7 +2710,7 @@
    sensitive,%
    morecomment=[s]{(*}{*)},%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% Octave definition (c) 2001,2002 Ulrich G. Wortmann
 %%
@@ -2789,7 +2789,7 @@
    morecomment=[l]\%,%
    morestring=[m]',%
    morestring=[m]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage[XSC]{Pascal}[Standard]{Pascal}
   {deletekeywords={alfa,byte,pack,unpack},% 1998 Andreas Stephan
    morekeywords={dynamic,external,forward,global,module,nil,operator,%
@@ -2846,7 +2846,7 @@
    morecomment=[s]{(*}{*)},%
    morecomment=[s]{\{}{\}},%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage{Perl}%
   {morekeywords={abs,accept,alarm,atan2,bind,binmode,bless,caller,%
       chdir,chmod,chomp,chop,chown,chr,chroot,close,closedir,connect,%
@@ -2879,7 +2879,7 @@
    morestring=[b]',%
    MoreSelectCharTable=%
       \lst at ReplaceInput{\$\#}{\lst at ProcessOther\$\lst at ProcessOther\#}%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% POV definition (c) 1999 Berthold H\"ollmann
 %%
@@ -2940,7 +2940,7 @@
    morecomment=[l]//,%
    morecomment=[s]{/*}{*/},%
    morestring=[d]",%
-  }[keywords,directives,comments,strings]%
+  }[keywords,directives,comments,strings]
 %%
 %% Python definition (c) 1998 Michael Weber
 %% Additional definitions (2013) Alexis Dimitriadis
@@ -3135,7 +3135,7 @@
    morecomment=[l]//,%
    morestring=[b]",%
    morestring=[m]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% SQL definition (c) 1998 Christian Haul
 %%                (c) 2002 Neil Conway
@@ -3176,7 +3176,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[d]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% VHDL definition (c) 1997 Kai Wollenweber
 %%
@@ -3195,7 +3195,7 @@
    sensitive=f,% 1998 Gaurav Aggarwal
    morecomment=[l]--,%
    morestring=[d]{"}%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% VHDL-AMS definition (c) Steffen Klupsch
 %%

Modified: trunk/Master/texmf-dist/tex/latex/listings/lstlang2.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/lstlang2.sty	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/lstlang2.sty	2024-03-13 20:08:51 UTC (rev 70624)
@@ -22,7 +22,7 @@
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
 \ProvidesFile{lstlang2.sty}
-    [2024/02/21 1.10 listings language file]
+    [2024/03/11 1.10a listings language file]
 %%
 %% Abap definition by Knut Lickert
 %%
@@ -98,7 +98,7 @@
   morecomment=[l]{//},%
   morecomment=[s]{/*}{*/},%
   string=[b]{"},%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 \lst at definelanguage{ACMscript}[]{VBScript}{%
   morekeywords={%
     ElseIf,False,In,Resume,True%
@@ -107,7 +107,7 @@
     Abs,Array,Clear,CreateObject,CStr,Err,ForReading,ForWriting,%
     OpenTextFile,Replace,WriteLine%
   }%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %%
 %% Corba IDL definition (c) 1999 Jens T. Berger Thielemann
 %%
@@ -209,7 +209,7 @@
    sensitive=f,% ???
    morecomment=[f][commentstyle][6]*,%
    morestring=[d]"% ??? doubled
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage{Delphi}%
   {morekeywords={and,as,asm,array,begin,case,class,const,constructor,%
       destructor,div,do,downto,else,end,except,exports,file,finally,%
@@ -256,7 +256,7 @@
    morecomment=[s]{\{}{\}},%
    morecomment=[l]{//},% 2001 Christian Gudrian
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage{Eiffel}%
   {morekeywords={alias,all,and,as,BIT,BOOLEAN,CHARACTER,check,class,%
       creation,Current,debug,deferred,do,DOUBLE,else,elseif,end,%
@@ -269,7 +269,7 @@
    sensitive,%
    morecomment=[l]--,%
    morestring=[d]",%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% Euphoria definition (c) 1998 Detlef Reimers
 %%
@@ -288,7 +288,7 @@
    morecomment=[l]--,%
    morestring=[d]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% GAP definition
 %% (c) 2013 Heiko Oberdiek
@@ -331,7 +331,7 @@
    sensitive=f,%
    morecomment=[s]{\{}{\}},%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% gnuplot definition (c) Christoph Giess
 %%
@@ -356,7 +356,7 @@
    comment=[l]\#,%
    morestring=[b]",%
    morestring=[b]',%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage{hansl}{%
   showstringspaces = false, %
   morekeywords={ % hansl commands:
@@ -514,7 +514,7 @@
    morecomment=[l]--,%
    morecomment=[n]{\{-}{-\}},%
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% IDL definition (c) 1998 Juergen Heim
 %%
@@ -527,11 +527,11 @@
    sensitive=f,%
    morecomment=[l];,%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% Inform definition (c) 2003 Jonathan Sauer
 %%
-\lst at definelanguage{inform}{%
+\lst at definelanguage{Inform}{%
   % Language keywords
   morekeywords={breakdo,else,false,for,has,hasnt,if,%
     in,indirect,jump,notin,nothing,NULL,objectloop,ofclass,%
@@ -614,7 +614,7 @@
   sensitive=false,%
   morestring=[d]{"},%
   morecomment=[l]{!}%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 \lst at definelanguage{Lisp}%
   {morekeywords={abort,abs,acons,acos,acosh,adjoin,alphanumericp,alter,%
       append,apply,apropos,aref,arrayp,ash,asin,asinh,assoc,atan,atanh,%
@@ -658,7 +658,7 @@
    morecomment=[l];,%
    morecomment=[s]{\#|}{|\#},% 1997 Aslak Raanes
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% AutoLISP/VisualLISP - Stefan Lagotzki, info at lagotzki.de
 %%
@@ -753,7 +753,7 @@
    morecomment=[l];,%
    morecomment=[l];;,%
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage{elisp}[]{Lisp}{%
   morekeywords={begin, car, cdr, cons, define, display, drop, filter,%
     hash-ref, hash-set, if, load-file, lambda, length, map, message,%
@@ -766,7 +766,7 @@
   morecomment=[l];,%
   morecomment=[l];;,%
   morestring=[b]"%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %%
 %% Lua definitions (c) 2013 Stephan Hennig
 %%
@@ -816,7 +816,7 @@
   morestring=[b]',%
   % multi line strings
   morestring=[s]{[[}{]]},%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 \lst at definelanguage[5.1]{Lua}[5.0]{Lua}{%
   deletekeywords=[2]{%
     _LOADED, _REQUIREDNAME, LUA_PATH, gcinfo, loadlib,%
@@ -857,7 +857,7 @@
   morestring=[s]{[========[}{]========]},%
   morestring=[s]{[=========[}{]=========]},%
   morestring=[s]{[==========[}{]==========]},%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 \lst at definelanguage[5.2]{Lua}[5.1]{Lua}{%
   morekeywords=[1]{%
     goto,%
@@ -883,7 +883,7 @@
     _ENV,%
   },%
   moredelim=[s][keywordstyle3]{::}{::},%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 \lst at definelanguage[5.3]{Lua}[5.2]{Lua}{%
   deletekeywords=[2]{%
     bit32, bit32.arshift, bit32.band, bit32.bnot, bit32.bor,%
@@ -901,7 +901,7 @@
     utf8, utf8.char, utf8.charpattern, utf8.codepoint, utf8.codes,%
     utf8.len, utf8.offset,%
   },%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %%
 %% Make definitions (c) 2000 Rolf Niepraschk
 %%
@@ -954,7 +954,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[bd]",%
    morestring=[bd]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% Miranda definition (c) 1998 Peter Bartke
 %%
@@ -977,7 +977,7 @@
    sensitive,%
    morecomment=[l]||,%
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% ML definition (c) 1999 Torben Hoffmann
 %%
@@ -989,7 +989,7 @@
    sensitive,%
    morecomment=[n]{(*}{*)},%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% Oz definition (c) Andres Becerra Sandoval
 %%
@@ -1006,7 +1006,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[b]",%
    morestring=[d]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% PHP definition by Luca Balzerani
 %%
@@ -1591,7 +1591,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[b]",%
    morestring=[b]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% Prolog definition (c) 1997 Dominique de Waleffe
 %%
@@ -1609,7 +1609,7 @@
    morecomment=[s]{/*}{*/},%
    morestring=[bd]",%
    morestring=[bd]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% classic rexx listings definition
 %% by Patrick TJ McPhee <ptjm at interlog.com>
@@ -1623,7 +1623,7 @@
    morecomment=[n]{/*}{*/},%
    morestring=[d]{'},%
    morestring=[d]{"},%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% REXX keywords from System Product Interpreter Reference, VM/XA SP Release 1
 %% and Release 2
@@ -1644,7 +1644,7 @@
   morestring=[d]",%
   morestring=[d]',%
   morecomment=[s]{/*}{*/},%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %%
 %% ooREXX keywords (http://www.oorexx.org/)
 \lst at definelanguage[]{OORexx}[VM/XA]{Rexx}{%
@@ -1677,7 +1677,7 @@
    morestring=[s]{\%Q(}{)},%
    morestring=[s]{\%Q[}{]},%
    morestring=[s]{\%Q-}{-}%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% SHELXL definition (c) 1999 Aidan Philip Heerdegen
 %%
@@ -1781,7 +1781,7 @@
    morecomment=[l]{;\#},%
    morecomment=[l]{[\#},%
    morecomment=[l]{\{\#}%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% VBScript definition (c) 2000 Sonja Weidmann
 %%
@@ -1830,7 +1830,7 @@
    sensitive=f,%
    morecomment=[l]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% VRML definition (c) 2001 Oliver Baum
 %%

Modified: trunk/Master/texmf-dist/tex/latex/listings/lstlang3.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/lstlang3.sty	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/lstlang3.sty	2024-03-13 20:08:51 UTC (rev 70624)
@@ -22,7 +22,7 @@
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
 \ProvidesFile{lstlang3.sty}
-    [2024/02/21 1.10 listings language file]
+    [2024/03/11 1.10a listings language file]
 \lst at 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,%
@@ -124,7 +124,7 @@
    morecomment=[l]//,% missing comma: Markus Pahlow
    morecomment=[n]{/*}{*/},%
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage{CIL}{%
   morekeywords=[1]{assembly, beforefieldinit, class, default, cdecl, cil,%
     corflags, culture, custom, data, entrypoint, fastcall, field, file,%
@@ -161,7 +161,7 @@
   sensitive=true,%
   morecomment=[l]{//},%
   morestring=[b]"%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 \lst at definelanguage{Comal 80}%
   {morekeywords={AND,AUTO,CASE,DATA,DEL,DIM,DIV,DO,ELSE,ENDCASE,ENDIF,%
       ENDPROC,ENDWHILE,EOD,EXEC,FALSE,FOR,GOTO,IF,INPUT,INT,LIST,LOAD,%
@@ -170,7 +170,7 @@
    sensitive=f,% ???
    morecomment=[l]//,%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage[WinXP]{command.com}%
   {morekeywords={assoc,at,attrib,bootcfg,break,cacls,call,cd,chcp,chdir,%
       chkdsk,chkntfs,cls,cmd,cmdextversion,color,comp,compact,convert,copy,%
@@ -192,7 +192,7 @@
    morecomment=[l]{REm},%
    morecomment=[l]{REM},%
    morestring=[d]"%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 \lst at definelanguage{Comsol}%
   {morekeywords={%
       adaption,arc1,arc2,arrayr,assemble,asseminit,beziercurve2,block2,%
@@ -292,7 +292,7 @@
    sensitive=false,%
    morecomment=[l]\%,%
    morestring=[m]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage{Elan}%
   {morekeywords={ABS,AND,BOOL,CAND,CASE,CAT,COLUMNS,CONCR,CONJ,CONST,%
       COR,DECR,DEFINES,DET,DIV,DOWNTO,ELIF,ELSE,END,ENDIF,ENDOP,%
@@ -310,7 +310,7 @@
       replacerow,replacecolumn,replaceelement,transp,errorsstop,stop},%
    sensitive,%
    morestring=[d]"%
-  }[keywords,strings]%
+  }[keywords,strings]
 %%
 %% Erlang definition (c) 2003 Daniel Gazard
 %%
@@ -329,7 +329,7 @@
    morecomment=[l]\%,%
    morestring=[b]",%
    morestring=[b]'%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% Go definition
 %% (c) 2018 Christian Maurer
@@ -348,23 +348,31 @@
   morestring=[b]',%
   morestring=[b]",%
   morestring=[s]{`}{`},%
-}[keywords,comments,strings]%
-\lst at definelanguage{Scala}%
-  {morekeywords={abstract,case,catch,class,def,%
+}[keywords,comments,strings]
+\lst at definelanguage{Scala}{%
+  morekeywords={abstract,case,catch,class,def,%
     do,else,extends,false,final,finally,%
-    for,if,implicit,import,lazy,match,mixin,%
-    new,null,object,override,package,%
+    for,forSome,if,implicit,import,lazy,macro,match,%
+    mixin,new,null,object,override,package,%
     private,protected,requires,return,sealed,%
     super,this,trait,true,try,%
     type,val,var,while,with,yield},%+
-otherkeywords={=,=>,<-,<\%,<:,>:,\#,@},%
-   sensitive,%
-   morecomment=[l]//,%
-   morecomment=[n]{/*}{*/},%
-   morestring=[b]",%
-   morestring=[b]',%
-   morestring=[b]""",%
-  }[keywords,comments,strings]%
+  otherkeywords={_, :, =, =>, <-, <\%, <:, >:, \#, @},%
+  sensitive,%
+  morecomment=[l]//,%
+  morecomment=[n]{/*}{*/},%
+  morestring=[b]",%
+  morestring=[b]',%
+  morestring=[b]""",%
+}[keywords,comments,strings]
+\lst at definelanguage[3.0]{Scala}[]{Scala}{%
+  morekeywords={as, derives, end, enum, export, extension, given},
+  morekeywords=[2]{infix, inline, opaque, open, transparent}
+  otherkeywords={=>>, ?=>, =>}, % =>> isn't recognized, even after
+                                % the keyword => is deleted
+  alsoletter={*, +, -, |},
+  deletekeywords={<\%, _, forSome, macro, mixin, requires, this},
+}[keywords,comments,strings]
 \lst at definelanguage{ksh}
   {morekeywords={alias,awk,cat,echo,else,elif,fi,exec,exit,%
       for,in,do,done,select,case,esac,while,until,function,%
@@ -378,7 +386,7 @@
    morestring=[d]",%
    morestring=[d]',%
    morestring=[d]`%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at 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,%
@@ -583,7 +591,7 @@
   sensitive=false,%
   morecomment=[l]{--},%
   morestring=[b]",%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 \lst at definelanguage{LLVM}{%
   morekeywords={%
     ret,br,switch,indirectbr,invoke,resume,unreachable,%
@@ -744,7 +752,7 @@
    morecomment=[n]{(*}{*)},%
    morestring=[d]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage{MuPAD}{%
    morekeywords={end,next,break,if,then,elif,else,end_if,case,end_case,%
       otherwise,for,from,to,step,downto,in,end_for,while,end_while,%
@@ -785,7 +793,7 @@
    morecomment=[n]{(*}{*)},%
    morestring=[d]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 %%
 %% OCL definition (c) 2000 Achim D. Brucker
 %%
@@ -813,7 +821,7 @@
     sensitive=t,%
     morecomment=[l]--,%
     morestring=[d]'%
-   }[keywords,comments,strings]%
+   }[keywords,comments,strings]
 \lst at definelanguage{Plasm}%
   {sensitive=false,%
    morekeywords={aa,abs,ac,acolor,acos,actor,al,alias,align,and,%
@@ -887,7 +895,7 @@
    morecomment=[s]{\%}{\%},%
    morestring=[b]',%
    literate={~}{{$\sim$}}{1} {^}{$\wedge$}{1},%
-  }[keywords,directives,comments,strings]%
+  }[keywords,directives,comments,strings]
 \lst at definelanguage{PL/I}{%
   morekeywords={ABS, ATAN, AUTOMATIC, AUTO, ATAND, BEGIN, BINARY, BIN, BIT,%
     BUILTIN, BY, CALL, CHARACTER, CHAR, CHECK, COLUMN, COL, COMPLEX, CPLX,%
@@ -905,7 +913,7 @@
   sensitive=f,%
   morecomment=[s]{/*}{*/},%
   morestring=[d]'%
-}[keywords,comments,strings]%
+}[keywords,comments,strings]
 %%
 %% PostScript language definition (c) 2005 Christophe Jorssen.
 %%
@@ -1166,7 +1174,7 @@
   morecomment=[s]{COMMENT}{;},%
   morecomment=[s]{COMMENT}{$},%
   morestring="%
- }[keywords,comments,strings]%
+ }[keywords,comments,strings]
 %%
 %% RSL definition (c) 2004 Brian Christensen
 %%
@@ -1288,7 +1296,7 @@
    keywordcommentsemicolon={end}{else,end,otherwise,when}{comment},%
    morestring=[d]",%
    morestring=[d]'%
-  }[keywords,keywordcomments,strings]%
+  }[keywords,keywordcomments,strings]
 %%
 %% SPARQL definition (c) 2006 Christoph Kiefer
 %%
@@ -1301,7 +1309,7 @@
    morecomment=[l]\#,%
    morestring=[d]',%
    morestring=[d]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \lst at definelanguage{Swift}{%
   morekeywords={associatedtype,class,deinit,enum,extension,fileprivate,%
     func,import,init,inout,internal,let,open,operator,private,protocol,%
@@ -1684,7 +1692,7 @@
    morecomment=[s]{/*}{*/},%
    morecomment=[l]//,% nonstandard
    morestring=[b]"%
-  }[keywords,comments,strings]%
+  }[keywords,comments,strings]
 \endinput
 %%
 %% End of file `lstlang3.sty'.

Modified: trunk/Master/texmf-dist/tex/latex/listings/lstmisc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/lstmisc.sty	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/lstmisc.sty	2024-03-13 20:08:51 UTC (rev 70624)
@@ -16,8 +16,8 @@
 %% Send comments and ideas on the package, error reports and additional
 %% programming languages to Jobst Hoffmann at <j.hoffmann at fh-aachen.de>.
 %%
-\def\filedate{2024/02/21}
-\def\fileversion{1.10}
+\def\filedate{2024/03/11}
+\def\fileversion{1.10a}
 \ProvidesFile{lstmisc.sty}
              [\filedate\space\fileversion\space(Carsten Heinz)]
 \lst at CheckVersion\fileversion%

Modified: trunk/Master/texmf-dist/tex/latex/listings/lstpatch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/listings/lstpatch.sty	2024-03-13 20:08:34 UTC (rev 70623)
+++ trunk/Master/texmf-dist/tex/latex/listings/lstpatch.sty	2024-03-13 20:08:51 UTC (rev 70624)
@@ -9,6 +9,7 @@
 \ProvidesFile{lstpatch.sty}
              [\filedate\space\fileversion\space(Carsten Heinz)]
 \lst at CheckVersion\lst at version{}
+%%% intentionally empty
 \endinput
 %%
 %% End of file `lstpatch.sty'.



More information about the tex-live-commits mailing list.