diff options
author | Norbert Preining <norbert@preining.info> | 2023-05-26 03:02:08 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-05-26 03:02:08 +0000 |
commit | 8057c647880f05a2624b3d04ab0eb38d5cbf8c18 (patch) | |
tree | 2df10dbc859977e89de9b6797303c039106aca37 /macros/latex-dev/base/ltxdoc.dtx | |
parent | ed4c98e3a1f3e2160094ac1b05cfc304832cce4d (diff) |
CTAN sync 202305260302
Diffstat (limited to 'macros/latex-dev/base/ltxdoc.dtx')
-rw-r--r-- | macros/latex-dev/base/ltxdoc.dtx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/macros/latex-dev/base/ltxdoc.dtx b/macros/latex-dev/base/ltxdoc.dtx index 78b6de4bcc..e147c9d22f 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/22 v2.1i Standard LaTeX documentation class] +%<class> [2023/03/28 v2.1j Standard LaTeX documentation class] % %<*driver> \documentclass{ltxdoc} @@ -182,9 +182,13 @@ % % Support rolling back \pkg{doc} to version 2: % \changes{v2.1e}{2022/05/27}{Support rolling back doc to version 2} +% \changes{v2.1j}{2023/03/28}{Define \cs{cs} if doc is rolled back to v2 (gh/981)} % \begin{macrocode} \let\ltxdoc@doc@version\@empty % use current version by default -\DeclareOption{doc2}{\def\ltxdoc@doc@version{=v2}} +\DeclareOption{doc2}{% + \def\ltxdoc@doc@version{=v2}% + \DeclareRobustCommand\cs[1]{\texttt{\bslash #1}}% +} % \end{macrocode} % % \begin{macrocode} @@ -670,8 +674,10 @@ Bug reports can be opened (category \texttt{#1}) at\\% % kernel sources. % % -% Copyright 2006, 2007, 2011 Heiko Oberdiek -% Copyright 2014-2021 The LaTeX Project +% Copyright 2006, 2007, 2011 +% Heiko Oberdiek +% Copyright (C) 2014-2023 +% The LaTeX Project % \ProvidesFile{ltxdoc.cfg}% |