[latex3-commits] [git/LaTeX3-latex3-latex2e] doc-v3beta: well, do it correctly (09d5c163)

Frank Mittelbach frank.mittelbach at latex-project.org
Thu Nov 18 18:04:40 CET 2021


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

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

commit 09d5c1636284b07d74c14810bd2f13ed7460dfb2
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Nov 18 18:04:40 2021 +0100

    well, do it correctly


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

09d5c1636284b07d74c14810bd2f13ed7460dfb2
 base/ltxdoc.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/base/ltxdoc.dtx b/base/ltxdoc.dtx
index f9051acd..fe7bed16 100644
--- a/base/ltxdoc.dtx
+++ b/base/ltxdoc.dtx
@@ -266,7 +266,7 @@
 % arguments. It can \emph{not} be use to record commands that are defined as
 %    ``|\outer|'' nor is it possible to use it on conditionals such as
 %    |\iftrue| or  defined by |\newif|.
-% |\cs{foo}| already available by \pkg{doc} also prints |\foo|, for those who prefer that
+% |\cs{foo}| already available with the \texttt{doc} package also prints |\foo|, for those who prefer that
 % syntax. (This second form can be used to record all types of command so the
 %    above restrictions do not apply.
 % \begin{macro}{\cmd}
@@ -276,7 +276,7 @@
 %    \begin{macrocode}
 \def\cmd#1{\cs{\expandafter\cmd at to@cs\string#1}}
 \def\cmd at to@cs#1#2{\char\number`#2\relax}
-\ProvideRobustCommand\cs[1]{\texttt{\char`\\#1}}     % already part of doc.sty
+%\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}     % already part of doc.sty
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}





More information about the latex3-commits mailing list.