summaryrefslogtreecommitdiff
path: root/macros/latex-dev/base/format.ins
blob: f872c31a3e4080972f3af2e6c97bd121daece4ca (plain)
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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
%%
%% This file will generate fast loadable files and documentation
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
%% Copyright (C) 1993-2021
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
%% This file is part of the LaTeX base system.
%% -------------------------------------------
%%
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%    https://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008 or later.
%%
%% This file has the LPPL maintenance status "maintained".
%%
%% As this file contains legal notices, it is NOT PERMITTED to modify
%% this file in any way that the legal information placed into
%% generated files is changed (i.e., the files generated when the
%% original file is executed). This restriction does not apply if
%% (parts of) the content is reused in a different WORK producing its
%% own generated files.
%%
%% The list of all files belonging to the LaTeX base distribution is
%% given in the file `manifest.txt'. See also `legal.txt' for additional
%% information.
%%
%%
%%
%%
%% --------------- start of docstrip commands ------------------
%%
\input docstrip
\keepsilent

\declarepreamble\mainpreamble

This is a generated file.

The source is maintained by the LaTeX Project team and bug
reports for it can be opened at https://latex-project.org/bugs.html
(but please observe conditions on bug reports sent to that address!)


Copyright (C) 1993-2021
The LaTeX3 Project and any individual authors listed elsewhere
in this file.

This file was generated from file(s) of the LaTeX base system.
--------------------------------------------------------------

It may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3c
of this license or (at your option) any later version.
The latest version of this license is in
   https://www.latex-project.org/lppl.txt
and version 1.3c or later is part of all distributions of LaTeX
version 2008 or later.

This file has the LPPL maintenance status "maintained".

This file may only be distributed together with a copy of the LaTeX
base system. You may however distribute the LaTeX base system without
such generated files.

The list of all files belonging to the LaTeX base distribution is
given in the file `manifest.txt'. See also `legal.txt' for additional
information.

The list of derived (unpacked) files belonging to the distribution
and covered by LPPL is defined by the unpacking scripts (with
extension .ins) which are part of the distribution.
\endpreamble

\def\MetaPrefix{--}
\declarepreamble\luapreamble

This is a generated file.

The source is maintained by the LaTeX Project team and bug
reports for it can be opened at https://latex-project.org/bugs.html
(but please observe conditions on bug reports sent to that address!)


Copyright 2015
The LaTeX3 Project and any individual authors listed elsewhere
in this file.

This file was generated from file(s) of the LaTeX base system.
--------------------------------------------------------------

It may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3c
of this license or (at your option) any later version.
The latest version of this license is in
   https://www.latex-project.org/lppl.txt
and version 1.3c or later is part of all distributions of LaTeX
version 2008 or later.

This file has the LPPL maintenance status "maintained".

This file may only be distributed together with a copy of the LaTeX
base system. You may however distribute the LaTeX base system without
such generated files.

The list of all files belonging to the LaTeX base distribution is
given in the file `manifest.txt'. See also `legal.txt' for additional
information.

The list of derived (unpacked) files belonging to the distribution
and covered by LPPL is defined by the unpacking scripts (with
extension .ins) which are part of the distribution.
\endpreamble
\let\MetaPrefix\DoubleperCent

\declarepreamble\cfgpreamble

This is a generated file.

Copyright (C) 1993-2021
The LaTeX3 Project and any individual authors listed elsewhere
in this file.

This file was generated from file(s) of the LaTeX base system.
--------------------------------------------------------------

It may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3c
of this license or (at your option) any later version.
The latest version of this license is in
   https://www.latex-project.org/lppl.txt
and version 1.3c or later is part of all distributions of LaTeX
version 2008 or later.

This file may only be distributed together with a copy of the LaTeX
base system. You may however distribute the LaTeX base system without
such generated files.

The list of all files belonging to the LaTeX base distribution is
given in the file `manifest.txt'. See also `legal.txt' for additional
information.

