[latex3-commits] [latex3/latex2e] latex-lab/uf-review-05: more restrictive catcode changes (c568a30a)

github at latex-project.org github at latex-project.org
Tue Jan 23 22:30:36 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : latex-lab/uf-review-05
Link       : https://github.com/latex3/latex2e/commit/c568a30a2f3a8516f2eabef5cb1d4f2328ff1d7b

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

commit c568a30a2f3a8516f2eabef5cb1d4f2328ff1d7b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jan 23 22:30:36 2024 +0100

    more restrictive catcode changes


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

c568a30a2f3a8516f2eabef5cb1d4f2328ff1d7b
 required/latex-lab/latex-lab-math.dtx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index c463f824..f9a0ea95 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -650,8 +650,11 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_AF_html_reader:w#1</h2>#2<p>#3</p>#4<p>#5</p>#6<math{
   \begingroup
-  \let\do\@makeother \dospecials
-  \@@_AF_html_reader_verb:w{#1}{#3}{#5}<math
+   \char_set_catcode_other:N\{
+   \char_set_catcode_other:N\}
+   \char_set_catcode_other:N\#
+   \char_set_catcode_other:N\%
+   \@@_AF_html_reader_verb:w{#1}{#3}{#5}<math
 }
 %    \end{macrocode}
 %    \begin{macrocode}





More information about the latex3-commits mailing list.