summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/labbook/labbook.ins
blob: c7825ccf47cd40b328eeddadef7fce54fa4a91b5 (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
\let\ifbeta\iffalse
%%
%% This file will generate fast loadable files from the dtx files in this
%% bundle when run through LaTeX or TeX.
%%
%% This file is part of the labbook bundle
%% ---------------------------------------------------
%%
%%  This system 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.
%%
%% IMPORTANT NOTICE:
%%
%% Copyright 2002 Frank Küster
%% All rights reserved. This package is licensed under the 
%% LaTeX Project Public License. For further information, see
%% http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt
%%
%%
%% --------------- start of docstrip commands ------------------
%%
\def\batchfile{labbook.ins}
\input docstrip.tex

\keepsilent
\askforoverwritetrue
%\askforoverwritefalse

\preamble
\endpreamble

\ifToplevel{\ifx\generate\undefined
\Msg{**********************************************}
\Msg{*}
\Msg{* This installation requires docstrip}
\Msg{* version 2.3c or later.}
\Msg{*}
\Msg{* An older version of docstrip has been input}
\Msg{*}
\Msg{**********************************************}
\errhelp{Move or rename old docstrip.tex.}
\errmessage{Old docstrip in input path}
\batchmode
\csname @@end\endcsname
\fi
}

\declarepreamble\mainpreamble

Copyright (C) 2002 Frank Küster.

All rights reserved. 
\endpreamble
\declarepostamble\nullpostamble
\endpostamble

%% File generation:

\generate{%
  \usepreamble\mainpreamble
  \file{labbook.cls}{\from{labbook.dtx}{labbook}}
  \file{labboode.tex}{\from{labbook.dtx}{labboode}}
	\file{examplen.tex}{\from{labbook.dtx}{examplen}}
	\file{examplde.tex}{\from{labbook.dtx}{examplde}}
	\file{boilerplates.tex}{\from{labbook.dtx}{boilerplates}}
}

\ifToplevel{
\Msg{***********************************************************}
\Msg{*}
\ifbeta
\Msg{* THIS IS A BETA VERSION. YOU SHOULD NOT INSTALL OR USE IT!}
\Msg{* THERE MAY BE A LOT OF BUGS AT THIS VERSION!}
\Msg{* PLEASE INSTALL THE RELEASE YOU CAN FIND AT CTAN!}
\Msg{*}
\else
\Msg{* To finish the installation you have to move}
\Msg{* labbook.cls into a directory searched by TeX.}
\Msg{*}
\Msg{* For the documentation see the README file.}
\Msg{*}
\Msg{* Happy TeXing}
\fi
\Msg{***********************************************************}
}

\endinput
%%
%% end of file `labbook.ins'