| 1 |
%% |
| 2 |
%% This is file `xtemplate.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% xtemplate.dtx (with options: `package') |
| 8 |
%% |
| 9 |
%% Copyright (C) 2011-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: xtemplate.dtx |
| 22 |
\@ifundefined{NewTemplateType} |
| 23 |
{% |
| 24 |
\input{xtemplate-2023-10-10.sty}% |
| 25 |
\endinput |
| 26 |
} |
| 27 |
{% |
| 28 |
\ProvidesExplPackage{xtemplate}{2025-10-09}{} |
| 29 |
{L3 Experimental prototype document functions} |
| 30 |
\long\protected\def\DeclareRestrictedTemplate#1#2#3#4{% |
| 31 |
\DeclareTemplateCopy{#1}{#3}{#2}% |
| 32 |
\EditTemplateDefaults{#1}{#3}{#4}% |
| 33 |
}% |
| 34 |
\let\IfInstanceExistT\IfInstanceExistsT |
| 35 |
\let\IfInstanceExistF\IfInstanceExistsF |
| 36 |
\let\IfInstanceExistTF\IfInstanceExistsTF |
| 37 |
} |
| 38 |
\ExplSyntaxOn |
| 39 |
\cs_new_protected:Npn \DeclareObjectType #1#2 |
| 40 |
{ \__template_declare_type:nn {#1} {#2} } |
| 41 |
\ExplSyntaxOff |
| 42 |
%% |
| 43 |
%% |
| 44 |
%% End of file `xtemplate.sty'. |