[latex3-commits] [git/LaTeX3-latex3-latex2e] doc-v3beta: try again, with ams support (d9f1288a)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Nov 26 13:01:41 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : doc-v3beta
Link       : https://github.com/latex3/latex2e/commit/d9f1288a492542dde50ac8b4e5cc81d3640d9ab6

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

commit d9f1288a492542dde50ac8b4e5cc81d3640d9ab6
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Nov 26 13:01:41 2021 +0100

    try again, with ams support


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

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

diff --git a/base/doc.dtx b/base/doc.dtx
index 655e7f56..58a17829 100644
--- a/base/doc.dtx
+++ b/base/doc.dtx
@@ -5580,6 +5580,7 @@
       \let\special at index\HD at page@wrindex
     \fi
   \fi
+\pdfstringdefDisableCommands{\let\env\@empty }%
 %    \end{macrocode}
 %    That package also adds extra code into |\index| entries but it doesn't
 %    know about all the stuff that \DOC does (now). So we need to provide
@@ -6283,7 +6284,7 @@
         \@xp\@xp\@xp\@indexcs\@xp\@nobslash\string#1\@nil
     }%
   }%
-  \let\cn\cs
+  \def\cn{\cs}%
 }
 %    \end{macrocode}
 % \end{imacro}





More information about the latex3-commits mailing list.