Debian Codegraph @

texmf-dist/source/latex/confproc/confproc.ins

raw
1 %% LaTeX2e file `confproc.ins'
2 %% generated by the `filecontents' environment
3 %% from source `confproc' on 2011/08/01.
4 %%
5 %% confproc.ins, the batch file for the confproc package
6 %% Copyright (c) 2011 by Vincent Verfaille
7 %% <[email protected]>
8 %%
9 %% This file is part of the confproc package.
10 %% -------------------------------------------
11 %%
12 %% It may be distributed and/or modified under the conditions of the
13 %% LaTeX Project Public License, either version 1.2 of this license or
14 %% (at your option) any later version.
15 %%
16 %% The latest version of this license is in
17 %% http://www.latex-project.org/lppl.txt
18 %% and version 1.2 or later is part of all distributions of LaTeX
19 %% version 1999/12/01 or later.
20 %%
21 %% In particular, NO PERMISSION is granted to modify the contents of
22 %% this file since it contains the legal notices that are placed in
23 %% the files it generates.
24 %%
25 %% This file may not be distributed without the original source file
26 %% confproc.dtx.
27 %%
28 %% The list of all files belonging to the confproc package is given
29 %% in the `readme.txt' file.
30 %%
31 %% This file will generate fast loadable files and documentation
32 %% driver files from the .dtx files in this package when run through
33 %% LaTeX or TeX.
34 %%
35 %% ------------------- start of docstrip commands -------------------
36 \def\batchfile{confproc.ins}
37 \input docstrip.tex
38 %
39 \ifToplevel{\ifx\askonceonly\undefined%
40 \Msg{******************}%
41 \Msg{*}%
42 \Msg{* This installation requires docstrip}%
43 \Msg{* version 2.4e or later.}%
44 \Msg{*}%
45 \Msg{* An older version of docstrip has been input}%
46 \Msg{*}%
47 \Msg{******************}%
48 \errhelp{Move or rename old docstrip.tex.}%
49 \errmessage{Old docstrip in input path}%
50 \batchmode%
51 \csname @@end\endcsname%
52 \fi%
53 }%
54 %
55 %% Define standard text:
56 %
57 \def\nline{^^J\MetaPrefix\space}%
58 \def\stdtext{%
59 Copyright (c) 2011 by Vincent Verfaille
60 <[email protected]>\nline\nline%
61 This file is part of the confproc package.\nline%
62 -------------------------------------------\nline\nline%
63 It may be distributed and/or modified under the conditions of the\nline%
64 LaTeX Project Public License, either version 1.2 of this license or\nline%
65 (at your option) any later version.\nline\nline%
66 The latest version of this license is in\nline%
67 \space\space http://www.latex-project.org/lppl.txt\nline%
68 and version 1.2 or later is part of all distributions of LaTeX version\nline%
69 1999/12/01 or later.\nline\nline%
70 This file may not be distributed without the original source file\nline%
71 `\inFileName'.\nline\nline%
72 The list of all files belonging to the confproc package is given in\nline%
73 the `readme.txt' file.}
74 %
75 %% Declare preambles (and use \stdtext):
76 %
77 \declarepreamble\driver
78
79 This is `\outFileName', the documentation driver for the confproc package.
80 \stdtext
81
82 This is the driver file to produce the LaTeX documentation
83 from the original source file `\inFileName'.
84
85 Make changes to it as needed. (Never edit the file `\inFileName'!)
86
87 \endpreamble%
88 %
89 \declarepreamble\package
90
91 This is `\outFileName', a LaTeX2e package to build conference proceedings.
92 \stdtext
93
94 For more details, LaTeX the source `\inFileName'.
95
96 \endpreamble%
97 %
98 \declarepreamble\scripts
99 \endpreamble%
100 %
101 \declarepreamble\example
102
103 This is `\outFileName', an example file for the confproc package.
104 \stdtext
105
106 For more details, LaTeX the source `\inFileName'.
107
108 \endpreamble%
109 %
110 \declarepreamble\config
111
112 This is `\outFileName', a configuration file for the confproc package.
113 \stdtext
114
115 For more details, LaTeX the source `\inFileName'.
116
117 \endpreamble%
118 %
119 \keepsilent%
120 %
121 %% Greeting:
122 %
123 \askforoverwritefalse
124 %%\askforoverwritetrue% uncomment if you wish to avoid over-writing a file
125 %%\askonceonly% better of commented as it asks SEVERAL times
126 %
127 \ifToplevel{%
128 \Msg{}%
129 \Msg{**********************}%
130 \Msg{* Hello to the installation of the `confproc' package. *}%
131 \Msg{**********************}%
132 \Msg{}%
133 \Msg{*********}%
134 \Msg{* Generating files... *}%
135 \Msg{*********}%
136 }%
137 %
138 %% File generation:
139 %
140 \generate{%
141 \nopreamble\nopostamble\file{prepareexample.sh}{\from{confproc.dtx}{prepareexample}}%
142 \usepreamble\example\file{example1empty.tex}{\from{confproc.dtx}{example1empty}}%
143 \file{example2custom.tex}{\from{confproc.dtx}{example2custom}}%
144 \file{example3optim.tex}{\from{confproc.dtx}{example3optim}}%
145 \file{expapersswitch.tex}{\from{confproc.dtx}{expapersswitch}}%
146 \file{expages.tex}{\from{confproc.dtx}{expages}}%
147 \nopreamble\nopostamble\file{exclasspre.tex}{\from{confproc.dtx}{exclasspre}}%
148 \file{exclasslastel.tex}{\from{confproc.dtx}{exclasslastel}}%
149 \file{exclasslastpb.tex}{\from{confproc.dtx}{exclasslastpb}}%
150 \file{exbiblio.bib}{\from{confproc.dtx}{exbiblio}}%
151 \file{generateswitch.pl}{\from{confproc.dtx}{generateswitch}}%
152 \file{exprogram.csv}{\from{confproc.dtx}{exprogram}}%
153 \file{buildpapers.sh}{\from{confproc.dtx}{buildpapers}}%
154 \file{buildproc.sh}{\from{confproc.dtx}{buildproc}}%
155 \file{buildprocelpb.sh}{\from{confproc.dtx}{buildprocelpb}}%
156 \file{buildcppdfpapers.sh}{\from{confproc.dtx}{buildcppdfpapers}}%
157 \file{countnbpages.sh}{\from{confproc.dtx}{countnbpages}}%
158 \file{removeLaTeXcmds.sh}{\from{confproc.dtx}{removeLaTeXcmds}}%
159 \file{exportIndividualPDFs.sh}{\from{confproc.dtx}{exportIndividualPDFs}}%
160 \file{papersinfo.sh}{\from{confproc.dtx}{papersinfo}}%
161 \file{paperssplitpreamble.sh}{\from{confproc.dtx}{paperssplitpreamble}}%
162 % \nopreamble\nopostamble\file{newapave.bst}{\from{confproc.dtx}{newapavebst}}%
163 % \nopreamble\nopostamble\file{newapave2.sty}{\from{confproc.dtx}{newapavesty}}% DO NOT UNCOMMENT OTHERWISE IT STRIPS A SECONDTIME THE COMMENTS...
164 % \usepreamble\example\file{example4optim.tex}{\from{confproc.ins}{example4optim}}%
165 % \usedir{tex/latex/misc}%
166 \usepreamble\driver\file{confproc.drv}{\from{confproc.dtx}{driver}}%
167 \usepreamble\config\file{confproc.cfg}{\from{confproc.dtx}{config}}%
168 \usepreamble\package\file{confproc.cls}{\from{confproc.dtx}{package}%
169 \nopreamble\nopostamble\file{buildcls.sh}{\from{confproc.dtx}{buildcls}}%
170 \nopreamble\nopostamble\file{cleancls.sh}{\from{confproc.dtx}{cleancls}}%
171 }%
172 }%
173 %
174 %% Report:
175 %
176 \ifToplevel{%
177 \Msg{}%
178 \Msg{********************}%
179 \Msg{*}%
180 \makeatletter\@ifundefined{basedir}{%
181 \Msg{* To finish the installation you have to move the following}%
182 \Msg{* file into a directory searched by LaTeX:}%
183 }{%
184 \Msg{* The following file has been automatically created in a}%
185 \Msg{* directory searched by LaTeX:}%
186 }\makeatother%
187 \Msg{*}%
188 \Msg{* \space\space confproc.cls}%
189 \Msg{*}%
190 \makeatletter\@ifundefined{basedir}{%
191 \Msg{* Using a TDS compatible TeX distribution, this would be e.g.}%
192 \Msg{* tex/latex/misc of your main or your local or your private}%
193 \Msg{* texmf path. If you don't know these paths, have a look}%
194 \Msg{* at your `texmf.cnf' or try:}%
195 \Msg{* \space\space kpsexpand \string\$TEXMFMAIN}%
196 \Msg{* \space\space kpsexpand \string\$TEXMFLOCAL}%
197 \Msg{* \space\space kpsexpand \string\$HOMETEXMF}%
198 \Msg{* You may also use another folder at your TEXINPUTS path.}%
199 }{}\makeatother%
200 \Msg{* To produce the documentation and a example, run the}%
201 \Msg{* following files through LaTeX:}%
202 \Msg{*}%
203 \Msg{* \space\space confproc.drv (three times)}%
204 \Msg{* \space\space exampleN.tex}%
205 \Msg{*}%
206 \Msg{* For the legal stuff please have a look at:}%
207 \Msg{*}%
208 \Msg{* \space\space readme.txt}%
209 \Msg{*}%
210 \Msg{*}%
211 \Msg{* Happy TeXing!}%
212 \Msg{*}%
213 \Msg{********************}%
214 \Msg{}%
215 }%
216 \endbatchfile