summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/tcldoc/dtxload.ins
blob: 4e33fb875125173cd075b7e4829b6f54ab64f482 (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
% dtxload.ins --- DOCSTRIP installation script for dtxload.
\input docstrip

% Redefine the \MetaPrefix; it should be something which starts a
% until-end-of-line comment:
\edef\MetaPrefix{\string#\string#}


% Redefine the file preamble and postamble; this is necessary because 
% otherwise the old \metaPrefix is inserted at the beginning of these 
% lines.
\preamble

This file may be distributed and/or modified under the conditions 
of the LaTeX Project Public License, either version 1.2 of this 
license or (at your option) any later version. The latest version 
of this license is in
   http://www.latex-project.org/lppl.txt
and version 1.2 or later is part of all distributions of LaTeX 
version 1999/12/01 or later.

This file may only be distributed together with a copy of the source 
file from which it was generated. You may distribute that source file 
without this generated file.

\endpreamble

\postamble
\endpostamble

% Add a (auto-install) line at the top of the preamble, so that 
% Alpha will auto-install it.
\edef\defaultpreamble{%
   \MetaPrefix\space (auto-install)^^J%
   \defaultpreamble
}

% Actually make dtxload.tcl:
\generate{\file{dtxload.tcl}{\from{dtxload.dtx}{tcl}}}


\Msg{}
\Msg{**********************************************}
\Msg{*}
\Msg{*  To complete installation,}
\Msg{*  have Alpha open the file dtxload.tcl}
\Msg{*  somewhere outside Alpha's folder hierarchy.}
\Msg{*}
\Msg{**********************************************}
\Msg{}


\end