1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
%%
%% This is file `expl3.ltx',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% expl3.dtx (with options: `2ekernel,loader')
%%
%% Copyright (C) 1990-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:
%%
%% https://www.latex-project.org/lppl.txt
%%
%% This file is part of the "l3kernel bundle" (The Work in LPPL)
%% and all files in that bundle must be distributed together.
%%
%% File: expl3.dtx
\def\ExplFileDate{2024-08-16}%
\let\ExplLoaderFileDate\ExplFileDate
\begingroup
\catcode`\_=11
\expandafter
\ifx\csname c__kernel_expl_date_tl\endcsname\relax
\global\let\c__kernel_expl_date_tl\ExplFileDate
\fi
\endgroup
\ifdefined\LaTeXReleaseInfo
\LaTeXReleaseInfo\expandafter{\the\LaTeXReleaseInfo
\show@release@info{L3 programming layer <\ExplFileDate>}%
}%
\else
\everyjob\expandafter{\the\everyjob
\message{L3 programming layer <\ExplFileDate>}%
}%
\fi
\protected\def\ProvidesExplPackage
{\@expl@provides@file@@Nnnnnn\ProvidesPackage{Package}}
\protected\def\ProvidesExplClass
{\@expl@provides@file@@Nnnnnn\ProvidesClass{Document Class}}
\protected\def\ProvidesExplFile
{\@expl@provides@file@@Nnnnnn\ProvidesFile{File}}
\protected\long\def\@expl@provides@file@@Nnnnnn#1#2#3#4#5#6%
{%
\ifnum0%
\ifdefined#11\fi
\ifx\relax#1\else1\fi
=11
\expandafter#1%
\else
\@expl@provides@generic@@wnnw{#2}%
\fi
{#3}[{#4 \ifx\relax#5\relax\else\@expl@provides@file@@N#5\space\fi #6}]%
\ExplSyntaxOn
}
\long\def\@expl@provides@file@@N#1{v\if#1v\else#1\fi}
\protected\long\def\@expl@provides@generic@@wnnw#1\fi#2[#3]%
{%
\immediate\write-1{#1: #2 #3}%
}
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname tex\string _let:D\endcsname\relax
\expandafter\@firstofone
\else
\expandafter\@gobble
\fi
{\input expl3-code.tex }%
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname tex\string _let:D\endcsname\relax
\expandafter\endinput
\fi
\ifcsname\detokenize{g__expl_reload_bool}\endcsname
\ExplSyntaxOn
\bool_gset_true:N \g__expl_reload_bool
\else
\bool_new:N \g__expl_reload_bool
\fi
\tl_if_exist:NF \c__expl_def_ext_tl
{ \tl_const:Nn \c__expl_def_ext_tl { def } }
\cs_gset_protected:Npn \__kernel_sys_configuration_load:n #1
{
\cs_undefine:c { ver@ #1 .def }
\@onefilewithoptions {#1} [ ] [ ]
\c__expl_def_ext_tl
}
\keys_define:nn { sys }
{
backend .choices:nn =
{ dvipdfmx , dvips , dvisvgm , luatex , pdftex , pdfmode , xdvipdfmx , xetex }
{ \sys_load_backend:n {#1} } ,
check-declarations .choice: ,
check-declarations / true .code:n =
{ \debug_on:n { check-declarations } } ,
check-declarations / false .code:n =
{
\__kernel_if_debug:TF
{ \debug_off:n { check-declarations } }
{ }
} ,
check-declarations .default:n = true ,
driver .meta:n = { backend = #1 } ,
enable-debug .code:n = {} , % A stub
log-functions .choice: ,
log-functions / true .code:n =
{ \debug_on:n { log-functions } } ,
log-functions / false .code:n =
{
\__kernel_if_debug:TF
{ \debug_off:n { log-functions } }
{ }
} ,
log-functions .default:n = true ,
suppress-backend-headers .bool_gset_inverse:N
= \g__kernel_backend_header_bool ,
suppress-backend-headers .initial:n = false ,
undo-recent-deprecations .code:n = {} % A stub
}
\cs_if_exist:NF \@expl@sys@load@backend@@
{
\tl_put_left:Nn \document
{
\endgroup
\@expl@sys@load@backend@@
\begingroup
}
}
\cs_gset_protected:Npn \@expl@sys@load@backend@@
{
\str_if_exist:NF \c_sys_backend_str
{ \sys_load_backend:n { } }
}
\cs_if_free:cTF { ver@expl3.sty }
{
\tex_everyjob:D \exp_after:wN
{
\tex_the:D \tex_everyjob:D
\__kernel_sys_everyjob:
}
}
{ \__kernel_sys_everyjob: }
\reverse_if:N \if_cs_exist:N \s__expl_stop
\scan_new:N \s__expl_stop
\fi:
\cs_if_exist:NF \@expl@push@filename@@
{
\tl_put_left:Nn \@pushfilename { \@expl@push@filename@@ }
\tl_put_right:Nn \@pushfilename { \@expl@push@filename@aux@@ }
}
\cs_gset_protected:Npn \@expl@push@filename@@
{
\exp_args:Ne \__kernel_file_input_push:n
{
\tl_to_str:N \@currname .
\tl_to_str:N \@currext
}
\tl_put_left:Ne \l__expl_status_stack_tl
{
\bool_if:NTF \l__kernel_expl_bool
{ 1 }
{ 0 }
}
\ExplSyntaxOff
}
\cs_gset_protected:Npn \@expl@push@filename@aux@@ #1#2#3
{
\str_gset:Nn \g_file_curr_name_str {#3}
#1 #2 {#3}
}
\cs_if_exist:NF \@expl@pop@filename@@
{
\tl_put_right:Nn \@popfilename
{ \@expl@pop@filename@@ }
}
\cs_gset_protected:Npn \@expl@pop@filename@@
{
\__kernel_file_input_pop:
\tl_if_empty:NTF \l__expl_status_stack_tl
{ \ExplSyntaxOff }
{ \exp_after:wN \__expl_status_pop:w \l__expl_status_stack_tl \s__expl_stop }
}
\cs_gset_protected:Npn \__expl_status_pop:w #1#2 \s__expl_stop
{
\tl_set:Nn \l__expl_status_stack_tl {#2}
\int_if_odd:nTF {#1}
{ \ExplSyntaxOn }
{ \ExplSyntaxOff }
}
\tl_if_exist:NF \l__expl_status_stack_tl
{
\tl_new:N \l__expl_status_stack_tl
\tl_set:Nn \l__expl_status_stack_tl { 0 }
}
\ExplSyntaxOff
%%
%%
%% End of file `expl3.ltx'.
|