| 1 |
%% |
| 2 |
%% This is file `xparse.ltx', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% xparse.dtx (with options: `2ekernel') |
| 8 |
%% |
| 9 |
%% Copyright (C) 2009-2025 The LaTeX Project |
| 10 |
%% |
| 11 |
%% It may be distributed and/or modified under the conditions of |
| 12 |
%% the LaTeX Project Public License (LPPL), either version 1.3c of |
| 13 |
%% this license or (at your option) any later version. The latest |
| 14 |
%% version of this license is in the file: |
| 15 |
%% |
| 16 |
%% http://www.latex-project.org/lppl.txt |
| 17 |
%% |
| 18 |
%% This file is part of the "l3packages bundle" (The Work in LPPL) |
| 19 |
%% and all files in that bundle must be distributed together. |
| 20 |
%% |
| 21 |
%% File: xparse.dtx |
| 22 |
\def\@parse@version#1/#2/#3#4#5\@nil{% |
| 23 |
\@parse@version@dash#1-#2-#3#4\@nil} |
| 24 |
\def\@parse@version@dash#1-#2-#3#4#5\@nil{% |
| 25 |
\if\relax#2\relax\else#1\fi#2#3#4 } |
| 26 |
\ExplSyntaxOn |
| 27 |
\cs_set_protected:Npn \__cmd_tmp:w #1 |
| 28 |
{ |
| 29 |
\DeclareOption* { \PassOptionsToPackage { \CurrentOption } {#1} } |
| 30 |
\ProcessOptions \relax |
| 31 |
\RequirePackage {#1} |
| 32 |
} |
| 33 |
\cs_if_free:NTF \NewDocumentCommand |
| 34 |
{ |
| 35 |
\ExplSyntaxOff |
| 36 |
\ifnum\expandafter |
| 37 |
\@parse@version\fmtversion//00\@nil < |
| 38 |
\@parse@version 2020-10-01//00\@nil |
| 39 |
\__cmd_tmp:w { xparse-2018-04-12 } |
| 40 |
\else |
| 41 |
\@@input xparse-generic.tex ~ |
| 42 |
\fi |
| 43 |
\file_input_stop: |
| 44 |
} |
| 45 |
{ |
| 46 |
\ExplSyntaxOff |
| 47 |
\cs_if_exist:NF \__cmd_start:nNNnnn |
| 48 |
{ |
| 49 |
\__cmd_tmp:w { xparse-2020-10-01 } |
| 50 |
\file_input_stop: |
| 51 |
} |
| 52 |
} |
| 53 |
\ExplSyntaxOff |
| 54 |
%% |
| 55 |
%% |
| 56 |
%% End of file `xparse.ltx'. |