[latex3-commits] [git/LaTeX3-latex3-latex2e] doc-v3beta: just some internal notes (a260409c)
Frank Mittelbach
frank.mittelbach at latex-project.org
Mon Nov 22 16:41:12 CET 2021
Repository : https://github.com/latex3/latex2e
On branch : doc-v3beta
Link : https://github.com/latex3/latex2e/commit/a260409cdc709ba811044941a3c652933f0c59d3
>---------------------------------------------------------------
commit a260409cdc709ba811044941a3c652933f0c59d3
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Mon Nov 22 16:41:12 2021 +0100
just some internal notes
>---------------------------------------------------------------
a260409cdc709ba811044941a3c652933f0c59d3
base/doc.dtx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/base/doc.dtx b/base/doc.dtx
index 3a785209..66688261 100644
--- a/base/doc.dtx
+++ b/base/doc.dtx
@@ -2027,9 +2027,9 @@
%
% We need to save the default value for some options because \DOC elements
% can locally set them.
+% \fmi{Use 2e interface for \cs{keys\_set:nn} when available}
% \begin{macrocode}
\def\SetupDoc#1{%
-% missing 2e interface
\csname keys_set:nn\endcsname{doc}{#1}%
\edef\doc at noprintdefault{\ifdoc at noprint true\else false\fi}%
\ifdoc at noindex
@@ -5744,11 +5744,11 @@
% Handle optional arguments and call \cs{@doc at env}. Because environments can
% be nested, we can't rely on grouping for getting options default values.
% Hence, we need to reset the options at every call.
+% \fmi{Use 2e interface for \cs{keys\_set:nn} when available}
% \begin{macrocode}
\def\doc at env#1#2[#3]{%
\@nameuse{doc at noprint\doc at noprintdefault}%
\@nameuse{doc at noindex\doc at noindexdefault}%
-% missing 2e interface
\csname keys_set:nn\endcsname{doc}{#3}%
\begingroup
\ifdoc at outer
@@ -5789,10 +5789,10 @@
% \begin{macro}{\doc at describe}
% \marg{item}\oarg{options}\\
% Handle optional arguments and call \cs{@doc at describe}.
+% \fmi{Use 2e interface for \cs{keys\_set:nn} when available}
% \begin{macrocode}
\def\doc at describe#1[#2]{%
\leavevmode\@bsphack
-% missing 2e interface
\csname keys_set:nn\endcsname{doc}{#2}%
\@doc at describe{#1}}
% \end{macrocode}
@@ -6086,11 +6086,11 @@
\doc at topleveltrue
% \end{macrocode}
%
+% \fmi{Use 2e interface for \cs{keys\_set:nn} when available}
% \begin{macrocode}
\def\doc at idxtype{#3}%
\def\doc at idxgroup{#3s}%
\let\doc at printtype\@empty
-% missing 2e interface
\csname keys_set:nn\endcsname{doc}{#1}%
% \end{macrocode}
% \begin{imacro}{\Print...Name}
More information about the latex3-commits
mailing list.