summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mdwtools/mdwtools.ins
blob: d44b1a2d7911a234298a75829d45d3b365bc1f32 (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
%
% $Id: mdwtools.ins,v 1.3 1996/11/19 20:57:26 mdw Exp $
%
% Installer for the mdwtools packages
%
% (c) 1996 Mark Wooding
%

%----- Revision history -----------------------------------------------------
%
% $Log: mdwtools.ins,v $
% Revision 1.3  1996/11/19 20:57:26  mdw
% Entered into RCS
%

% --- Licence note ---
%
% mdwtools installer
% Copyright (c) 1996 Mark Wooding
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software
% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

% --- Sort out how to do all this ---

\def\batchfile{mdwtools.ins}
\input docstrip
\keepsilent

\preamble

IMPORTANT NOTICE
\endpreamble

{ % --- This is a group so that docstrip \reads it all in one go ---

  \ifx\generate\mdwxxnotdef
    \gdef\mdwgen#1{#1}
    \gdef\mdwf#1#2{\generateFile{#1}{n}{#2}}
    \gdef\needed#1{}
  \else
    \global\let\mdwgen\generate
    \global\def\mdwf{\file}
    \global\askforoverwritefalse
  \fi

}

\mdwgen{\mdwf {at.sty}		{\from {at.dtx}	      {package}}
	\mdwf {mdwlist.sty}	{\from {mdwlist.dtx}  {package}}
	\mdwf {mdwtab.sty}	{\from {mdwtab.dtx}   {mdwtab}
				 \needed{syntax.dtx}
				 \from {footnote.dtx} {macro}
				 \from {doafter.dtx}  {macro}}
	\mdwf {syntax.sty}	{\from {syntax.dtx}   {package}
				 \from {doafter.dtx}  {macro}}
	\mdwf {mathenv.sty}	{\from {mdwtab.dtx}   {mathenv}}
	\mdwf {mdwmath.sty}	{\from {mdwmath.dtx}  {package}}
	\mdwf {sverb.sty}	{\from {sverb.dtx}    {package}}
	\mdwf {footnote.sty}	{\from {footnote.dtx} {package}}
	\mdwf {doafter.sty}	{\from {doafter.dtx}  {package,latex2e}}
	\mdwf {doafter.tex}	{\from {doafter.dtx}  {package,plain}}
	\mdwf {cmtt.sty}	{\from {cmtt.dtx}     {sty}}
	\mdwf {mTTenc.def}	{\from {cmtt.dtx}     {def}}
	\mdwf {mTTcmtt.fd}	{\from {cmtt.dtx}     {fd}}
}

\Msg{Done!}