[latex3-commits] [latex3/latex3] main: Use a sub-tree for l3doc class options (446ed33ba)

github at latex-project.org github at latex-project.org
Sun Dec 10 22:01:08 CET 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/446ed33ba5995f1d26495adc32c9fdbbf65daa1d

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

commit 446ed33ba5995f1d26495adc32c9fdbbf65daa1d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Dec 10 21:01:08 2023 +0000

    Use a sub-tree for l3doc class options


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

446ed33ba5995f1d26495adc32c9fdbbf65daa1d
 l3kernel/l3doc.dtx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index f98bc831e..1a4b51265 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -1436,7 +1436,7 @@ and all files in that bundle must be distributed together.
 % \subsection{Options and configuration}
 %
 %    \begin{macrocode}
-\DeclareKeys
+\DeclareKeys [ l3doc / options ]
   {
     a5paper .code:n = \@latexerr { Option~not~supported } { } ,
     full .code:n =
@@ -1463,7 +1463,8 @@ and all files in that bundle must be distributed together.
 %
 %    \begin{macrocode}
 \DeclareUnknownKeyHandler { \PassOptionsToClass { \CurrentOption } { article } }
-\SetKeys { full , kernel , check = false , checktest = false , lm-default }
+\SetKeys [ l3doc / options ]
+  { full , kernel , check = false , checktest = false , lm-default }
 \PassOptionsToClass { a4paper } { article }
 %    \end{macrocode}
 %
@@ -1485,7 +1486,7 @@ and all files in that bundle must be distributed together.
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\ProcessKeyOptions
+\ProcessKeyOptions [ l3doc / options ]
 %    \end{macrocode}
 %
 %





More information about the latex3-commits mailing list.