summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/dialogl/dialogl.ins
blob: 7e3ef26075ffbe0f6fc9fc8ccabbe79084ecc5a6 (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
\NeedsTeXFormat{LaTeX2e}%
\def\batchfile{dialogl.ins}
\input docstrip.tex
\preamble
\endpreamble

\keepsilent

%    Fix up catcodes of the upper 128 characters just in case someone
%    has an early release of LaTeX2e. (pre June 1994 patch-level 2)
{\makeatletter
\def\do{\global\catcode\count@\@tempa \advance\count@\@ne
  \ifnum\count@>\@cclv \expandafter\@gobble\fi \do}%
\count@=128 \chardef\@tempa=12 \do}

\csname newtoks\endcsname\filesmsg
\def\dofile#1#2#3{\generateFile{#1}{t}{\from{#2}{#3}}%
  \filesmsg\expandafter{\the\filesmsg \Msg{* \space\space#1}}}

\dofile{dialog.sty}{dialog.dtx}{2e}
\dofile{menus.sty}{menus.dtx}{2e}
\dofile{grabhedr.sty}{grabhedr.dtx}{2e}
%    Listout.tex incorporates copies of grabhedr.sty, dialog.sty,
%    menus.sty with certain inconvenient lines removed, so that a single
%    version of listout.tex will run equally well under plain TeX, LaTeX
%    209, or LaTeX2e. (And it runs slightly faster as it doesn't need to
%    find those files at run-time).
\generateFile{listout.tex}{t}{%
  \from{grabhedr.dtx}{}%
  \from{dialog.dtx}{}%
  \from{menus.dtx}{}%
  \from{listout.dtx}{}%
}%
\filesmsg\expandafter{\the\filesmsg \Msg{* \space\space listout.tex}}

\ifToplevel{
\Msg{******************************************************************}
\Msg{*}
\Msg{* To finish the installation you need to move the following files}
\Msg{* to a LaTeX input files area (the name of this area will vary}
\Msg{* depending on your system):}
\Msg{*}
\the\filesmsg
\Msg{*}
\Msg{******************************************************************}
}

\endinput