Skip to content

Commit

Permalink
Update l3kernel, xparse, xtemplate to 2024-08-16
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Aug 16, 2024
1 parent 9e3adfe commit 619386e
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 9 deletions.
2 changes: 1 addition & 1 deletion base/testfiles/github-0944.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ LaTeX Warning: Reference `unknown' on page 1 undefined on input line ....
] (github-0944.aux)
***********
-formatname- <-formatversion-> pre-release-2 (-release-version-test- branch)
L3 programming layer <2024-07-20>
L3 programming layer <2024-08-16>
***********
*File List*
-show the file list here-
Expand Down
2 changes: 1 addition & 1 deletion texmf/tex/latex/l3kernel/expl3-code.tex
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: expl3.dtx
\def\ExplFileDate{2024-07-20}%
\def\ExplFileDate{2024-08-16}%
\begingroup
\def\next{\endgroup}%
\expandafter\ifx\csname PackageError\endcsname\relax
Expand Down
2 changes: 1 addition & 1 deletion texmf/tex/latex/l3kernel/expl3-generic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: expl3.dtx
\def\ExplFileDate{2024-07-20}%
\def\ExplFileDate{2024-08-16}%
\let\ExplLoaderFileDate\ExplFileDate
\begingroup
\catcode`\_=11
Expand Down
2 changes: 1 addition & 1 deletion texmf/tex/latex/l3kernel/expl3.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: expl3.dtx
\def\ExplFileDate{2024-07-20}%
\def\ExplFileDate{2024-08-16}%
\let\ExplLoaderFileDate\ExplFileDate
\begingroup
\catcode`\_=11
Expand Down
2 changes: 1 addition & 1 deletion texmf/tex/latex/l3kernel/expl3.sty
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: expl3.dtx
\def\ExplFileDate{2024-07-20}%
\def\ExplFileDate{2024-08-16}%
\let\ExplLoaderFileDate\ExplFileDate
\ProvidesPackage{expl3}
[%
Expand Down
2 changes: 1 addition & 1 deletion texmf/tex/latex/l3kernel/l3debug.def
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: l3debug.dtx
\ProvidesExplFile{l3debug.def}{2024-07-20}{}{L3 Debugging support}
\ProvidesExplFile{l3debug.def}{2024-08-16}{}{L3 Debugging support}
\scan_new:N \s__debug_stop
\cs_new:Npn \__debug_use_i_delimit_by_s_stop:nw #1 #2 \s__debug_stop {#1}
\quark_new:N \q__debug_recursion_tail
Expand Down
2 changes: 1 addition & 1 deletion texmf/tex/latex/l3kernel/l3doc.cls
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%%
%% File: l3doc.dtx
\RequirePackage{calc}
\ProvidesExplClass{l3doc}{2024-07-20}{}
\ProvidesExplClass{l3doc}{2024-08-16}{}
{L3 Experimental documentation class}
\clist_new:N \g_docinput_clist
\seq_new:N \g_doc_functions_seq
Expand Down
19 changes: 17 additions & 2 deletions texmf/tex/latex/l3packages/xparse/xparse.sty
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
}
}
\ExplSyntaxOff
\ProvidesExplPackage{xparse}{2024-05-08}{}
\ProvidesExplPackage{xparse}{2024-08-16}{}
{L3 Experimental document command parser}
\clist_new:N \l__cmd_options_clist
\DeclareOption* { \clist_put_right:NV \l__cmd_options_clist \CurrentOption }
Expand Down Expand Up @@ -239,7 +239,22 @@
{
\__kernel_cmd_if_xparse:NTF #1
{
\tl_set:Ne \ArgumentSpecification { \tl_item:Nn #1 { 2 } }
\tl_set:Ne \ArgumentSpecification
{
\exp_args:No \tl_if_head_eq_meaning:nNTF {#1} \__cmd_start_optimized:
{
\prg_replicate:nn
{
\str_count:e
{
\exp_args:Nc \cs_parameter_spec:N
{ \cs_to_str:N #1 \c_space_tl code }
} / 2
}
{ m }
}
{ \tl_item:Nn #1 { 2 } }
}
#2
}
{#3}
Expand Down
44 changes: 44 additions & 0 deletions texmf/tex/latex/l3packages/xtemplate/xtemplate.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
%%
%% This is file `xtemplate.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% xtemplate.dtx (with options: `package')
%%
%% Copyright (C) 2011-2024 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
%% this license or (at your option) any later version. The latest
%% version of this license is in the file:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% This file is part of the "l3packages bundle" (The Work in LPPL)
%% and all files in that bundle must be distributed together.
%%
%% File: xtemplate.dtx
\@ifundefined{NewTemplateType}
{%
\input{xtemplate-2023-10-10.sty}%
\endinput
}
{%
\ProvidesExplPackage{xtemplate}{2024-08-16}{}
{L3 Experimental prototype document functions}
\long\protected\def\DeclareRestrictedTemplate#1#2#3#4{%
\DeclareTemplateCopy{#1}{#3}{#2}%
\EditTemplateDefaults{#1}{#3}{#4}%
}%
\let\IfInstanceExistT\IfInstanceExistsT
\let\IfInstanceExistF\IfInstanceExistsF
\let\IfInstanceExistTF\IfInstanceExistsTF
}
\ExplSyntaxOn
\cs_new_protected:Npn \DeclareObjectType #1#2
{ \__template_declare_type:nn {#1} {#2} }
\ExplSyntaxOff
%%
%%
%% End of file `xtemplate.sty'.

0 comments on commit 619386e

Please sign in to comment.