Details of how to use a configuration file to modify this part of
the system are in the document `cfgguide.tex'.


\endpreamble


\usepreamble\mainpreamble
\usedir{tex/latex/base}

\generate{%
   \file{latex.ltx}{%
          \from{ltdirchk.dtx}{initex,2ekernel,dircheck}
          \from{ltplain.dtx}{2ekernel}
          \from{ltvers.dtx}{2ekernel}
          \from{ltluatex.dtx}{2ekernel}
% This is done as soon as possible here before \texttt{ltdefns.dtx} so that
% we have the extensions as soon as possible.
          \from{ltexpl.dtx}{2ekernel}         % expl3-based extensions
          \from{ltdefns.dtx}{2ekernel}
          \from{lthooks.dtx}{2ekernel}        % L3 layer module
          \from{ltalloc.dtx}{2ekernel}
          \from{ltcntrl.dtx}{2ekernel}
          \from{lterror.dtx}{2ekernel}
          \from{ltpar.dtx}{2ekernel}
          \from{ltspace.dtx}{2ekernel}
          \from{ltlogos.dtx}{2ekernel}
          \from{ltfiles.dtx}{2ekernel}
          \from{ltoutenc.dtx}{2ekernel}
          \from{ltcounts.dtx}{2ekernel}
          \from{ltlength.dtx}{2ekernel}
          \from{ltfssbas.dtx}{2ekernel}
          \from{ltfssaxes.dtx}{2ekernel}
          \from{ltfsstrc.dtx}{2ekernel}
%         \from{ltfsscmp.dtx}{compat,2ekernel} % only provided as part of latexrelease.sty!
          \from{ltfssdcl.dtx}{compat,2ekernel}
          \from{ltfssini.dtx}{compat,2ekernel}
          \from{ltfntcmd.dtx}{2ekernel}
          \from{lttextcomp.dtx}{2ekernel}
          \from{ltpageno.dtx}{2ekernel}
          \from{ltxref.dtx}{2ekernel}
          \from{ltmiscen.dtx}{2ekernel}
          \from{ltmath.dtx}{2ekernel}
          \from{ltlists.dtx}{2ekernel}
          \from{ltboxes.dtx}{2ekernel}
          \from{lttab.dtx}{2ekernel}
          \from{ltpictur.dtx}{2ekernel}
          \from{ltthm.dtx}{2ekernel}
          \from{ltsect.dtx}{2ekernel}
          \from{ltfloat.dtx}{2ekernel}
          \from{ltidxglo.dtx}{2ekernel}
          \from{ltbibl.dtx}{2ekernel}
          \from{ltpage.dtx}{2ekernel}
         \from{ltclass.dtx}{2ekernel,tracerollback}
          \from{ltfilehook.dtx}{2ekernel}       % L3 layer module
          \from{ltshipout.dtx}{2ekernel}        % L3 layer module
          \from{ltoutput.dtx}{2ekernel}
          \from{ltfinal.dtx}{2ekernel}}
   \file{tracefnt.sty}{%
          \from{ltfsstrc.dtx}{package,trace}}
   \file{flafter.sty}{%
          \from{ltoutput.dtx}{flafter,trace}}
   \file{fltrace.sty}{%
          \from{ltoutput.dtx}{fltrace,trace}}
%%% generate general option files modifying the kernel behavior
   \file{fleqn.clo}{%
          \from{ltmath.dtx}{fleqn}}
   \file{leqno.clo}{%
          \from{ltmath.dtx}{leqno}}
%%% generate the textcomp package
   \file{textcomp.sty}{%
          \from{lttextcomp.dtx}{TS1sty}}
   \file{textcomp-2018-08-11.sty}{%
          \from{lttextcomp.dtx}{TS1oldsty}}
  }

\generateFile{oldlfont.sty}{t}{%
  \from{oldlfont.dtx}{package}
}

\generateFile{newlfont.sty}{t}{%
  \from{newlfont.dtx}{package}
}


% hook management support

\generate{\file{everyshi-ltx.sty}{\from{ltshipout.dtx}{everyshi-ltx}}} % emulating everyshi
\generate{\file{atbegshi-ltx.sty}{\from{ltshipout.dtx}{atbegshi-ltx}}} % emulating atbegshi
\generate{\file{atveryend-ltx.sty}{\from{ltfilehook.dtx}{atveryend-ltx}}} % emulating atveryend

\generate{\file{structuredlog.sty}{\from{ltfilehook.dtx}{structuredlog}}}




% luatex support (TeX part)

\generate{\file{ltluatex.tex}{\from{ltluatex.dtx}{tex,plain}}}

%%%%%%%%%%%%%%%%% CUSTOMISABLE FILES

\usedir{tex/latex/base}

\usepreamble\cfgpreamble

\generateFile{hyphen.ltx}{t}{%
  \from{lthyphen.dtx}{default}
}


\generate{
   \file{fonttext.ltx}{
             \from{fontdef.dtx}{text}}
   \file{fontmath.ltx}{
             \from{fontdef.dtx}{math}}
   \file{fonttext.cfg}{
             \from{fontdef.dtx}{cfgtext}}
   \file{fontmath.cfg}{
             \from{fontdef.dtx}{cfgmath}}
   \file{preload.cfg}{
             \from{fontdef.dtx}{cfgprel}}
 }

\generateFile{preload.ltx}{t}{%
  \from{preload.dtx}{preload,cm,xpt,tex}}

%%%%%%%%%%%%%%%%% Lua code

% This is at the end as the prefix/postamble requirements are
% different to everything else

\def\MetaPrefix{--}
\usepreamble\luapreamble
\nopostamble
\generate{\file{ltluatex.lua}{\from{ltluatex.dtx}{lua}}}

\endbatchfile