| Download
Project: Peter's Files
Views: 3893Visibility: Unlisted (only visible to those who know the link)
Image: ubuntu18041This is file `00readme.txt'.2(Start your first tour of the halloweenmath package by reading this file.)34This file is part of a work named "halloweenmath package".56Copyright (C) 2019 by Gustavo MEZZETTI.78The halloweenmath package may be distributed and/or modified under9the conditions of the LaTeX Project Public License, either version 1.310of this license or (at your option) any later version.11The latest version of this license is in12http://www.latex-project.org/lppl.txt13and version 1.3 or later is part of all distributions of LaTeX14version 2005/12/01 or later.1516The halloweenmath package has the LPPL maintenance status17"author-maintained".1819The file `manifest.txt' that comes along with this file specifies20what the halloweenmath package consists of; more precisely, it explains21how the locutions "Work" and "Compiled Work", used in the LaTeX Project22Public License, are to be interpreted in the case of this work.2324This file, after giving a brief description of the halloweenmath25package, explains how to install it and how to generate its--alas, still26incomplete!--documentation.2728November 1, 2019 (vers. 0.11)29303132CONTENTS33========3435- A dozen lines description of the software36- Installation in a snapshot37- Checking the contents of the distribution38- How to install the halloweenmath package39- How to generate the documentation40- The makefile41424344A DOZEN LINES DESCRIPTION OF THE SOFTWARE45=========================================4647The halloweenmath package originated from a question asked for enjoyment48on TeX-LaTeX Stack Exchange <http://tex.stackexchange.com> by the user49cfr (see <http://tex.stackexchange.com/q/336768/69818>); it defines a50handful of commands for typesetting mathematical symbols of various51kinds, ranging from "large" operators to extensible arrow-like relations52and growing arrow-like math accents, that all draw from the classic53Halloween-related iconography (pumpkins, witches, ghosts, cats, and so54on) while being, at the same time, seamlessly integrated within the rest55of the mathematics produced by (AmS-)LaTeX.56575859INSTALLATION IN A SNAPSHOT60==========================6162The halloweenmath package is distributed in the usual .dtx + .ins63format. The main file is `halloweenmath.dtx', with installation script64`halloweenmath.ins'. Do the usual things to install it and to generate65the documentation. If you don't know what the usual things are, read66below. Note that in order to generate the documentation you should do67the following:6869latex; latex; makeindex (.idx); makeindex (.glo); latex; latex.70717273CHECKING THE CONTENTS OF THE DISTRIBUTION74=========================================7576Before installing the halloweenmath package and generating its77documentation, it is a good idea to read the file `manifest.txt', which78lists all the files that make up the distribution, to check that you79don't lack any of them (in particular, that you have the file80`manifest.txt' itself!). If you do find that some files are missing,81don't hesitate to complain to the distributor from whom you obtained the82others: this person, company, or institution is infringing the copyright83(actually, the copyleft) of the halloweenmath package. Please remember,84however, that in order to comply with the copyright a distributor is85only requested to supply the files listed in `manifest.txt' under the86title "MEANING OF THE TERM `Work'", but not those listed under "MEANING87OF THE TERM `Compiled Work'".88899091HOW TO INSTALL THE HALLOWEENMATH PACKAGE92========================================9394Note that in many pre-packaged TeX distributions, like MikTeX and TeX95Live, the halloweenmath package could be already installed, in which96case you can use it straight away.9798If you need to install the halloweenmath package yourself, follow these99steps (but also see the section titled "The makefile", below):1001011) Make sure that the files `halloweenmath.dtx' and `halloweenmath.ins'102are placed in the same directory; below, we shall indicate this103directory as "the current directory".1041052) Run LaTeX (or plain TeX) once on the file `halloweenmath.ins'. This106will generate, in the current directory, the following LaTeX input file:107108halloweenmath.sty1091103) Move the file listed in 2) from the current directory to a LaTeX111input directory--see b) and c) below.1121134) If you wish, delete the file `halloweenmath.log' to save disk space.114115Installation is now finished! The following comments may be useful:116117a) The above listing of the files you need to move is also displayed on118the terminal at the end of the run of the file `halloweenmath.ins'.119120b) The documentation of your TeX installation should tell you how to121find the LaTeX input directory/ies, and probably also how to create new122LaTeX input directories reserved to hold your private classes and123packages.124125c) If you are not able to find the LaTeX input directories, or you are126not allowed to modify them and cannot create your personal LaTeX input127directories, do this: place all the files listed under 2) above in any128directory of your choice (a newly created, empty directory would be the129best choice, however); then put all the LaTeX source files that you want130to typeset using the halloweenmath package in that same directory. Of131course, this solution becomes impractical if the number of such source132files exceeds a dozen or so; but for a few files you can do this way, at133least until you decide to finally learn how to create your private LaTeX134input directories! :-)135136d) You may also choose to install the halloweenmath package inside the137main texmf tree of your TeX installation (as opposed to installing it138inside a directory devoted to private classes and packages). In this139case, note that the--now accepted--TDS-compliant location for the140halloweenmath package, that is, the directory inside which you should141put all the files listed in 2), is142143$TEXMF/tex/latex/halloweenmath/144145The documentation, on the other hand, should be stored inside146147$TEXMF/doc/latex/halloweenmath/148149Of course, in order to do so you must have appropriate access150priviledges to the texmf tree of your site.151152153154HOW TO GENERATE THE DOCUMENTATION155=================================156157A shortened form of the documentation, already typeset and packaged in158PDF, is provided in the file `halloweenmath-doc.pdf' that you might have159found on some sites (e.g., the CTAN sites). This file, however, is not160part of the halloweenmath package and distributors are not requested to161include it among the distributed files. Moreover, it does not contain162any implementation notes (in which most users, though, are not at all163interested).164165If the distributor from whom you obtained the halloweenmath package did166not provide the file `halloweenmath-doc.pdf', or if you want the full167documentation, complete with all the available implementation notes168(but, alas, still unfinished for many respects), you can generate it169following these steps (but also see the section titled "The makefile",170below):1711721) Run LaTeX (_not_ plain TeX) _twice_ on the file `halloweenmath.dtx'.173This, among other things, will generate the files `halloweenmath.idx'174and `halloweenmath.glo' in the same directory as the file175`halloweenmath.dtx'.1761772) Run MakeIndex on the file `halloweenmath.idx' obtained in 1), using178the style file `gind.ist', which is part of the standard LaTeX179distribution.1801813) Run MakeIndex on the file `halloweenmath.glo' obtained in 1), using182the style file `gglo.ist', which is part of the standard LaTeX183distribution, and specifying the file `halloweenmath.gls' as the output184file.1851864) Run LaTeX _two_ more times on the file `halloweenmath.dtx'.1871885) If you wish, you can now delete the following files, to save disk189space:190191halloweenmath.aux192halloweenmath.glg193halloweenmath.glo194halloweenmath.gls195halloweenmath.hd196halloweenmath.idx197halloweenmath.ilg198halloweenmath.ind199halloweenmath.lof200halloweenmath.log201halloweenmath.out202halloweenmath.toc203204After step 4), you should get the documentation in DVI format in the205file `halloweenmath.dvi', located in the same directory as206`halloweenmath.dtx', with all indexes, table of contents, etc.207correctly set.208209However, if you are neurotic (as I am) and have a fast computer, you210could run LaTeX three or four times, instead of two, in step 1)... :-)211212Other LaTeX typesetting engines should work in the same way, perhaps213producing the output in a different format; for example, you may use214pdflatex in place of LaTeX to obtain the documentation in PDF.215216217218THE MAKEFILE219============220221A (quite trivial!) makefile that "knows" how to produce the222documentation is offered along with the halloweenmath package. Although223it is not a required part of the distribution (as per LPPL), you may224find that some distributors supply it all the same (I hope the CTAN225sites will do so). With this makefile in the same directory as226`halloweenmath.dtx', the shell command227228make doc229230will take all the necessary actions to produce the full documentation231(in PDF; the modifications you need to introduce into the makefile in232order to obtain DVI output should be quite obvious, however).233234The same makefile can also be used to extract the "executable" package235file: simply issue the command236237make code238239at the shell prompt; whereas240241make242243will _both_ extract the code _and_ typeset the documentation. Type244245make help246247for more information.248249250Have fun with the halloweenmath package!251252253254