Debian Codegraph @

texmf-dist/source/latex/base/docstrip.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 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 % If the top level file is docstrip.ins, most TeXs set \jobname to
40 % docstrip which would make docstrip program think it should run
41 % in interactive mode. So redefine \jobname in this install file.
42
43 \let\jobname\relax
44 \input docstrip.dtx
45
46 \preamble
47
48 This is a generated file.
49
50 The source is maintained by the LaTeX Project team and bug
51 reports for it can be opened at https://latex-project.org/bugs.html
52 (but please observe conditions on bug reports sent to that address!)
53
54
55 Copyright (C) 1993-2025
56 The LaTeX Project and any individual authors listed elsewhere
57 in this file.
58
59 This file was generated from file(s) of the LaTeX base system.
60 --------------------------------------------------------------
61
62 It may be distributed and/or modified under the
63 conditions of the LaTeX Project Public License, either version 1.3c
64 of this license or (at your option) any later version.
65 The latest version of this license is in
66 https://www.latex-project.org/lppl.txt
67 and version 1.3c or later is part of all distributions of LaTeX
68 version 2008 or later.
69
70 This file has the LPPL maintenance status "maintained".
71
72 This file may only be distributed together with a copy of the LaTeX
73 base system. You may however distribute the LaTeX base system without
74 such generated files.
75
76 The list of all files belonging to the LaTeX base distribution is
77 given in the file `manifest.txt'. See also `legal.txt' for additional
78 information.
79
80 The list of derived (unpacked) files belonging to the distribution
81 and covered by LPPL is defined by the unpacking scripts (with
82 extension .ins) which are part of the distribution.
83 \endpreamble
84
85
86
87 \declarepostamble\istpost
88 \endpostamble
89
90 \keepsilent
91
92 % programs and packages
93
94 \usedir{tex/latex/base}
95
96 \generate{\file{docstrip.tex}{\from{docstrip.dtx}{initex,program,stats}}
97 }
98
99
100 \generate{\file{ltxdoc.cls}{\from{ltxdoc.dtx}{class}}
101 \file{ltxdoc.cfg}{\from{ltxdoc.dtx}{cfg}}
102 }
103
104 \generate{\file{doc.sty}{\from{doc.dtx}{package}}
105 \file{shortvrb.sty}{\from{doc.dtx}{shortvrb}}
106 \usepostamble\istpost
107 \usedir{makeindex/latex}
108 \file{gind.ist}{\from{doc.dtx}{gind}}
109 \file{gglo.ist}{\from{doc.dtx}{gglo}}
110 }
111
112 \ifToplevel{
113 \Msg{***********************************************************}
114 \Msg{*}
115 \Msg{* To finish the installation you have to move the following}
116 \Msg{* files into a directory searched by TeX:}
117 \Msg{*}
118 \Msg{* \space\space doc.sty}
119 \Msg{* \space\space shortvrb.sty}
120 \Msg{* \space\space docstrip.tex}
121 \Msg{*}
122 \Msg{* Also move the following files into a directory searched}
123 \Msg{* by MakeIndex:}
124 \Msg{*}
125 \Msg{* \space\space gind.ist}
126 \Msg{* \space\space gglo.ist}
127 \Msg{*}
128 \Msg{* To produce the documentation run the files ending with}
129 \Msg{* `.dtx' through LaTeX.}
130 \Msg{*}
131 \Msg{* Happy TeXing}
132 \Msg{***********************************************************}
133 }
134
135
136 \endbatchfile