| 1 |
%% |
| 2 |
%% This file will generate fast loadable files and documentation |
| 3 |
%% driver files from the doc files in this package when run through |
| 4 |
%% LaTeX or TeX. |
| 5 |
%% |
| 6 |
%% Copyright (C) 1993-2025 |
| 7 |
%% The LaTeX Project and any individual authors listed elsewhere |
| 8 |
%% in this file. |
| 9 |
%% |
| 10 |
%% This file is part of the LaTeX base system. |
| 11 |
%% ------------------------------------------- |
| 12 |
%% |
| 13 |
%% It may be distributed and/or modified under the |
| 14 |
%% conditions of the LaTeX Project Public License, either version 1.3c |
| 15 |
%% of this license or (at your option) any later version. |
| 16 |
%% The latest version of this license is in |
| 17 |
%% https://www.latex-project.org/lppl.txt |
| 18 |
%% and version 1.3c or later is part of all distributions of LaTeX |
| 19 |
%% version 2008 or later. |
| 20 |
%% |
| 21 |
%% This file has the LPPL maintenance status "maintained". |
| 22 |
%% |
| 23 |
%% As this file contains legal notices, it is NOT PERMITTED to modify |
| 24 |
%% this file in any way that the legal information placed into |
| 25 |
%% generated files is changed (i.e., the files generated when the |
| 26 |
%% original file is executed). This restriction does not apply if |
| 27 |
%% (parts of) the content is reused in a different WORK producing its |
| 28 |
%% own generated files. |
| 29 |
%% |
| 30 |
%% The list of all files belonging to the LaTeX base distribution is |
| 31 |
%% given in the file `manifest.txt'. See also `legal.txt' for additional |
| 32 |
%% information. |
| 33 |
%% |
| 34 |
%% |
| 35 |
%% |
| 36 |
%% |
| 37 |
%% --------------- start of docstrip commands ------------------ |
| 38 |
%% |
| 39 |
\input docstrip |
| 40 |
\keepsilent |
| 41 |
|
| 42 |
\declarepreamble\mainpreamble |
| 43 |
|
| 44 |
This is a generated file. |
| 45 |
|
| 46 |
The source is maintained by the LaTeX Project team and bug |
| 47 |
reports for it can be opened at https://latex-project.org/bugs.html |
| 48 |
(but please observe conditions on bug reports sent to that address!) |
| 49 |
|
| 50 |
|
| 51 |
Copyright (C) 1993-2025 |
| 52 |
The LaTeX Project and any individual authors listed elsewhere |
| 53 |
in this file. |
| 54 |
|
| 55 |
This file was generated from file(s) of the LaTeX base system. |
| 56 |
-------------------------------------------------------------- |
| 57 |
|
| 58 |
It may be distributed and/or modified under the |
| 59 |
conditions of the LaTeX Project Public License, either version 1.3c |
| 60 |
of this license or (at your option) any later version. |
| 61 |
The latest version of this license is in |
| 62 |
https://www.latex-project.org/lppl.txt |
| 63 |
and version 1.3c or later is part of all distributions of LaTeX |
| 64 |
version 2008 or later. |
| 65 |
|
| 66 |
This file has the LPPL maintenance status "maintained". |
| 67 |
|
| 68 |
This file may only be distributed together with a copy of the LaTeX |
| 69 |
base system. You may however distribute the LaTeX base system without |
| 70 |
such generated files. |
| 71 |
|
| 72 |
The list of all files belonging to the LaTeX base distribution is |
| 73 |
given in the file `manifest.txt'. See also `legal.txt' for additional |
| 74 |
information. |
| 75 |
|
| 76 |
The list of derived (unpacked) files belonging to the distribution |
| 77 |
and covered by LPPL is defined by the unpacking scripts (with |
| 78 |
extension .ins) which are part of the distribution. |
| 79 |
\endpreamble |
| 80 |
|
| 81 |
\def\MetaPrefix{--} |
| 82 |
\declarepreamble\luapreamble |
| 83 |
|
| 84 |
This is a generated file. |
| 85 |
|
| 86 |
The source is maintained by the LaTeX Project team and bug |
| 87 |
reports for it can be opened at https://latex-project.org/bugs.html |
| 88 |
(but please observe conditions on bug reports sent to that address!) |
| 89 |
|
| 90 |
|
| 91 |
Copyright (C) 2015-2025 |
| 92 |
The LaTeX Project and any individual authors listed elsewhere |
| 93 |
in this file. |
| 94 |
|
| 95 |
This file was generated from file(s) of the LaTeX base system. |
| 96 |
-------------------------------------------------------------- |
| 97 |
|
| 98 |
It may be distributed and/or modified under the |
| 99 |
conditions of the LaTeX Project Public License, either version 1.3c |
| 100 |
of this license or (at your option) any later version. |
| 101 |
The latest version of this license is in |
| 102 |
https://www.latex-project.org/lppl.txt |
| 103 |
and version 1.3c or later is part of all distributions of LaTeX |
| 104 |
version 2008 or later. |
| 105 |
|
| 106 |
This file has the LPPL maintenance status "maintained". |
| 107 |
|
| 108 |
This file may only be distributed together with a copy of the LaTeX |
| 109 |
base system. You may however distribute the LaTeX base system without |
| 110 |
such generated files. |
| 111 |
|
| 112 |
The list of all files belonging to the LaTeX base distribution is |
| 113 |
given in the file `manifest.txt'. See also `legal.txt' for additional |
| 114 |
information. |
| 115 |
|
| 116 |
The list of derived (unpacked) files belonging to the distribution |
| 117 |
and covered by LPPL is defined by the unpacking scripts (with |
| 118 |
extension .ins) which are part of the distribution. |
| 119 |
\endpreamble |
| 120 |
\let\MetaPrefix\DoubleperCent |
| 121 |
|
| 122 |
\declarepreamble\cfgpreamble |
| 123 |
|
| 124 |
This is a generated file. |
| 125 |
|
| 126 |
Copyright (C) 1993-2025 |
| 127 |
The LaTeX Project and any individual authors listed elsewhere |
| 128 |
in this file. |
| 129 |
|
| 130 |
This file was generated from file(s) of the LaTeX base system. |
| 131 |
-------------------------------------------------------------- |
| 132 |
|
| 133 |
It may be distributed and/or modified under the |
| 134 |
conditions of the LaTeX Project Public License, either version 1.3c |
| 135 |
of this license or (at your option) any later version. |
| 136 |
The latest version of this license is in |
| 137 |
https://www.latex-project.org/lppl.txt |
| 138 |
and version 1.3c or later is part of all distributions of LaTeX |
| 139 |
version 2008 or later. |
| 140 |
|
| 141 |
This file may only be distributed together with a copy of the LaTeX |
| 142 |
base system. You may however distribute the LaTeX base system without |
| 143 |
such generated files. |
| 144 |
|
| 145 |
The list of all files belonging to the LaTeX base distribution is |
| 146 |
given in the file `manifest.txt'. See also `legal.txt' for additional |
| 147 |
information. |
| 148 |
|
| 149 |
Details of how to use a configuration file to modify this part of |
| 150 |
the system are in the document `cfgguide.tex'. |
| 151 |
|
| 152 |
|
| 153 |
\endpreamble |
| 154 |
|
| 155 |
|
| 156 |
\usepreamble\mainpreamble |
| 157 |
\usedir{tex/latex/base} |
| 158 |
|
| 159 |
\generate{% |
| 160 |
\file{latex.ltx}{% |
| 161 |
\from{ltdirchk.dtx}{initex,2ekernel,dircheck} |
| 162 |
\from{ltplain.dtx}{2ekernel} |
| 163 |
\from{ltvers.dtx}{2ekernel} |
| 164 |
\from{ltluatex.dtx}{2ekernel} |
| 165 |
% This is done as soon as possible here before \texttt{ltdefns.dtx} so that |
| 166 |
% we have the extensions as soon as possible. |
| 167 |
\from{ltexpl.dtx}{2ekernel} % expl3-based extensions |
| 168 |
\from{ltdefns.dtx}{2ekernel} |
| 169 |
\from{ltcmd.dtx}{2ekernel} % L3 layer module (used to be xparse) |
| 170 |
\from{lthooks.dtx}{2ekernel} % L3 layer module |
| 171 |
\from{ltcmdhooks.dtx}{2ekernel} % L3 layer module |
| 172 |
\from{ltsockets.dtx}{2ekernel} % L3 layer module |
| 173 |
\from{lttemplates.dtx}{2ekernel} % L3 layer module |
| 174 |
\from{ltalloc.dtx}{2ekernel} |
| 175 |
\from{ltcntrl.dtx}{2ekernel} |
| 176 |
\from{lterror.dtx}{2ekernel} |
| 177 |
\from{ltpar.dtx}{2ekernel} |
| 178 |
\from{ltpara.dtx}{2ekernel} % L3 layer module |
| 179 |
\from{ltmeta.dtx}{2ekernel} % L3 layer module |
| 180 |
\from{ltspace.dtx}{2ekernel} |
| 181 |
\from{ltlogos.dtx}{2ekernel} |
| 182 |
\from{ltfiles.dtx}{2ekernel} |
| 183 |
\from{ltoutenc.dtx}{2ekernel} |
| 184 |
\from{ltcounts.dtx}{2ekernel} |
| 185 |
\from{ltlength.dtx}{2ekernel} |
| 186 |
\from{ltfssbas.dtx}{2ekernel} |
| 187 |
\from{ltfssaxes.dtx}{2ekernel} |
| 188 |
\from{ltfsstrc.dtx}{2ekernel} |
| 189 |
% \from{ltfsscmp.dtx}{compat,2ekernel} % only provided as part of latexrelease.sty! |
| 190 |
\from{ltfssdcl.dtx}{compat,2ekernel} |
| 191 |
\from{ltfssini.dtx}{compat,2ekernel} |
| 192 |
\from{ltfntcmd.dtx}{2ekernel} |
| 193 |
\from{lttextcomp.dtx}{2ekernel} |
| 194 |
\from{ltpageno.dtx}{2ekernel} |
| 195 |
\from{ltxref.dtx}{2ekernel} |
| 196 |
\from{ltproperties.dtx}{2ekernel} |
| 197 |
\from{ltmiscen.dtx}{2ekernel} |
| 198 |
\from{ltmath.dtx}{2ekernel} |
| 199 |
\from{ltlists.dtx}{2ekernel} |
| 200 |
\from{ltboxes.dtx}{2ekernel} |
| 201 |
\from{lttab.dtx}{2ekernel} |
| 202 |
\from{ltpictur.dtx}{2ekernel} |
| 203 |
\from{ltthm.dtx}{2ekernel} |
| 204 |
\from{ltsect.dtx}{2ekernel} |
| 205 |
\from{ltfloat.dtx}{2ekernel} |
| 206 |
\from{ltidxglo.dtx}{2ekernel} |
| 207 |
\from{ltbibl.dtx}{2ekernel} |
| 208 |
\from{ltmarks.dtx}{trace,2ekernel} % L3 layer module |
| 209 |
\from{ltpage.dtx}{2ekernel} |
| 210 |
\from{ltclass.dtx}{2ekernel,tracerollback} |
| 211 |
\from{ltkeys.dtx}{2ekernel} % L3 layer module |
| 212 |
\from{ltfilehook.dtx}{2ekernel} % L3 layer module |
| 213 |
\from{ltshipout.dtx}{2ekernel} % L3 layer module |
| 214 |
\from{ltoutput.dtx}{2ekernel} |
| 215 |
\from{lttagging.dtx}{2ekernel} |
| 216 |
\from{ltfinal.dtx}{2ekernel}} |
| 217 |
\file{tracefnt.sty}{% |
| 218 |
\from{ltfsstrc.dtx}{package,trace}} |
| 219 |
\file{flafter.sty}{% |
| 220 |
\from{ltoutput.dtx}{flafter,trace}} |
| 221 |
\file{fltrace.sty}{% |
| 222 |
\from{ltoutput.dtx}{fltrace,trace}} |
| 223 |
%%% generate general option files modifying the kernel behavior |
| 224 |
\file{fleqn.clo}{% |
| 225 |
\from{ltmath.dtx}{fleqn}} |
| 226 |
\file{leqno.clo}{% |
| 227 |
\from{ltmath.dtx}{leqno}} |
| 228 |
%%% generate the textcomp package |
| 229 |
\file{textcomp.sty}{% |
| 230 |
\from{lttextcomp.dtx}{TS1sty}} |
| 231 |
\file{textcomp-2018-08-11.sty}{% |
| 232 |
\from{lttextcomp.dtx}{TS1oldsty}} |
| 233 |
\file{checkencodingsubset.tex}{% |
| 234 |
\from{lttextcomp.dtx}{TS1check}} |
| 235 |
} |
| 236 |
|
| 237 |
\generateFile{oldlfont.sty}{t}{% |
| 238 |
\from{oldlfont.dtx}{package} |
| 239 |
} |
| 240 |
|
| 241 |
\generateFile{newlfont.sty}{t}{% |
| 242 |
\from{newlfont.dtx}{package} |
| 243 |
} |
| 244 |
|
| 245 |
|
| 246 |
% hook management support |
| 247 |
|
| 248 |
\generate{\file{atbegshi-ltx.sty}{\from{ltshipout.dtx}{atbegshi-ltx}}} % emulating atbegshi |
| 249 |
\generate{\file{atveryend-ltx.sty}{\from{ltfilehook.dtx}{atveryend-ltx}}} % emulating atveryend |
| 250 |
|
| 251 |
\generate{\file{structuredlog.sty}{\from{ltfilehook.dtx}{structuredlog}}} |
| 252 |
|
| 253 |
|
| 254 |
% luatex support (TeX part) |
| 255 |
|
| 256 |
\generate{\file{ltluatex.tex}{\from{ltluatex.dtx}{tex,plain}}} |
| 257 |
|
| 258 |
%%%%%%%%%%%%%%%%% CUSTOMISABLE FILES |
| 259 |
|
| 260 |
\usedir{tex/latex/base} |
| 261 |
|
| 262 |
\usepreamble\cfgpreamble |
| 263 |
|
| 264 |
\generateFile{hyphen.ltx}{t}{% |
| 265 |
\from{lthyphen.dtx}{default} |
| 266 |
} |
| 267 |
|
| 268 |
|
| 269 |
\generate{ |
| 270 |
\file{fonttext.ltx}{ |
| 271 |
\from{fontdef.dtx}{text}} |
| 272 |
\file{fontmath.ltx}{ |
| 273 |
\from{fontdef.dtx}{math}} |
| 274 |
\file{fonttext.cfg}{ |
| 275 |
\from{fontdef.dtx}{cfgtext}} |
| 276 |
\file{fontmath.cfg}{ |
| 277 |
\from{fontdef.dtx}{cfgmath}} |
| 278 |
\file{preload.cfg}{ |
| 279 |
\from{fontdef.dtx}{cfgprel}} |
| 280 |
} |
| 281 |
|
| 282 |
\generateFile{preload.ltx}{t}{% |
| 283 |
\from{preload.dtx}{preload,cm,xpt,tex}} |
| 284 |
|
| 285 |
%%%%%%%%%%%%%%%%% Lua code |
| 286 |
|
| 287 |
% This is at the end as the prefix/postamble requirements are |
| 288 |
% different to everything else |
| 289 |
|
| 290 |
\def\MetaPrefix{--} |
| 291 |
\usepreamble\luapreamble |
| 292 |
\nopostamble |
| 293 |
\generate{\file{ltluatex.lua}{\from{ltluatex.dtx}{lua}}} |
| 294 |
|
| 295 |
\endbatchfile |