[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: grrr... catcodes (d8711793)

PhelypeOleinik phelype.oleinik at latex-project.org
Tue Mar 23 12:55:49 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh479
Link       : https://github.com/latex3/latex2e/commit/d871179323878881ac0b2ab22f35e71e01cc741f

>---------------------------------------------------------------

commit d871179323878881ac0b2ab22f35e71e01cc741f
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Tue Mar 23 08:55:49 2021 -0300

    grrr... catcodes


>---------------------------------------------------------------

d871179323878881ac0b2ab22f35e71e01cc741f
 base/latexrelease.dtx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/base/latexrelease.dtx b/base/latexrelease.dtx
index 9fa070fa..e173c608 100644
--- a/base/latexrelease.dtx
+++ b/base/latexrelease.dtx
@@ -612,10 +612,11 @@ of this package available from CTAN}
 % rather old format, we don't have \cs{ExplSyntaxOn} yet.
 %    \begin{macrocode}
 \begingroup
+  \endlinechar=-1
   \catcode95=11 % _
   \catcode58=11 % :
+  \catcode126=10 % ~
   \catcode32=09 % <space>
-  \endlinechar=-1
   \xdef\latexrelease at postexpl{\unexpanded{%
 %<@@=latexrelease>
 %    \end{macrocode}





More information about the latex3-commits mailing list.