summaryrefslogtreecommitdiff
path: root/macros/alatex/alatex-1.0/aunpack.ins
blob: 8861282780bda975f9b54706f07187b382a6972f (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
% aunpack.ins  --  installation driver for the ALaTeX system
%
%   Copyright 1996      Matt Swift <swift@bu.edu>.
%                       All rights reserved.
%
%   This file is part of the ALaTeX system.  Please see the file
%   0areadme.txt for further information.
%
%   All correspondence regarding ALaTeX should go to 
%   Matt Swift <swift@bu.edu>, not the LaTeX maintainers.
%
%   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.
%
\def\batchfile{aunpack.ins}

\let\documentclass\undefined
\input ltdirchk.dtx
\input testdist.dtx
\input docstrip.dtx

\let\OriginalAsk=\Ask
\def\Ask#1#2{%
  \OriginalAsk{#1}{#2}%
  \global\let\Ask\OriginalAsk
  \Ask\noprompt{%
  By default you will be asked this question for every file.^^J%
  If you enter `y' now, I will asssume `y' for all future questions^^J%
  without prompting.}%
   \ifx\y\noprompt\gdef\Ask##1##2{\def##1{y}}\else
      \ifx\yes\noprompt\gdef\Ask##1##2{\def##1{y}}\fi\fi}
           
\testdistribution{amanifst.txt}{Missing distribution files.}{%
   The above files are missing from your ALaTeX distribution.
^^JYou should be able to get the files from the same source as
^^Jthe rest of the distribution.  If you can't, then complain!
^^JThe full list of ALaTeX distributed files is in amanifst.txt.
^^JMore information about the installation is in ainstall.txt.
^^JPress <RETURN> to continue, or X<RETURN> to exit.
}

\Msg{**********************************************}
\Msg{*}
\Msg{* Welcome to the Installation routine of}
\Msg{*}
\Msg{* \space\space\space\space ALaTeX\space 1.0}
\Msg{*}
\Msg{**********************************************}
\Msg{}
\Msg{}

\keepsilent

\preamble

Copyright 1995-1996 Matt Swift <swift@bu.edu>.  All rights reserved.

This file is part of the ALaTeX system.  If you modify it, please 
change the definition of \string\fileinfo.

All correspondence regarding ALaTeX should go to Matt Swift
<swift@bu.edu>, not the LaTeX maintainers.

This file has been generated from the sources listed above.

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.

\endpreamble

\def\Lbatchinput#1{{\batchinput{#1}}} % to avoid changing preambles
                    % by included batchfiles we just enclose \batchinput
                    % in brackets since \preamble decls are local

\generate{
	\file{alatex.ltx}{\from{alatex.dtx}{alatex}}
	\file{metaclas.cfg}{\from{alatex.dtx}{metaclass}}
	 }

\testdistribution{aunpcked.txt}{Missing unpacked files.}{%
   The above files should have been unpacked by this installation.
^^JIf they are missing, then this means that something is wrong.
^^JRead ainstall.txt to find out what to do now.
^^JThe list of files which should have been unpacked is in aunpcked.txt.
^^JPress <RETURN> to continue, or X<RETURN> to exit.
}

\Msg{}
\Msg{********************************************************************}
\Msg{*}
\Msg{*  The patch to the LaTeX kernel and the standard ALaTeX metaclass}
\Msg{*  have been created.}
\Msg{*}
\Msg{*  To create the ALaTeX format, you must}
\Msg{*  now run iniTeX on alatex.ltx to generate alatex.fmt.}
\Msg{*}
\Msg{*  To use the new format and the standard metaclass,}
\Msg{*  place them in a standard TeX path.}
\Msg{*}
\Msg{*  If you use the Unix web2c distribution of TeX, you may wish to}
\Msg{*  create a link from `alatex' to `virtex', and define}
\Msg{*  TEXINPUTS.alatex to have the same value as TEXINPUTS.latex in the}
\Msg{*  file texmf.cnf (both of these should have the same value as}
\Msg{*  TEXINPUTS.latex2e).  On other platforms, you must do something else}
\Msg{*  to use the ALaTeX format.}
\Msg{*}
\Msg{*  Documentation may be produced by running}
\Msg{*  LaTeX on alatex.tex.}
\Msg{*}
\Msg{*******************************************************************}
\Msg{}

\endinput