Debian Codegraph @

texmf-dist/doc/latex/frankenstein/INSTALL

raw
1
2 INSTRUCTIONS
3 for
4 BUILDING AND INSTALLING
5 FRANKENSTEIN
6
7 ----------------------------------------------------------------------
8 CONTENTS
9
10 NOTE
11 QUICK AND DIRTY
12 THE BEST WAY: USING THE MAKEFILE
13 NON-FRANKENSTEIN PACKAGES
14 DOING IT BY HAND
15 basics
16 configuration files
17 generating quick versions
18 regenerating DVI documentation
19 fileset dependencies
20 FILE LOCATIONS
21 TDS locations
22 CTAN locations
23 MAKEFILE TECHNICAL NOTES
24 Frankenbundle
25 TERMINOLOGY
26 AUTHOR
27
28 ----------------------------------------------------------------------
29 NOTE
30
31 If you are reading this file in a TeX installation, you probably don't
32 need to install anything at all. Simply try using one of the
33 Frankenstein packages in your document and see if it works. If LaTeX
34 can't find the package, you need to install it, so read on.
35
36 Since you're reading on, I'll assume from here on that you are reading
37 this file in a directory with other Frankenstein files as you found
38 them on CTAN.
39
40 ----------------------------------------------------------------------
41 QUICK AND DIRTY
42
43 You can simply put this entire directory (or just the .sty files)
44 somewhere in LaTeX's search path for input files, e.g.,
45 TDS:/texmf/tex/latex/frankenstein. You will then be able to use all
46 the Frankenstein packages, with the following qualifications:
47
48 1. The documentation won't be in the standard place.
49 2. To use the achicago bibstyle, you must also put the file
50 "achicago.bst" where BibTeX can find it.
51 3. With a web2c-based installation you _may_ also need to take the
52 extra step of rebuilding your ls-R databases with a command like
53 "texconfig rehash".
54 4. To use the abbrevs, achicago, blkcntrl, and dialogue packages,
55 you must have the relsize package on your system; to use the
56 compsci package, you must have the the relsize, url and verbatim
57 packages on your system. For how to obtain and install these
58 non-Frankenstein packages on your system, see the section on
59 non-Frankenstein packages below.
60
61 ----------------------------------------------------------------------
62 THE BEST WAY:
63 USING THE MAKEFILE
64
65 If you have the GNU Make program on your system, using the Makefile is
66 the easiest way to do everything described in this document and more.
67 Simply run "make" and you will see a help message describing the
68 things you can do. You probably won't need to read anything else in
69 this file except the section NON-FRANKENSTEIN PACKAGES below.
70
71 To use the Makefile on the unsupported filesets, you must do two
72 things.
73
74 1. Copy all the files in the "unsupported" subdirectory into its
75 parent directory ("frankenstein").
76
77 2. Set the variable USE_UNSUP to something nonempty either by:
78 a. uncommenting the line in the file Makefile, or
79 b. setting it in your environment, or
80 c. set the variable on the Make command line, e.g., "make
81 USE_UNSUP=t all".
82
83 ----------------------------------------------------------------------
84 NON-FRANKENSTEIN PACKAGES
85
86 Certain Frankenstein packages depend on packages that are not part of
87 Frankenstein or the official LaTeX distribution:
88
89 abbrevs,
90 achicago,
91 blkcntrl,
92 and dialogue depend on "relsize.sty".
93 compsci depends on "relsize.sty", "url.sty", and "verbatim.sty".
94
95 If you wish to use one of those four Frankenstein packages, I suggest
96 you follow these steps:
97
98 First check if you already have them on your system:
99
100 If you have a TeX installation based on web2c (e.g., UN*X
101 installations derived from teTeX or TeXLive), you can type:
102
103 % kpsewhich X.sty
104
105 (where X is relsize, url, or verbatim) and if you get a response,
106 you already have that file on your system. If you don't have web2c
107 but do have a TDS-compliant texmf tree, see the section FILE
108 LOCATIONS below to see where to look. If you have neither web2c
109 nor a TDS-compliant texmf tree, you can simply try to use the
110 Frankenstein package, and if LaTeX tells you one of the
111 non-Frankenstein packages is missing, well then you have to install
112 it.
113
114 If you don't already have the files you need, download them from CTAN.
115
116 The locations are given in the section FILE LOCATIONS below.
117
118 To install relsize.sty and url.sty, simply put them where LaTeX can
119 find them.
120
121 To install verbatim, I recommend you install the entire "tools"
122 distribution, following the directions in the file readme.txt.
123
124 ----------------------------------------------------------------------
125 DOING IT BY HAND
126
127 basics
128
129 Each package fileset X in the Frankenstein bundle contains either four
130 or five files:
131
132 X.sty the package macros
133 X.dvi package documentation
134 X.tex may be used to regenerate X.dvi from X.sty
135 X.ins may be used to generate a fast-loading version of X.sty
136
137 A standard configuration file is included in the abbrevs, compsci,
138 slemph, and titles package filesets:
139
140 X.cfg package configuration file (not in all packages)
141
142 The file X.sty may be used as it is; simply put it where LaTeX can
143 find it. TDS locations are given below. To use the package, put
144 \usepackage{X} in the preamble of your LaTeX source document. If a
145 configuration file exists for the package, you must also put it where
146 LaTeX can find it.
147
148 The following files compose the achicago bibstyle fileset:
149
150 achicago.bst the bibstyle macros
151 achicago-bst.dvi bibstyle documentation
152 achicago-bst.tex may be used to regenerate achicago-bst.dvi from
153 achicago.bst and achicago-bst.ver
154 achicago-bst.ins may be used to generate a fast-loading version
155 of achicago.bst (see below)
156 achicago-bst.ver a file needed by achicago-bst.tex
157
158 The file achicago.bst may be used as it is; simply put it where BibTeX
159 can find it. To use the bibstyle, you must load the achicago PACKAGE
160 by putting \usepackage{achicago} in the preamble of your LaTeX source
161 document.
162
163
164 configuration files
165
166 If you want to alter a configuration file, make a copy of it, put it
167 the copy in the LaTeX search path prior to the distributed
168 configuration file, and alter the copy.
169
170
171 generating fast-loading or "quick" versions
172
173 Running TeX or LaTeX on X.ins will produce a file called either X.stq
174 (for packages) or X.bsq (for bibstyles). For packages X, the file
175 X.sty must be in the LaTeX search path (usually the current
176 directory); for bibstyles Y-bst, the files Y.bst and Y-bst.ver must be
177 in the same directory. The new file is functionally identical to the
178 X.sty or X.bst file, but is stripped of comments and will therefore be
179 processed faster by TeX or BibTeX. I am unable to tell you how much
180 faster! To use X.stq (X.bsq), you must rename it to X.sty (X.bst) and
181 put it where LaTeX (BibTeX) can find it. DO NOT DELETE THE ORIGINAL
182 X.sty (X.bst) because it contains the documentation which X.tex
183 (X-bst.tex) transforms into the file X.dvi (X-bst.dvi).
184
185
186 regenerating DVI documentation
187
188 To regenerate the file X.dvi, run LaTeX on X.tex. For packages X, the
189 file X.sty must be in the LaTeX search path as well as X.cfg if it
190 exists; for bibstyles Y-bst, the files Y.bst and Y-bst.ver must be in
191 the LaTeX search path.
192
193 Generating documentation requires the following Frankenstein packages:
194
195 abbrevs.sty, blkcntrl.sty, compsci.sty, lips.sty, moredefs.sty,
196 slemph.sty, titles.sty, and achicago.sty,
197
198 and the achicago.bst bibstyle.
199
200 You also need all 3 non-Frankenstein packages (see the section
201 NON-FRANKENSTEIN PACKAGES above).
202
203 Documentation for dialogue furthermore requires the attrib package.
204 Documentation for attrib furthermore requires the dialogue package.
205 Documentation for achicago-bst furthermore requires the longtable package,
206 which is in the "tools" bundle with "verbatim" (see the section
207 NON-FRANKENSTEIN PACKAGES above).
208
209
210 fileset dependencies
211
212 If you install the macro files of one fileset, you should also install
213 all the macro files of the filesets it depends on:
214
215 Fileset Depends on (directly or indirectly)
216 ....................................................................
217 abbrevs moredefs,relsize,slemph
218 achicago blkcntrl,moredefs,relsize,slemph,titles
219 achicago-bst achicago,blkcntrl,moredefs,relsize,slemph,titles
220 attrib moredefs
221 blkcntrl moredefs,relsize
222 compsci abbrevs,alltt,lips,moredefs,relsize,slemph,
223 titles,url,verbatim
224 dialogue blkcntrl,moredefs,relsize
225 lips <NOTHING>
226 moredefs <NOTHING>
227 slemph <NOTHING>
228 titles moredefs,slemph
229
230 ----------------------------------------------------------------------
231 FILE LOCATIONS
232
233 TDS locations
234
235 Relevant non-Frankenstein files:
236
237 File Location: TDS:/texmf/...
238 ...........................................................
239 url.sty ...tex/latex/misc/url.sty
240 relsize.sty ...tex/latex/misc/relsize.sty
241 longtable.dtx ...source/latex/tools/longtable.dtx
242 verbatim.dtx ...source/latex/tools/verbatim.dtx
243
244 longtable.sty ...tex/latex/tools/longtable.sty
245 longtable.dvi ...doc/latex/tools/longtable.dvi
246 verbatim.sty ...tex/latex/tools/verbatim.sty
247 verbatim.dvi ...doc/latex/tools/verbatim.dvi
248
249 Frankenstein files:
250
251 File Location: TDS:/texmf/...
252 ...........................................................
253 achicago.bst .../bibtex/bst/achicago
254 achicago-bst.dvi .../doc/bibtex
255 *.cfg *.sty .../tex/latex/frankenstein
256 *.dvi .../doc/latex/frankenstein
257 <all other files> .../source/latex/frankenstein
258
259 CTAN locations
260
261 Frankenstein:
262
263 CTAN:/macros/latex/contrib/supported/frankenstein/*
264
265 Relevant non-Frankenstein packages:
266
267 Package Location: CTAN:/macros/latex/...
268 ...........................................................
269 relsize ...contrib/other/misc/relsize.sty
270 url ...contrib/other/misc/url.sty
271 verbatim ...packages/tools/*
272 longtable ...packages/tools/*
273
274 The LaTeX base distribution:
275
276 CTAN:/macros/latex/base/*
277
278 ----------------------------------------------------------------------
279 MAKEFILE TECHNICAL NOTES
280
281 I have tested the Make system with Debian GNU/Linux and Make v3.77.
282 If certain commands or options need to be altered to work with your
283 setup, check the top of Frankenfile where a lot of commands are
284 abstracted in variables. It's best to reset the variables at the top
285 of Makefile, on the Make command line, or in your environment rather
286 than changing Frankenfile. Please write me describing any problems
287 you encounter. GNU Make is available at ftp://gnu.mit.edu/pub/gnu/.
288
289
290 Frankenbundle
291
292 The Frankenstein Makefiles also make a great way for you to maintain
293 and distribute your own LaTeX packages and classes and BibTeX
294 bibstyles. I distribute them with some documentation and necessary
295 additional files as the Frankenbundle suite on
296 CTAN:/support/frankenbundle.
297
298 ----------------------------------------------------------------------
299 TERMINOLOGY
300
301 fileset: A group of files related to a single LaTeX package, LaTeX
302 class, or BibTeX bibliography style and any accompanying
303 option or configuration files. The files in a package or
304 class fileset have the same root name but different
305 filename extensions. In bibstyle filesets, some root names
306 differ by a "-bst" suffix.
307
308 CTAN: Comprehensive TeX Archive Network: a system of TeX-related
309 file archives available via FTP (see
310 ftp://ctan.tug.org/tex-archive/CTAN.sites) and often
311 reproduced on CDROMs.
312
313 TDS: TeX Directory Structure: a recommended directory structure
314 for TeX installations. See
315 ftp://ctan.tug.org/tex-archive/tds.
316
317 ----------------------------------------------------------------------
318 AUTHOR
319
320 Matt Swift
321 <[email protected]>