summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3packages/l3keys2e.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3packages/l3keys2e.dtx')
-rw-r--r--macros/latex/contrib/l3packages/l3keys2e.dtx16
1 files changed, 11 insertions, 5 deletions
diff --git a/macros/latex/contrib/l3packages/l3keys2e.dtx b/macros/latex/contrib/l3packages/l3keys2e.dtx
index 2a2d4c2686..5753e388c9 100644
--- a/macros/latex/contrib/l3packages/l3keys2e.dtx
+++ b/macros/latex/contrib/l3packages/l3keys2e.dtx
@@ -25,8 +25,8 @@
%<*driver|package>
% The version of expl3 required is tested as early as possible, as
% some really old versions do not define \ProvidesExplPackage.
-\RequirePackage{expl3}[2018/02/21]
-%<package>\@ifpackagelater{expl3}{2018/02/21}
+\RequirePackage{expl3}[2020/02/08]
+%<package>\@ifpackagelater{expl3}{2020/02/08}
%<package> {}
%<package> {%
%<package> \PackageError{l3keys2e}{Support package l3kernel too old}
@@ -62,7 +62,7 @@
% }^^A
% }
%
-% \date{Released 2020-02-03}
+% \date{Released 2020-02-08}
%
% \maketitle
%
@@ -118,6 +118,12 @@
% \LaTeXe{} kernel function \cs{ProcessOptions}).
% \end{function}
%
+% When passing unknown keys to other packages, the standard \LaTeX{}
+% \tn{CurrentOption} command is available and should be used. In contrast
+% to \cs{l_keys_key_str}, \cs{CurrentOption} is a token list and thus retains
+% category code information. Depending on how options are used by third-party
+% packages, this may be essential for the option to be recognised.
+%
%\end{documentation}
%
%\begin{implementation}
@@ -133,7 +139,7 @@
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplPackage{l3keys2e}{2020-02-03}{}
+\ProvidesExplPackage{l3keys2e}{2020-02-08}{}
{LaTeX2e option processing using LaTeX3 keys}
% \end{macrocode}
%
@@ -180,7 +186,7 @@
unknown .code:n =
{
\msg_error:nnxx { keyvalue } { option-unknown }
- { \l_keys_key_tl } { \@currname }
+ { \l_keys_key_str } { \@currname }
}
}
\AtEndOfPackage