diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-02 22:16:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-02 22:16:13 +0000 |
commit | c8add73c2ee42aafe0cbc78cd25e6180e540174c (patch) | |
tree | a1eec6cfb358a8b027d67a6dab5ca8ea521321b2 /Master/texmf-dist/tex/latex/l3packages/xparse/xparse.ltx | |
parent | 510f3976e78783d304f4615312191776d9c3a340 (diff) |
l3 (2feb21)
git-svn-id: svn://tug.org/texlive/trunk@57600 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3packages/xparse/xparse.ltx')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3packages/xparse/xparse.ltx | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.ltx b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.ltx index 386d9dc09e7..8c6b1eff62e 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.ltx +++ b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.ltx @@ -6,7 +6,7 @@ %% %% xparse.dtx (with options: `2ekernel') %% -%% Copyright (C) 2009-2020 The LaTeX3 Project +%% Copyright (C) 2009-2021 The LaTeX Project %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of @@ -19,11 +19,31 @@ %% and all files in that bundle must be distributed together. %% %% File: xparse.dtx -\everyjob\expandafter{\the\everyjob - \message{xparse <2020-03-03>}% -} +\def\@parse@version#1/#2/#3#4#5\@nil{% + \@parse@version@dash#1-#2-#3#4\@nil} +\def\@parse@version@dash#1-#2-#3#4#5\@nil{% + \if\relax#2\relax\else#1\fi#2#3#4 } \ExplSyntaxOn -\input xparse-generic.tex ~ +\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} + \else + \@@input xparse-generic.tex ~ + \fi + \file_input_stop: + } + { + \ExplSyntaxOff + \cs_if_exist:NF \__cmd_start:nNNnnn + { + \RequirePackage{xparse-2020-10-01} + \file_input_stop: + } + } \ExplSyntaxOff %% %% |