Various nips and tucks. Redefine theorem styles from scratch now.
[mdwtools] / mdwtools.ins
1 %
2 % $Id: mdwtools.ins,v 1.2 2002/02/19 22:49:57 mdw Exp $
3 %
4 % Installer for the mdwtools packages
5 %
6 % (c) 1996 Mark Wooding
7 %
8
9 %----- Revision history -----------------------------------------------------
10 %
11 % $Log: mdwtools.ins,v $
12 % Revision 1.2 2002/02/19 22:49:57 mdw
13 % Use lowercase names for font definition files.
14 %
15 % Revision 1.1 2002/02/03 20:49:03 mdw
16 % Checkin for new build system.
17 %
18 % Revision 1.3 1996/11/19 20:57:26 mdw
19 % Entered into RCS
20 %
21
22 % --- Licence note ---
23 %
24 % mdwtools installer
25 % Copyright (c) 1996 Mark Wooding
26 %
27 % This program is free software; you can redistribute it and/or modify
28 % it under the terms of the GNU General Public License as published by
29 % the Free Software Foundation; either version 2 of the License, or
30 % (at your option) any later version.
31 %
32 % This program is distributed in the hope that it will be useful,
33 % but WITHOUT ANY WARRANTY; without even the implied warranty of
34 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 % GNU General Public License for more details.
36 %
37 % You should have received a copy of the GNU General Public License
38 % along with this program; if not, write to the Free Software
39 % Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
40
41 % --- Sort out how to do all this ---
42
43 \def\batchfile{mdwtools.ins}
44 \input docstrip
45 \keepsilent
46
47 \preamble
48
49 IMPORTANT NOTICE
50 \endpreamble
51
52 { % --- This is a group so that docstrip \reads it all in one go ---
53
54 \ifx\generate\mdwxxnotdef
55 \gdef\mdwgen#1{#1}
56 \gdef\mdwf#1#2{\generateFile{#1}{n}{#2}}
57 \gdef\needed#1{}
58 \else
59 \global\let\mdwgen\generate
60 \global\def\mdwf{\file}
61 \global\askforoverwritefalse
62 \fi
63
64 }
65
66 \mdwgen{\mdwf {at.sty} {\from {at.dtx} {package}}
67 \mdwf {mdwlist.sty} {\from {mdwlist.dtx} {package}}
68 \mdwf {mdwtab.sty} {\from {mdwtab.dtx} {mdwtab}
69 \needed{syntax.dtx}
70 \from {footnote.dtx} {macro}
71 \from {doafter.dtx} {macro}}
72 \mdwf {syntax.sty} {\from {syntax.dtx} {package}
73 \from {doafter.dtx} {macro}}
74 \mdwf {mathenv.sty} {\from {mdwtab.dtx} {mathenv}}
75 \mdwf {mdwmath.sty} {\from {mdwmath.dtx} {package}}
76 \mdwf {sverb.sty} {\from {sverb.dtx} {package}}
77 \mdwf {footnote.sty} {\from {footnote.dtx} {package}}
78 \mdwf {doafter.sty} {\from {doafter.dtx} {package,latex2e}}
79 \mdwf {doafter.tex} {\from {doafter.dtx} {package,plain}}
80 \mdwf {cmtt.sty} {\from {cmtt.dtx} {sty}}
81 \mdwf {mttenc.def} {\from {cmtt.dtx} {def}}
82 \mdwf {mttcmtt.fd} {\from {cmtt.dtx} {fd}}
83 \mdwf {crypto.sty} {\from {crypto.dtx} {package}}
84 \mdwf {mdwthm.sty} {\from {mdwthm.dtx} {package}}
85 \mdwf {exercise.sty} {\from {exercise.dtx} {package}}
86 \mdwf {mdwmargin.thm} {\from {mdwthm.dtx} {thmstyle}}
87 \mdwf {poetry.sty} {\from {poetry.dtx} {package}}
88 }
89
90 \Msg{Done!}