diff options
author | Norbert Preining <norbert@preining.info> | 2022-06-17 03:01:24 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-06-17 03:01:24 +0000 |
commit | f9418ac1e9385653cfa09da311bb2d405a936334 (patch) | |
tree | 764fc072c0bea51901ba3ef3a6dd915400df47c5 /macros/latex/base/ltxdoc.dtx | |
parent | b83d15e1ff2e551eb7391d45becd87dce59d39b8 (diff) |
CTAN sync 202206170301
Diffstat (limited to 'macros/latex/base/ltxdoc.dtx')
-rw-r--r-- | macros/latex/base/ltxdoc.dtx | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/macros/latex/base/ltxdoc.dtx b/macros/latex/base/ltxdoc.dtx index 4d854728a0..f68c45ee36 100644 --- a/macros/latex/base/ltxdoc.dtx +++ b/macros/latex/base/ltxdoc.dtx @@ -30,7 +30,7 @@ % %<class>\NeedsTeXFormat{LaTeX2e} %<class>\ProvidesClass{ltxdoc} -%<class> [2022/06/03 v2.1f Standard LaTeX documentation class] +%<class> [2022/06/14 v2.1g Standard LaTeX documentation class] % %<*driver> \documentclass{ltxdoc} @@ -623,27 +623,30 @@ Bug reports can be opened (category \texttt{#1}) at\\% % \end{macrocode} % \end{macro} % -% \begin{macro}{\url} -% \begin{macrocode} -\providecommand\url{\texttt} -% \end{macrocode} -% \end{macro} % % \begin{macrocode} \def\task#1#2{} % \end{macrocode} +% +% % \changes{v2.1f}{2022/06/03}{define \cs{pkg} and other commands} % \changes{v2.1f}{2022/06/03}{allow \_ in macro names} % Some feaures from l3doc.cls +% \changes{v2.1g}{2022/06/14}{define \cs{pkg} but delay until begin document} % \begin{macrocode} -\providecommand\LuaTeX{Lua\TeX} -\providecommand\cls{\textsf} -\providecommand\pkg{\textsf} -\providecommand\enquote[1]{``#1''} \DeclareRobustCommand\cs[1]{\texttt{\bslash\detokenize{#1}}}% \AtBeginDocument{% \renewcommand\PrintMacroName[1]{\MacroFont\detokenize{#1}}% - } +% \end{macrocode} +% We provide those delated in case somebody has loaded \texttt{csquotes} +% or makes some definitions in the preamble. +% \begin{macrocode} + \providecommand\LuaTeX{Lua\TeX} + \providecommand\cls{\textsf} + \providecommand\pkg{\textsf} + \providecommand\enquote[1]{``#1''} + \providecommand\url{\texttt} +} % \end{macrocode} % % \begin{macrocode} @@ -667,7 +670,7 @@ Bug reports can be opened (category \texttt{#1}) at\\% % \ProvidesFile{ltxdoc.cfg}% - [2021/12/07 v2.0c ltxdoc.cls configuration (LaTeX Project)] + [2022/06/14 v2.0d ltxdoc.cls configuration (LaTeX Project)] \PassOptionsToClass{a4paper}{article} % hyperref and hypdoc are now loaded late (or by the user) so we have to wait |