diff options
Diffstat (limited to 'Master/texmf-dist/tex')
14 files changed, 167 insertions, 126 deletions
diff --git a/Master/texmf-dist/tex/latex/listings/listings-acm.prf b/Master/texmf-dist/tex/latex/listings/listings-acm.prf index 336b353ed2c..e7fd45af68d 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-acm.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-acm.prf @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-acm.prf} - [2023/02/27 1.9 listings language file] + [2024/02/21 1.10 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 88eb4b51124..765a2da9e23 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-bash.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-bash.prf @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-bash.prf} - [2023/02/27 1.9 listings language file] + [2024/02/21 1.10 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 b54138e885c..d6f6f298a5b 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-fortran.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-fortran.prf @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-fortran.prf} - [2023/02/27 1.9 listings language file] + [2024/02/21 1.10 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 index 86006d672c4..c4511d59929 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-hansl.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-hansl.prf @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-hansl.prf} - [2023/02/27 1.9 listings language file] + [2024/02/21 1.10 listings language file] \usepackage[rgb, x11names]{xcolor} \lstdefinestyle{hanslbw}{% diff --git a/Master/texmf-dist/tex/latex/listings/listings-lua.prf b/Master/texmf-dist/tex/latex/listings/listings-lua.prf index 7c58d150681..dbdda8dcdb6 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-lua.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-lua.prf @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-lua.prf} - [2023/02/27 1.9 listings language file] + [2024/02/21 1.10 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 a9e33f26c02..9990947994e 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-python.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-python.prf @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-python.prf} - [2023/02/27 1.9 listings language file] + [2024/02/21 1.10 listings language file] \usepackage{xcolor} \usepackage{textcomp} diff --git a/Master/texmf-dist/tex/latex/listings/listings.cfg b/Master/texmf-dist/tex/latex/listings/listings.cfg index 0818e556cfd..f1a7a9651e0 100644 --- a/Master/texmf-dist/tex/latex/listings/listings.cfg +++ b/Master/texmf-dist/tex/latex/listings/listings.cfg @@ -21,7 +21,7 @@ %% 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}[2023/02/27 1.9 listings configuration] +\ProvidesFile{listings.cfg}[2024/02/21 1.10 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 1070e8a713e..172b369c4ac 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{2023/02/27} -\def\fileversion{1.9} +\def\filedate{2024/02/21} +\def\fileversion{1.10} \NeedsTeXFormat{LaTeX2e} \AtEndOfPackage{\ProvidesPackage{listings} [\filedate\space\fileversion\space(Carsten Heinz)]} @@ -721,7 +721,7 @@ \advance\@tempcnta\@ne \edef\lst@maxempty{\the\@tempcnta\relax}% \let\lst@ifpreservenumber\lst@if} -\def\lst@DoNewLines{ +\def\lst@DoNewLines{% \@whilenum\lst@newlines>\lst@maxempty \do {\lst@ifpreservenumber \lsthk@OnEmptyLine @@ -933,6 +933,7 @@ \lst@ProcessOther {"5C}{\lst@ttfamily{\char92}\textbackslash} \lst@ProcessOther {"5E}\textasciicircum \lst@ProcessLetter{"5F}{\lst@ttfamily{\char95}\textunderscore} + % or \char"5F \lst@ProcessOther {"60}{\lst@ifupquote \textasciigrave \else \char96\relax \fi} \lst@ProcessOther {"7B}{\lst@ttfamily{\char123}\textbraceleft} @@ -1405,6 +1406,9 @@ \def\lst@lastline{9999999\relax} \let\lst@linerange\@empty } +\lst@Key{nolol}{false}[t]{\lstKV@SetIf{#1}\lst@ifnolol} +\def\lst@nololtrue{\let\lst@ifnolol\iftrue} +\let\lst@ifnolol\iffalse % init \lst@Key{linerange}\relax{\lstKV@OptArg[]{#1}{% \def\lst@interrange{##1}\def\lst@linerange{##2,}}} \lst@Key{consecutivenumbers}{true}[t]{% @@ -1427,7 +1431,7 @@ \lst@GetLineInterval% }% \def\lst@GetLineInterval{\expandafter\lst@GLI\lst@linerange\@nil} -\def\lst@GLI#1,#2\@nil{% +\def\lst@GLI#1,#2\@nil{% GLI: get line interval \def\lst@linerange{#2}\lst@GLI@#1--\@nil% } \def\lst@GLI@#1-#2-#3\@nil{% @@ -1478,66 +1482,69 @@ \lst@AddToHookExe{DeInit}{\global\let\lst@DefRange\@empty} \def\lst@DefRangeB#1#2{\lst@DefRangeB@#1#2} \def\lst@DefRangeB@#1#2#3#4{% - \lst@CDef{#1{#2}{#3}}#4{}% - {\lst@ifincluderangemarker - \lst@LeaveMode - \let#1#4% - \lst@DefRangeEnd - \lst@InitLstNumber - \else - \@tempcnta\lst@lineno \advance\@tempcnta\@ne - \edef\lst@firstline{\the\@tempcnta\relax}% - \gdef\lst@OnceAtEOL{\let#1#4\lst@DefRangeEnd}% - \lst@InitLstNumber - \fi - \global\let\lst@DefRange\lst@DefRangeEnd - \lst@CArgEmpty}% - \@empty} + \lst@CDef{#1{#2}{#3}}#4{}{% + \lst@ifincluderangemarker + \lst@LeaveMode + \let#1#4% + \lst@DefRangeEnd + \lst@InitLstNumber + \else + \@tempcnta\lst@lineno \advance\@tempcnta\@ne + \edef\lst@firstline{\the\@tempcnta\relax}% + \gdef\lst@OnceAtEOL{\let#1#4\lst@DefRangeEnd}% + \lst@InitLstNumber + \fi + \global\let\lst@DefRange\lst@DefRangeEnd + \lst@CArgEmpty% + }% + \@empty% +} \def\lstpatch@labels{% -\gdef\lst@SetFirstNumber{% + \gdef\lst@SetFirstNumber{% \ifx\lst@firstnumber\@undefined \@tempcnta 0\csname\@lst no@\lst@intname\endcsname\relax \ifnum\@tempcnta=\z@ \else \lst@nololtrue \advance\@tempcnta\lst@advancenumber \edef\lst@firstnumber{\the\@tempcnta\relax}% - \fi - \fi}% + \fi% + \fi% + }% } \def\lst@InitLstNumber{% - \global\c@lstnumber\lst@firstnumber - \global\advance\c@lstnumber\lst@advancenumber - \global\advance\c@lstnumber-\lst@advancelstnum - \ifx \lst@firstnumber\c@lstnumber - \global\advance\c@lstnumber-\lst@advancelstnum - \fi% - \lst@ifincluderangemarker\else% - \global\advance\c@lstnumber by 1% - \fi% - } + \global\c@lstnumber\lst@firstnumber + \global\advance\c@lstnumber\lst@advancenumber + \global\advance\c@lstnumber-\lst@advancelstnum + \ifx \lst@firstnumber\c@lstnumber + \global\advance\c@lstnumber-\lst@advancelstnum + \fi% + \lst@ifincluderangemarker\else% + \global\advance\c@lstnumber by 1% + \fi% +} \def\lst@DefRangeEnd{% - \ifx\lst@rangeend\@empty\else - \expandafter\lst@CArgX\lst@rangeend\relax\lst@DefRangeE - \fi} + \ifx\lst@rangeend\@empty\else + \expandafter\lst@CArgX\lst@rangeend\relax\lst@DefRangeE + \fi} \def\lst@DefRangeE#1#2{\lst@DefRangeE@#1#2} \def\lst@DefRangeE@#1#2#3#4{% - \lst@CDef{#1#2{#3}}#4{}% - {\let#1#4% - \edef\lst@lastline{\the\lst@lineno\relax}% - \lst@DefRangeE@@}% - \@empty} + \lst@CDef{#1#2{#3}}#4{}% + {\let#1#4% + \edef\lst@lastline{\the\lst@lineno\relax}% + \lst@DefRangeE@@}% + \@empty} \def\lst@DefRangeE@@#1\@empty{% - \lst@ifincluderangemarker - #1\lst@XPrintToken - \fi - \lst@LeaveModeToPmode - \lst@BeginDropInput{\lst@Pmode}} + \lst@ifincluderangemarker + #1\lst@XPrintToken + \fi + \lst@LeaveModeToPmode + \lst@BeginDropInput{\lst@Pmode}} \def\lst@LeaveModeToPmode{% - \ifnum\lst@mode=\lst@Pmode - \expandafter\lsthk@EndGroup - \else - \expandafter\egroup\expandafter\lst@LeaveModeToPmode - \fi} + \ifnum\lst@mode=\lst@Pmode + \expandafter\lsthk@EndGroup + \else + \expandafter\egroup\expandafter\lst@LeaveModeToPmode + \fi} \def\lst@DisplayConsecutiveNumbersOrNot{% \lst@ifconsecutivenumbers\else% \c@lstnumber=\numexpr-1+\lst@lineno @@ -1576,9 +1583,6 @@ \ifnum`#1>47\relax \ifnum`#1>57\relax\else \let\lst@next\@firstoftwo \fi\fi} -\lst@Key{nolol}{false}[t]{\lstKV@SetIf{#1}\lst@ifnolol} -\def\lst@nololtrue{\let\lst@ifnolol\iftrue} -\let\lst@ifnolol\iffalse % init \lst@Key{captionpos}{t}{\def\lst@captionpos{#1}} \lst@Key{abovecaptionskip}\smallskipamount{% \def\lst@abovecaption{#1}} @@ -1592,7 +1596,7 @@ \lst@AddToHookExe{TextStyle} {\let\lst@caption\@empty \let\lst@@caption\@empty \let\lst@title\@empty \let\lst@label\@empty} -\AtBeginDocument{ +\AtBeginDocument{% \@ifundefined{thechapter}{\let\lst@ifnumberbychapter\iffalse}{} \lst@ifnumberbychapter \newcounter{lstlisting}[chapter] @@ -1626,6 +1630,7 @@ {\lstlistingnamestyle\lstlistingname \ifx\lst@@caption\@empty\else~\thelstlisting\fi}% } +\def\ext@lstlisting{lol} \def\lst@MakeCaption#1{% \lst@ifdisplaystyle \ifx #1t \allowbreak% @@ -1640,11 +1645,11 @@ \ifx\lst@caption\@empty \ifx\lst@intname\@empty \else \def\lst@temp{ }% \ifx\lst@intname\lst@temp \else - \addcontentsline{lol}{lstlisting}\lst@name + \addcontentsline{\ext@lstlisting}{lstlisting}\lst@name \fi\fi \fi \else - \addcontentsline{lol}{lstlisting}% + \addcontentsline{\ext@lstlisting}{lstlisting}% {\protect\numberline{\thelstlisting}\lst@@caption}% \fi \fi @@ -1666,7 +1671,7 @@ \endgroup}{}% \fi \fi} -\def\lst@makecaption{\@makecaption} +\def\lst@makecaption{\def\@captype{lstlisting}\@makecaption} \def\lst@maketitle{\@makecaption\lst@title@dropdelim} \def\lst@title@dropdelim#1{\ignorespaces} \AtBeginDocument{% @@ -1828,20 +1833,20 @@ \fi} \def\lst@EOLUpdate{\lsthk@EOL \lsthk@InitVarsEOL} \def\lst@MProcessListing{% - \lst@XPrintToken \lst@EOLUpdate \lsthk@InitVarsBOL - \global\advance\lst@lineno\@ne - \ifnum \lst@lineno>\lst@lastline - \lst@ifdropinput \lst@LeaveMode \fi - \ifx\lst@linerange\@empty - \expandafter\expandafter\expandafter\lst@EndProcessListing - \else - \lst@interrange - \lst@GetLineInterval - \expandafter\expandafter\expandafter\lst@SkipToFirst - \fi - \else - \expandafter\lst@BOLGobble - \fi} + \lst@XPrintToken \lst@EOLUpdate \lsthk@InitVarsBOL + \global\advance\lst@lineno\@ne + \ifnum \lst@lineno>\lst@lastline + \lst@ifdropinput \lst@LeaveMode \fi + \ifx\lst@linerange\@empty + \expandafter\expandafter\expandafter\lst@EndProcessListing + \else + \lst@interrange + \lst@GetLineInterval + \expandafter\expandafter\expandafter\lst@SkipToFirst + \fi + \else + \expandafter\lst@BOLGobble + \fi} \let\lst@EndProcessListing\endinput \lst@Key{gobble}{0}{\def\lst@gobble{#1}} \def\lst@BOLGobble{% @@ -1887,7 +1892,8 @@ \lst@UserCommand\lstlistlistingname{Listings} \lst@UserCommand\lstlistoflistings{\bgroup \let\contentsname\lstlistlistingname - \let\lst@temp\@starttoc \def\@starttoc##1{\lst@temp{lol}}% + \let\lst@temp\@starttoc + \def\@starttoc##1{\lst@temp{\ext@lstlisting}}% \tableofcontents \egroup} \@ifundefined{float@listhead}{}{% \renewcommand*{\lstlistoflistings}{% @@ -1901,7 +1907,7 @@ }% \float@listhead{\lstlistlistingname}% \parskip\z@\parindent\z@\parfillskip \z@ \@plus 1fil% - \@starttoc{lol}% + \@starttoc{\ext@lstlisting}% \@ifundefined{@restonecoltrue}{}{% \if@restonecol\twocolumn\fi }% @@ -1909,12 +1915,22 @@ }% } \AtBeginDocument{% - \@ifundefined{float@addtolists}% - {\gdef\float@addtolists#1{\addtocontents{lol}{#1}}}% - {\let\orig@float@addtolists\float@addtolists - \gdef\float@addtolists#1{% - \addtocontents{lol}{#1}% - \orig@float@addtolists{#1}}}% + \@ifpackageloaded{tocbasic}{% + \addtotoclist[float]{\ext@lstlisting}% + \renewcommand*{\lstlistoflistings}{\listoftoc[{\lstlistlistingname}]{lol}}% + \DeclareTOCStyleEntry[level=1,numwidth=2.3em,indent=1.5em]{default}{lstlisting}% + }{}% +} +\AtBeginDocument{% + \@ifundefined{KOMAClassName}{% + \@ifundefined{float@addtolists}{% + \gdef\float@addtolists#1{\addtocontents{\ext@lstlisting}{#1}}% + }{% + \let\orig@float@addtolists\float@addtolists + \gdef\float@addtolists#1{% + \addtocontents{\ext@lstlisting}{#1}% + \orig@float@addtolists{#1}}}% + }{}% }% \newcommand\lstinline[1][]{% \leavevmode\bgroup % \hbox\bgroup --> \bgroup @@ -2201,23 +2217,24 @@ \let\lst@arg\@empty \lst@XConvert{end}\{\}\@nil \expandafter\@tempa\lst@arg \let\lst@insertargs\@empty -\def\lstenv@xargdef#1{ - \expandafter\lstenv@xargdef@\csname\string#1\endcsname#1} +\def\lstenv@xargdef#1{% + \expandafter\lstenv@xargdef@\csname\string#1\endcsname#1} \def\lstenv@xargdef@#1#2[#3][#4]#5{% \@ifdefinable#2{% - \gdef#2{% - \ifx\protect\@typeset@protect - \expandafter\lstenv@testopt - \else - \@x@protect#2% - \fi - #1% - {#4}}% - \@yargdef - #1% - \tw@ - {#3}% - {#5}}} + \gdef#2{% + \ifx\protect\@typeset@protect + \expandafter\lstenv@testopt + \else + \@x@protect#2% + \fi + #1% + {#4}}% + \@yargdef% + #1% + \tw@% + {#3}% + {#5}}% +} \long\def\lstenv@testopt#1#2{% \@ifnextchar[{\catcode\active5\relax \lstenv@testopt@#1}% {#1[{#2}]}} diff --git a/Master/texmf-dist/tex/latex/listings/lstdoc.sty b/Master/texmf-dist/tex/latex/listings/lstdoc.sty index 00dfb8ee9d9..c5927734e15 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{2023/02/27} -\def\fileversion{1.9} +\def\filedate{2024/02/21} +\def\fileversion{1.10} \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 c46f0f92db5..7cb1435295f 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang1.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang1.sty @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{lstlang1.sty} - [2023/02/27 1.9 listings language file] + [2024/02/21 1.10 listings language file] %% %% ACSL definition (c) 2000 by Andreas Matthias %% @@ -319,7 +319,13 @@ CO_MAX, CO_MIN, CO_SUM, CO_REDUCE, ATOMIC_ADD, ATOMIC_AND, ATOMIC_OR, ATOMIC_XOR, ATOMIC_FETCH_ADD, ATOMIC_FETCH_AND, ATOMIC_FETCH_OR, ATOMIC_FETCH_XOR, ATOMIC_FETCH_CAS, IEEE_GET_MODES, IEEE_SET_MODES, - IEEE_FMA, IEEE_SIGNBIT, IEEE_INT, IEEE_REM, IEEE_MAX_NUM, IEEE_MAX_NUM_MAG, IEEE_MIN_NUM, IEEE_MAX_NUM_MAG, IEEE_NEXT_DOWN, IEEE_NEXT_UP, IEEE_SUPPORT_DATATYPE, IEEE_QUIET_EQ, IEEE_QUIET_GE, IEEE_QUIET_GT, IEEE_QUIET_LE, IEEE_QUIET_LT, IEEE_QUIET_NE, IEEE_SIGNALING_EQ, IEEE_SIGNALING_GE, IEEE_SIGNALING_GT, IEEE_SIGNALING_LE, IEEE_SIGNALING_LT, IEEE_SIGNALING_NE}% + IEEE_FMA, IEEE_SIGNBIT, IEEE_INT, IEEE_REM, IEEE_MAX_NUM, + IEEE_MAX_NUM_MAG, + IEEE_MIN_NUM, IEEE_MAX_NUM_MAG, IEEE_NEXT_DOWN, IEEE_NEXT_UP, + IEEE_SUPPORT_DATATYPE, IEEE_QUIET_EQ, IEEE_QUIET_GE, IEEE_QUIET_GT, + IEEE_QUIET_LE, IEEE_QUIET_LT, IEEE_QUIET_NE, IEEE_SIGNALING_EQ, + IEEE_SIGNALING_GE, IEEE_SIGNALING_GT, IEEE_SIGNALING_LE, + IEEE_SIGNALING_LT, IEEE_SIGNALING_NE}% }% \lst@definelanguage[08]{Fortran}[03]{Fortran}{% morekeywords={ALL, BLOCK, CODIMENSION, CONCURRENT, CONTIGUOUS, CRITICAL,% diff --git a/Master/texmf-dist/tex/latex/listings/lstlang2.sty b/Master/texmf-dist/tex/latex/listings/lstlang2.sty index e76590cb44a..3b2358b6fd3 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang2.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang2.sty @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{lstlang2.sty} - [2023/02/27 1.9 listings language file] + [2024/02/21 1.10 listings language file] %% %% Abap definition by Knut Lickert %% @@ -1614,11 +1614,11 @@ %% classic rexx listings definition %% by Patrick TJ McPhee <ptjm@interlog.com> %% -\lst@definelanguage{Rexx} - {morekeywords={address,arg,call,do,drop,else,end,exit,if,iterate,% - interpret,leave,nop,numeric,options,otherwise,parse,% - procedure,pull,push,queue,return,say,signal,then,to,% - trace,when},% +\lst@definelanguage{Rexx}{% + morekeywords={address,arg,call,do,drop,else,end,exit,if,interpret,% + iterate,leave,nop,numeric,options,otherwise,parse,% + procedure,pull,push,queue,return,say,select,signal,then,% + to,trace,when},% sensitive=false,% morecomment=[n]{/*}{*/},% morestring=[d]{'},% @@ -1632,24 +1632,28 @@ 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,% + morekeywords=[2]{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,% - reverse,rigth,sign,sourceline,space,storage,strip,substr,subword,% - symbol,time,translate,trunc,userid,value,verify,word,wordindex,% - wordlength,words,xrange,x2c,x2d},% + lastpos,left,length,linein,lineout,lines,linesize,max,min,overlay,% + pos,queued,random,reverse,rigth,sign,sourceline,space,storage,% + strip,substr,subword,symbol,time,translate,trunc,userid,value,verify,% + word,wordindex,wordlength,words,xrange,x2c,x2d},% + morekeywords=[3]{result,rc,self,sigl,super},% sensitive=false,% morestring=[d]",% morestring=[d]',% morecomment=[s]{/*}{*/},% - alsoletter={:},% }[keywords,comments,strings]% %% %% ooREXX keywords (http://www.oorexx.org/) \lst@definelanguage[]{OORexx}[VM/XA]{Rexx}{% - morekeywords={::class, ::method, ::attribute},% -} + morekeywords={::annotate, ::attribute, ::class, ::constant, ::method,% + ::options, ::requires, ::resource, ::routine,% + forward, guard, local, loop, raise, strict,% + },% + alsoletter={:},% +}[keywords,comments,strings] \lst@definelanguage{Ruby}% {morekeywords={__FILE__,__LINE__,BEGIN,END,alias,and,begin,break,% case,class,def,defined?,do,else,elsif,end,ensure,false,for,% diff --git a/Master/texmf-dist/tex/latex/listings/lstlang3.sty b/Master/texmf-dist/tex/latex/listings/lstlang3.sty index 9d5b43d1db6..fdff27f5a59 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang3.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang3.sty @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{lstlang3.sty} - [2023/02/27 1.9 listings language file] + [2024/02/21 1.10 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,% diff --git a/Master/texmf-dist/tex/latex/listings/lstmisc.sty b/Master/texmf-dist/tex/latex/listings/lstmisc.sty index 36960591299..8b0bc5fe04a 100644 --- a/Master/texmf-dist/tex/latex/listings/lstmisc.sty +++ b/Master/texmf-dist/tex/latex/listings/lstmisc.sty @@ -16,17 +16,17 @@ %% Send comments and ideas on the package, error reports and additional %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% -\def\filedate{2023/02/27} -\def\fileversion{1.9} +\def\filedate{2024/02/21} +\def\fileversion{1.10} \ProvidesFile{lstmisc.sty} [\filedate\space\fileversion\space(Carsten Heinz)] -\lst@CheckVersion\fileversion +\lst@CheckVersion\fileversion% {\typeout{^^J% ***^^J% *** This file requires `listings.sty' version \fileversion.^^J% - *** You have a serious problem, so I'm exiting ...^^J% + *** You have a serious problem, so I'm exiting...^^J% ***^^J}% - \batchmode \@@end} + \batchmode\@@end} \lst@BeginAspect{writefile} \newtoks\lst@WFtoken % global \lst@AddToHook{InitVarsBOL}{\global\lst@WFtoken{}} @@ -304,7 +304,7 @@ \fi \fi \fi} \lst@NewMode\lst@TeXLmode \gdef\lst@ActiveCDefX#1{\lst@ActiveCDefX@#1} -\gdef\lst@ActiveCDefX@#1#2#3{ +\gdef\lst@ActiveCDefX@#1#2#3{% \catcode`#1\active\lccode`\~=`#1% \lowercase{\lst@CDefIt~}{#2}{#3}{}} \gdef\lst@Escape#1#2#3#4{% diff --git a/Master/texmf-dist/tex/latex/listings/lstpatch.sty b/Master/texmf-dist/tex/latex/listings/lstpatch.sty new file mode 100644 index 00000000000..1b0b3ef7a59 --- /dev/null +++ b/Master/texmf-dist/tex/latex/listings/lstpatch.sty @@ -0,0 +1,14 @@ +%% +%% This is file `lstpatch.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% listings.dtx (with options: `patch') +%% +\ProvidesFile{lstpatch.sty} + [\filedate\space\fileversion\space(Carsten Heinz)] +\lst@CheckVersion\lst@version{} +\endinput +%% +%% End of file `lstpatch.sty'. |