updated
[latex2e.git] / base / docstrip.ins
blob9e3f0c6ab149cc4c3800aa28ed336521d3d5b7f7
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 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2008 2009
7 %% The LaTeX3 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.3b
15 %% of this license or (at your option) any later version.
16 %% The latest version of this license is in
17 %%    http://www.latex-project.org/lppl.txt
18 %% and version 1.3b or later is part of all distributions of LaTeX 
19 %% version 2005/12/01 or later.
20 %% 
21 %% This file has the LPPL maintenance status "maintained".
22 %% 
23 %% In particular, NO PERMISSION is granted to modify the contents of this
24 %% file since it contains the legal notices that are placed in the files
25 %% it generates.
26 %% 
27 %% The list of all files belonging to the LaTeX base distribution is
28 %% given in the file `manifest.txt'. See also `legal.txt' for additional
29 %% information.
30 %% 
31 %% 
32 %% 
34 %% --------------- start of docstrip commands ------------------
36 % If the top level file is docstrip.ins, most TeXs set \jobname to
37 % docstrip which would make docstrip program think it should run
38 % in interactive mode. So redefine \jobname in this install file.
40 \let\jobname\relax
41 \input docstrip.dtx
43 \preamble
45 This is a generated file.
47 Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009
48 The LaTeX3 Project and any individual authors listed elsewhere
49 in this file. 
51 This file was generated from file(s) of the LaTeX base system.
52 --------------------------------------------------------------
54 It may be distributed and/or modified under the
55 conditions of the LaTeX Project Public License, either version 1.3c
56 of this license or (at your option) any later version.
57 The latest version of this license is in
58    http://www.latex-project.org/lppl.txt
59 and version 1.3c or later is part of all distributions of LaTeX 
60 version 2005/12/01 or later.
62 This file has the LPPL maintenance status "maintained".
64 This file may only be distributed together with a copy of the LaTeX
65 base system. You may however distribute the LaTeX base system without
66 such generated files.
68 The list of all files belonging to the LaTeX base distribution is
69 given in the file `manifest.txt'. See also `legal.txt' for additional
70 information.
72 The list of derived (unpacked) files belonging to the distribution 
73 and covered by LPPL is defined by the unpacking scripts (with 
74 extension .ins) which are part of the distribution.
75 \endpreamble
79 \declarepostamble\istpost
80 \endpostamble
82 \keepsilent
84 % programs and packages
86 \usedir{tex/latex/base}
88 \generate{\file{docstrip.tex}{\from{docstrip.dtx}{initex,program,stats}}
89          }
92 \generate{\file{ltxdoc.cls}{\from{ltxdoc.dtx}{class}}
93          }
95 \generate{\file{doc.sty}{\from{doc.dtx}{package}}
96           \file{shortvrb.sty}{\from{doc.dtx}{shortvrb}}
97           \usepostamble\istpost
98           \usedir{makeindex/latex}
99           \file{gind.ist}{\from{doc.dtx}{gind}}
100           \file{gglo.ist}{\from{doc.dtx}{gglo}}
101          }
103 \ifToplevel{
104 \Msg{***********************************************************}
105 \Msg{*}
106 \Msg{* To finish the installation you have to move the following}
107 \Msg{* files into a directory searched by TeX:}
108 \Msg{*}
109 \Msg{* \space\space doc.sty}
110 \Msg{* \space\space shortvrb.sty}
111 \Msg{* \space\space docstrip.tex}
112 \Msg{*}
113 \Msg{* Also move the following files into a directory searched}
114 \Msg{* by MakeIndex:}
115 \Msg{*}
116 \Msg{* \space\space gind.ist}
117 \Msg{* \space\space gglo.ist}
118 \Msg{*}
119 \Msg{* To produce the documentation run the files ending with}
120 \Msg{* `.dtx' through LaTeX.}
121 \Msg{*}
122 \Msg{* Happy TeXing}
123 \Msg{***********************************************************}
127 \endbatchfile