diff options
author | Norbert Preining <norbert@preining.info> | 2022-07-18 03:05:23 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-07-18 03:05:23 +0000 |
commit | fd8e2e79d92b88ea6e5598d3edc6972750a43e38 (patch) | |
tree | 73b3a4db7e2bf13d4a1c11b22e294139763fccae /macros/latex-dev/base/ltxdoc.dtx | |
parent | e7c2b4be636c9df8dea1790bc3eb442059d734f2 (diff) |
CTAN sync 202207180305
Diffstat (limited to 'macros/latex-dev/base/ltxdoc.dtx')
-rw-r--r-- | macros/latex-dev/base/ltxdoc.dtx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/macros/latex-dev/base/ltxdoc.dtx b/macros/latex-dev/base/ltxdoc.dtx index f68c45ee36..46c324c590 100644 --- a/macros/latex-dev/base/ltxdoc.dtx +++ b/macros/latex-dev/base/ltxdoc.dtx @@ -30,7 +30,7 @@ % %<class>\NeedsTeXFormat{LaTeX2e} %<class>\ProvidesClass{ltxdoc} -%<class> [2022/06/14 v2.1g Standard LaTeX documentation class] +%<class> [2022/06/22 v2.1h Standard LaTeX documentation class] % %<*driver> \documentclass{ltxdoc} @@ -294,10 +294,12 @@ % \changes{v2.0k}{1994/05/21}{New definition, so \cmd\{ works.} % \begin{macro}{\cs} % \changes{v2.0d}{1994/03/17}{Add \cs{cs}} +% \changes{v2.1h}{2022/06/22}{Update \cs{cmd} definition to work with new \cs{cs}} % \begin{macrocode} -\def\cmd#1{\cs{\expandafter\cmd@to@cs\string#1}} +%\DeclareRobustCommand\cs[1]... % defined later +%\def\cmd#1{\cs{\expandafter\cmd@to@cs\string#1}} % can't use with new \cs +\def\cmd#1{\texttt{\char`\\\expandafter\cmd@to@cs\string#1}} \def\cmd@to@cs#1#2{\char\number`#2\relax} -%\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} % already part of doc.sty % \end{macrocode} % \end{macro} % \end{macro} |