diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/listingsutf8.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/listingsutf8.dtx | 54 |
1 files changed, 32 insertions, 22 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/listingsutf8.dtx b/Master/texmf-dist/source/latex/oberdiek/listingsutf8.dtx index 1a0b0c944f1..d18433749aa 100644 --- a/Master/texmf-dist/source/latex/oberdiek/listingsutf8.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/listingsutf8.dtx @@ -167,7 +167,7 @@ and the derived files %</driver> % \fi % -% \CheckSum{253} +% \CheckSum{285} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -258,28 +258,37 @@ and the derived files % \subsection{Catcodes and identification} % % \begin{macrocode} -\begingroup - \catcode123 1 % { - \catcode125 2 % } +\begingroup\catcode61\catcode48\catcode32=10\relax% + \catcode13=5 % ^^M + \endlinechar=13 % + \catcode123=1 % { + \catcode125=2 % } + \catcode64=11 % @ \def\x{\endgroup \expandafter\edef\csname lstU@AtEnd\endcsname{% - \catcode35 \the\catcode35\relax - \catcode64 \the\catcode64\relax - \catcode123 \the\catcode123\relax - \catcode125 \the\catcode125\relax + \endlinechar=\the\endlinechar\relax + \catcode13=\the\catcode13\relax + \catcode32=\the\catcode32\relax + \catcode35=\the\catcode35\relax + \catcode61=\the\catcode61\relax + \catcode64=\the\catcode64\relax + \catcode123=\the\catcode123\relax + \catcode125=\the\catcode125\relax }% }% -\x -\catcode35 6 % # -\catcode64 11 % @ -\catcode123 1 % { -\catcode125 2 % } +\x\catcode61\catcode48\catcode32=10\relax% +\catcode13=5 % ^^M +\endlinechar=13 % +\catcode35=6 % # +\catcode64=11 % @ +\catcode123=1 % { +\catcode125=2 % } \def\TMP@EnsureCode#1#2{% \edef\lstU@AtEnd{% \lstU@AtEnd - \catcode#1 \the\catcode#1\relax + \catcode#1=\the\catcode#1\relax }% - \catcode#1 #2\relax + \catcode#1=#2\relax } \TMP@EnsureCode{10}{12}% ^^J \TMP@EnsureCode{33}{12}% ! @@ -296,14 +305,15 @@ and the derived files \TMP@EnsureCode{47}{12}% / \TMP@EnsureCode{58}{12}% : \TMP@EnsureCode{60}{12}% < -\TMP@EnsureCode{61}{12}% = \TMP@EnsureCode{62}{12}% > +\TMP@EnsureCode{91}{12}% [ +\TMP@EnsureCode{93}{12}% ] \TMP@EnsureCode{94}{7}% ^ (superscript) \TMP@EnsureCode{95}{8}% _ (subscript) \TMP@EnsureCode{96}{12}% ` \TMP@EnsureCode{124}{12}% | \TMP@EnsureCode{126}{13}% ~ (active) -\g@addto@macro\lstU@AtEnd{\endinput} +\edef\lstU@AtEnd{\lstU@AtEnd\noexpand\endinput} % \end{macrocode} % % Package identification. @@ -355,10 +365,10 @@ and the derived files \expandafter\lstU@AtEnd \fi } -\lstU@temp{scantokens}{It is provided by e-TeX} -\lstU@temp{pdf@unescapehex}{It is provided by pdfTeX >= 1.30} -\lstU@temp{pdf@filedump}{It is provided by pdfTeX >= 1.30} -\lstU@temp{pdf@filesize}{It is provided by pdfTeX >= 1.30} +\lstU@temp{scantokens}{It is provided by e-TeX}% +\lstU@temp{pdf@unescapehex}{It is provided by pdfTeX >= 1.30}% +\lstU@temp{pdf@filedump}{It is provided by pdfTeX >= 1.30}% +\lstU@temp{pdf@filesize}{It is provided by pdfTeX >= 1.30}% % \end{macrocode} % % \begin{macrocode} @@ -439,7 +449,7 @@ and the derived files % \end{macrocode} % % \begin{macrocode} -\lstU@AtEnd +\lstU@AtEnd% %</package> % \end{macrocode} % |