summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3packages/xparse.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3packages/xparse.dtx')
-rw-r--r--macros/latex/contrib/l3packages/xparse.dtx16
1 files changed, 11 insertions, 5 deletions
diff --git a/macros/latex/contrib/l3packages/xparse.dtx b/macros/latex/contrib/l3packages/xparse.dtx
index 3ea422301a..b612ed6d23 100644
--- a/macros/latex/contrib/l3packages/xparse.dtx
+++ b/macros/latex/contrib/l3packages/xparse.dtx
@@ -67,7 +67,7 @@
% }^^A
% }
%
-% \date{Released 2021-02-02}
+% \date{Released 2021-03-12}
%
% \maketitle
%
@@ -1009,16 +1009,22 @@
\if\relax#2\relax\else#1\fi#2#3#4 }
%</2ekernel>
\ExplSyntaxOn
+\cs_set_protected:Npn \@@_tmp:w #1
+ {
+ \DeclareOption* { \PassOptionsToPackage { \CurrentOption } {#1} }
+ \ProcessOptions \relax
+ \RequirePackage {#1}
+ }
\cs_if_free:NTF \NewDocumentCommand
{
\ExplSyntaxOff
\ifnum\expandafter
\@parse@version\fmtversion//00\@nil <
\@parse@version 2020-10-01//00\@nil
- \RequirePackage{xparse-2018-04-12}
+ \@@_tmp:w { xparse-2018-04-12 }
\else
%<2ekernel> \@@@@input xparse-generic.tex ~
-%<package> \RequirePackage{xparse-2020-10-01}
+%<package> \@@_tmp:w { xparse-2020-10-01 }
\fi
\file_input_stop:
}
@@ -1036,7 +1042,7 @@
\ExplSyntaxOff
\cs_if_exist:NF \@@_start:nNNnnn
{
- \RequirePackage{xparse-2020-10-01}
+ \@@_tmp:w { xparse-2020-10-01 }
\file_input_stop:
}
}
@@ -1058,7 +1064,7 @@
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplPackage{xparse}{2021-02-02}{}
+\ProvidesExplPackage{xparse}{2021-03-12}{}
{L3 Experimental document command parser}
% \end{macrocode}
%