Debian Codegraph @

texmf-dist/source/latex/tools/tools.ins

raw
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 Standard LaTeX `Tools Bundle'.
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 2005/12/01 or later.
20 %%
21 %% As this file contains legal notices, it is NOT PERMITTED to modify
22 %% this file in any way that the legal information placed into
23 %% generated files is changed (i.e., the files generated when the
24 %% original file is executed). This restriction does not apply if
25 %% (parts of) the content is reused in a different WORK producing its
26 %% own generated files.
27 %%
28 %% The list of all files belonging to the `Tools Bundle' is
29 %% given in the file `manifest.txt'.
30 %%
31 %%
32 %% --------------- start of docstrip commands ------------------
33 %%
34 \input docstrip
35
36 \def\SimplePackage#1{%
37 \generate{\file{#1.sty}{\from{#1.dtx}{package}}}}
38
39 \keepsilent
40
41 \usedir{tex/latex/tools}
42
43 \preamble
44
45 This is a generated file.
46
47 The source is maintained by the LaTeX Project team and bug
48 reports for it can be opened at https://latex-project.org/bugs/
49 (but please observe conditions on bug reports sent to that address!)
50
51
52 Copyright (C) 1993-2025
53 The LaTeX Project and any individual authors listed elsewhere
54 in this file.
55
56 This file was generated from file(s) of the Standard LaTeX `Tools Bundle'.
57 --------------------------------------------------------------------------
58
59 It may be distributed and/or modified under the
60 conditions of the LaTeX Project Public License, either version 1.3c
61 of this license or (at your option) any later version.
62 The latest version of this license is in
63 https://www.latex-project.org/lppl.txt
64 and version 1.3c or later is part of all distributions of LaTeX
65 version 2005/12/01 or later.
66
67 This file may only be distributed together with a copy of the LaTeX
68 `Tools Bundle'. You may however distribute the LaTeX `Tools Bundle'
69 without such generated files.
70
71 The list of all files belonging to the LaTeX `Tools Bundle' is
72 given in the file `manifest.txt'.
73
74 \endpreamble
75
76 % Array files
77 %%%%%%%%%%%%%
78 \generate{\file{array.sty}{\from{array.dtx}{package,ncols}}}
79
80 \SimplePackage{delarray}
81
82 \batchinput{tabularx.ins}
83
84 \SimplePackage{dcolumn}
85
86 \SimplePackage{hhline}
87
88 \batchinput{longtable.ins}
89
90 % Multicolumn
91 %%%%%%%%%%%%%
92 \batchinput{multicol.ins}
93
94 % Bold Math Symbols
95 %%%%%%%%%%%%%%%%%%%
96 \batchinput{bm.ins}
97
98 % Footnote Right
99 %%%%%%%%%%%%%%%
100 \SimplePackage{ftnright}
101
102 % Theorem files
103 %%%%%%%%%%%%%%%
104 \generate{%
105 \file{theorem.sty}{\from{theorem.dtx}{package}}
106 \file{thb.sty}{\from{theorem.dtx}{thb}}
107 \file{thcb.sty}{\from{theorem.dtx}{thcb}}
108 \file{thc.sty}{\from{theorem.dtx}{thc}}
109 \file{thp.sty}{\from{theorem.dtx}{thp}}
110 \file{thmb.sty}{\from{theorem.dtx}{thmb}}
111 \file{thm.sty}{\from{theorem.dtx}{thm}}}
112
113 % Verbatim
114 %%%%%%%%%%
115 \generate{%
116 \file{verbatim.sty}{\from{verbatim.dtx}{package}}
117 \file{verbtest.tex}{\from{verbatim.dtx}{testdriver}}}
118
119 % Smart Page references
120 %%%%%%%%%%%%%%%%%%%%%%%
121 \batchinput{varioref.ins}
122
123 % External references
124 %%%%%%%%%%%%%%%%%%%%%
125 \SimplePackage{xr}
126
127 % Smart Space command
128 %%%%%%%%%%%%%%%%%%%%%
129 \SimplePackage{xspace}
130
131 % Show \label \ref keys
132 %%%%%%%%%%%%%%%%%%%%%%%
133 \SimplePackage{showkeys}
134
135 % Load fonts under old names
136 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
137 \SimplePackage{rawfonts}
138
139 % Selective Option handling
140 %%%%%%%%%%%%%%%%%%%%%%%%%%%
141 \SimplePackage{somedefs}
142
143
144 % Font sample
145 %%%%%%%%%%%%%
146 \generate{%
147 \file{fontsmpl.sty}{\from{fontsmpl.dtx}{package}}
148 \file{fontsmpl.tex}{\from{fontsmpl.dtx}{document}}}
149
150 % After Page Package
151 %%%%%%%%%%%%%%%%%%%%
152 \batchinput{afterpage.ins}
153
154 % Enumerate Package
155 %%%%%%%%%%%%%%%%%%%%
156 \SimplePackage{enumerate}
157
158
159 % Indent first paragraphs
160 %%%%%%%%%%%%%%%%%%%
161 \SimplePackage{indentfirst}
162
163
164 % Show the layout of a document class
165 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
166 \SimplePackage{layout}
167
168
169 % Infix Arithmetic
170 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
171 \SimplePackage{calc}
172
173 % Debugging
174 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
175 \SimplePackage{trace}
176
177 % Shell Escape
178 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
179 \SimplePackage{shellesc}
180
181
182 % Shell Filee System Queries
183 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
184 \batchinput{l3sys-query.ins}
185
186
187
188 % File-Error files
189 %%%%%%%%%%%%%%%%%%
190 \generate{%
191 \file{h.tex}{\from{fileerr.dtx}{help}}
192 \file{s.tex}{\from{fileerr.dtx}{scroll}}
193 \file{e.tex}{\from{fileerr.dtx}{edit}}
194 \file{q.tex}{\from{fileerr.dtx}{batch}}
195 \file{r.tex}{\from{fileerr.dtx}{run}}
196 \file{x.tex}{\from{fileerr.dtx}{exit}}}
197
198 \generate{\file{rename-to-empty-base.tex}{\from{fileerr.dtx}{return}}}
199
200
201 \Msg{***********************************************************}
202 \Msg{*}
203 \Msg{* To finish the installation you have to move the following}
204 \Msg{* files into a directory searched by TeX:}
205 \Msg{*}
206 \Msg{* All the files with extension `.sty' and `.tex'}
207 \Msg{* TeX may be blocked from writing a file called `.tex',}
208 \Msg{* so generated a file with name `rename-to-empty-base.tex'.}
209 \Msg{* Rename that file to `.tex' after the docstrip generation.}
210 \Msg{*}
211 \Msg{* To produce the documentation run the .dtx files through LaTeX.}
212 \Msg{*}
213 \Msg{* Happy TeXing}
214 \Msg{***********************************************************}
215
216
217 \endbatchfile