[latex3-commits] [git/LaTeX3-latex3-latex2e] doc-v3beta: sigh; moving hypdoc to begin document how much unnecessary stuff it does (b3822411)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Nov 26 11:51:23 CET 2021


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

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

commit b38224119ee62d08f62d75ad93af893fc78bf60c
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Nov 26 11:51:23 2021 +0100

    sigh; moving hypdoc to begin document how much unnecessary stuff it does


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

b38224119ee62d08f62d75ad93af893fc78bf60c
 base/doc.dtx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/base/doc.dtx b/base/doc.dtx
index fed57e7c..655e7f56 100644
--- a/base/doc.dtx
+++ b/base/doc.dtx
@@ -5564,6 +5564,8 @@
   \let\SpecialUsageIndex \@@SpecialUsageIndex
   \let\SpecialEnvIndex \@@SpecialEnvIndex
   \let\SortIndex \@@SortIndex
+  \let\DescribeMacro \@@DescribeMacro
+  \let\DescribeEnv \@@DescribeEnv
 %    \end{macrocode}
 %    The package adds new definitions for \cs{special at index} into
 %    \cs{CodelineIndex} and \cs{PageIndex} but since we are loading it
@@ -6247,7 +6249,7 @@
 %
 %    To be able to restore the definition after \pkg{hypdoc} is loaded
 %    we better save them here. We only load the package at the end of
-%    the preamble, but the user might do this earlier and then  chaos
+%    the preamble, but the user might do this earlier and then chaos
 %    is ensured.
 %    \begin{macrocode}
   \let\@@PrintDescribeMacro \PrintDescribeMacro
@@ -6257,6 +6259,8 @@
   \let\@@SpecialUsageIndex \SpecialUsageIndex
   \let\@@SpecialEnvIndex \SpecialEnvIndex
   \let\@@SortIndex \SortIndex
+  \let\@@DescribeMacro \DescribeMacro
+  \let\@@DescribeEnv \DescribeEnv
 %    \end{macrocode}
 %
 %





More information about the latex3-commits mailing list.