Debian Codegraph @

texmf-dist/doc/latex/halloweenmath/00readme.txt

raw
1
2 This is file `00readme.txt'.
3 (Start your first tour of the halloweenmath package by reading this file.)
4
5 This file is part of a work named "halloweenmath package".
6
7 Copyright (C) 2019 by Gustavo MEZZETTI.
8
9 The halloweenmath package may be distributed and/or modified under
10 the conditions of the LaTeX Project Public License, either version 1.3
11 of this license or (at your option) any later version.
12 The latest version of this license is in
13 http://www.latex-project.org/lppl.txt
14 and version 1.3 or later is part of all distributions of LaTeX
15 version 2005/12/01 or later.
16
17 The halloweenmath package has the LPPL maintenance status
18 "author-maintained".
19
20 The file `manifest.txt' that comes along with this file specifies
21 what the halloweenmath package consists of; more precisely, it explains
22 how the locutions "Work" and "Compiled Work", used in the LaTeX Project
23 Public License, are to be interpreted in the case of this work.
24
25 This file, after giving a brief description of the halloweenmath
26 package, explains how to install it and how to generate its--alas, still
27 incomplete!--documentation.
28
29 November 1, 2019 (vers. 0.11)
30
31
32
33 CONTENTS
34 ========
35
36 - A dozen lines description of the software
37 - Installation in a snapshot
38 - Checking the contents of the distribution
39 - How to install the halloweenmath package
40 - How to generate the documentation
41 - The makefile
42
43
44
45 A DOZEN LINES DESCRIPTION OF THE SOFTWARE
46 =========================================
47
48 The halloweenmath package originated from a question asked for enjoyment
49 on TeX-LaTeX Stack Exchange <http://tex.stackexchange.com> by the user
50 cfr (see <http://tex.stackexchange.com/q/336768/69818>); it defines a
51 handful of commands for typesetting mathematical symbols of various
52 kinds, ranging from "large" operators to extensible arrow-like relations
53 and growing arrow-like math accents, that all draw from the classic
54 Halloween-related iconography (pumpkins, witches, ghosts, cats, and so
55 on) while being, at the same time, seamlessly integrated within the rest
56 of the mathematics produced by (AmS-)LaTeX.
57
58
59
60 INSTALLATION IN A SNAPSHOT
61 ==========================
62
63 The halloweenmath package is distributed in the usual .dtx + .ins
64 format. The main file is `halloweenmath.dtx', with installation script
65 `halloweenmath.ins'. Do the usual things to install it and to generate
66 the documentation. If you don't know what the usual things are, read
67 below. Note that in order to generate the documentation you should do
68 the following:
69
70 latex; latex; makeindex (.idx); makeindex (.glo); latex; latex.
71
72
73
74 CHECKING THE CONTENTS OF THE DISTRIBUTION
75 =========================================
76
77 Before installing the halloweenmath package and generating its
78 documentation, it is a good idea to read the file `manifest.txt', which
79 lists all the files that make up the distribution, to check that you
80 don't lack any of them (in particular, that you have the file
81 `manifest.txt' itself!). If you do find that some files are missing,
82 don't hesitate to complain to the distributor from whom you obtained the
83 others: this person, company, or institution is infringing the copyright
84 (actually, the copyleft) of the halloweenmath package. Please remember,
85 however, that in order to comply with the copyright a distributor is
86 only requested to supply the files listed in `manifest.txt' under the
87 title "MEANING OF THE TERM `Work'", but not those listed under "MEANING
88 OF THE TERM `Compiled Work'".
89
90
91
92 HOW TO INSTALL THE HALLOWEENMATH PACKAGE
93 ========================================
94
95 Note that in many pre-packaged TeX distributions, like MikTeX and TeX
96 Live, the halloweenmath package could be already installed, in which
97 case you can use it straight away.
98
99 If you need to install the halloweenmath package yourself, follow these
100 steps (but also see the section titled "The makefile", below):
101
102 1) Make sure that the files `halloweenmath.dtx' and `halloweenmath.ins'
103 are placed in the same directory; below, we shall indicate this
104 directory as "the current directory".
105
106 2) Run LaTeX (or plain TeX) once on the file `halloweenmath.ins'. This
107 will generate, in the current directory, the following LaTeX input file:
108
109 halloweenmath.sty
110
111 3) Move the file listed in 2) from the current directory to a LaTeX
112 input directory--see b) and c) below.
113
114 4) If you wish, delete the file `halloweenmath.log' to save disk space.
115
116 Installation is now finished! The following comments may be useful:
117
118 a) The above listing of the files you need to move is also displayed on
119 the terminal at the end of the run of the file `halloweenmath.ins'.
120
121 b) The documentation of your TeX installation should tell you how to
122 find the LaTeX input directory/ies, and probably also how to create new
123 LaTeX input directories reserved to hold your private classes and
124 packages.
125
126 c) If you are not able to find the LaTeX input directories, or you are
127 not allowed to modify them and cannot create your personal LaTeX input
128 directories, do this: place all the files listed under 2) above in any
129 directory of your choice (a newly created, empty directory would be the
130 best choice, however); then put all the LaTeX source files that you want
131 to typeset using the halloweenmath package in that same directory. Of
132 course, this solution becomes impractical if the number of such source
133 files exceeds a dozen or so; but for a few files you can do this way, at
134 least until you decide to finally learn how to create your private LaTeX
135 input directories! :-)
136
137 d) You may also choose to install the halloweenmath package inside the
138 main texmf tree of your TeX installation (as opposed to installing it
139 inside a directory devoted to private classes and packages). In this
140 case, note that the--now accepted--TDS-compliant location for the
141 halloweenmath package, that is, the directory inside which you should
142 put all the files listed in 2), is
143
144 $TEXMF/tex/latex/halloweenmath/
145
146 The documentation, on the other hand, should be stored inside
147
148 $TEXMF/doc/latex/halloweenmath/
149
150 Of course, in order to do so you must have appropriate access
151 priviledges to the texmf tree of your site.
152
153
154
155 HOW TO GENERATE THE DOCUMENTATION
156 =================================
157
158 A shortened form of the documentation, already typeset and packaged in
159 PDF, is provided in the file `halloweenmath-doc.pdf' that you might have
160 found on some sites (e.g., the CTAN sites). This file, however, is not
161 part of the halloweenmath package and distributors are not requested to
162 include it among the distributed files. Moreover, it does not contain
163 any implementation notes (in which most users, though, are not at all
164 interested).
165
166 If the distributor from whom you obtained the halloweenmath package did
167 not provide the file `halloweenmath-doc.pdf', or if you want the full
168 documentation, complete with all the available implementation notes
169 (but, alas, still unfinished for many respects), you can generate it
170 following these steps (but also see the section titled "The makefile",
171 below):
172
173 1) Run LaTeX (_not_ plain TeX) _twice_ on the file `halloweenmath.dtx'.
174 This, among other things, will generate the files `halloweenmath.idx'
175 and `halloweenmath.glo' in the same directory as the file
176 `halloweenmath.dtx'.
177
178 2) Run MakeIndex on the file `halloweenmath.idx' obtained in 1), using
179 the style file `gind.ist', which is part of the standard LaTeX
180 distribution.
181
182 3) Run MakeIndex on the file `halloweenmath.glo' obtained in 1), using
183 the style file `gglo.ist', which is part of the standard LaTeX
184 distribution, and specifying the file `halloweenmath.gls' as the output
185 file.
186
187 4) Run LaTeX _two_ more times on the file `halloweenmath.dtx'.
188
189 5) If you wish, you can now delete the following files, to save disk
190 space:
191
192 halloweenmath.aux
193 halloweenmath.glg
194 halloweenmath.glo
195 halloweenmath.gls
196 halloweenmath.hd
197 halloweenmath.idx
198 halloweenmath.ilg
199 halloweenmath.ind
200 halloweenmath.lof
201 halloweenmath.log
202 halloweenmath.out
203 halloweenmath.toc
204
205 After step 4), you should get the documentation in DVI format in the
206 file `halloweenmath.dvi', located in the same directory as
207 `halloweenmath.dtx', with all indexes, table of contents, etc.
208 correctly set.
209
210 However, if you are neurotic (as I am) and have a fast computer, you
211 could run LaTeX three or four times, instead of two, in step 1)... :-)
212
213 Other LaTeX typesetting engines should work in the same way, perhaps
214 producing the output in a different format; for example, you may use
215 pdflatex in place of LaTeX to obtain the documentation in PDF.
216
217
218
219 THE MAKEFILE
220 ============
221
222 A (quite trivial!) makefile that "knows" how to produce the
223 documentation is offered along with the halloweenmath package. Although
224 it is not a required part of the distribution (as per LPPL), you may
225 find that some distributors supply it all the same (I hope the CTAN
226 sites will do so). With this makefile in the same directory as
227 `halloweenmath.dtx', the shell command
228
229 make doc
230
231 will take all the necessary actions to produce the full documentation
232 (in PDF; the modifications you need to introduce into the makefile in
233 order to obtain DVI output should be quite obvious, however).
234
235 The same makefile can also be used to extract the "executable" package
236 file: simply issue the command
237
238 make code
239
240 at the shell prompt; whereas
241
242 make
243
244 will _both_ extract the code _and_ typeset the documentation. Type
245
246 make help
247
248 for more information.
249
250
251 Have fun with the halloweenmath package!
252