| 1 |
|
| 2 |
This is file `00readme.txt'. |
| 3 |
(Start your first tour of the bullcntr package by reading this file.) |
| 4 |
|
| 5 |
This file is part of a work named "bullcntr package". |
| 6 |
|
| 7 |
Copyright (C) 2007 by Gustavo MEZZETTI <[email protected]>. |
| 8 |
|
| 9 |
The bullcntr package may be distributed and/or modified under the |
| 10 |
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 bullcntr package has the LPPL maintenance status |
| 18 |
"author-maintained". |
| 19 |
|
| 20 |
The file `manifest.txt' that comes along with this file specifies what the |
| 21 |
bullcntr package consists of; more precisely, it explains how the locutions |
| 22 |
"Work" and "Compiled Work", used in the LaTeX Project Public License, are |
| 23 |
to be interpreted in the case of this work. |
| 24 |
|
| 25 |
This file, after giving a brief description of the bullcntr package, |
| 26 |
explains how to install it and how to generate its documentation. |
| 27 |
|
| 28 |
October 10, 2008 (vers. 0.04) |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
CONTENTS |
| 33 |
======== |
| 34 |
|
| 35 |
- Brief description of the software |
| 36 |
- Installation in a snapshot |
| 37 |
- Checking the contents of the distribution |
| 38 |
- How to install the bullcntr package |
| 39 |
- How to generate the main documentation |
| 40 |
- Ancillary files and documentation |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
BRIEF DESCRIPTION OF THE SOFTWARE |
| 45 |
================================= |
| 46 |
|
| 47 |
This software is named after its primary component, but it actually |
| 48 |
contains _two_ packages: the bullcntr package and the bullenum package. |
| 49 |
|
| 50 |
The bullcntr package defines the command "\bullcntr", which can be thought |
| 51 |
of as an analogue of the "\fnsymbol" command: like the latter, it displays |
| 52 |
the value of a counter lying between 1 and 9, but uses, for the purpose, a |
| 53 |
regular pattern of bullets. |
| 54 |
|
| 55 |
The bullenum package--which also loads the bullcntr package as part of its |
| 56 |
own initialization--defines the environment "bullenum", a list-making |
| 57 |
environment similar to "enumerate", which numbers its item using the |
| 58 |
"\bullcntr" command. Most users will simply use this package and never |
| 59 |
call the bullcntr package directly. |
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
INSTALLATION IN A SNAPSHOT |
| 64 |
========================== |
| 65 |
|
| 66 |
The bullcntr package is distributed in the usual .dtx + .ins format. The |
| 67 |
main file is `bullcntr.dtx', with installation script `bullcntr.ins'. Do |
| 68 |
the usual things to install it and to generate the documentation. If you |
| 69 |
do not know what the usual things are, read below. Note that in order to |
| 70 |
generate the documentation you should do the following: |
| 71 |
|
| 72 |
latex; latex; makeindex (.idx); makeindex (.glo); latex; latex. |
| 73 |
|
| 74 |
The distribution also includes three files with extension `.tex': these are |
| 75 |
sample source files that illustrate how to use the abovementioned packages, |
| 76 |
and should simply be copied to the same location where the documentation is |
| 77 |
put. |
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
CHECKING THE CONTENTS OF THE DISTRIBUTION |
| 82 |
========================================= |
| 83 |
|
| 84 |
Before installing the bullcntr package and generating its documentation, it |
| 85 |
is a good idea to read the file `manifest.txt', which lists all the files |
| 86 |
that make up the distribution, to check that you don't lack any of them (in |
| 87 |
particular, that you have the file `manifest.txt' itself!). If you do find |
| 88 |
that some files are missing, don't hesitate to complain to the distributor |
| 89 |
from whom you obtained the others: this person, company, or institution is |
| 90 |
infringing the copyright (actually, the copyleft) of the bullcntr package. |
| 91 |
Please remember, however, that in order to comply with the copyright a |
| 92 |
distributor is only requested to supply the files listed in `manifest.txt' |
| 93 |
under the title "MEANING OF THE TERM `Work'", but not those listed under |
| 94 |
"MEANING OF THE TERM `Compiled Work'". |
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
HOW TO INSTALL THE BULLCNTR PACKAGE |
| 99 |
=================================== |
| 100 |
|
| 101 |
To install the bullcntr package, follow these steps: |
| 102 |
|
| 103 |
1) Make sure that the files `bullcntr.dtx' and `bullcntr.ins' are placed in |
| 104 |
the same directory; below, we shall indicate this directory as "the current |
| 105 |
directory". |
| 106 |
|
| 107 |
2) Run LaTeX (or Plain TeX) once on the file `bullcntr.ins'. This will |
| 108 |
generate, in the current directory, the following two LaTeX input files: |
| 109 |
|
| 110 |
bullcntr.sty |
| 111 |
bullenum.sty |
| 112 |
|
| 113 |
3) Move the files listed in 2) from the current directory to a LaTeX input |
| 114 |
directory--see b) and c) below. |
| 115 |
|
| 116 |
4) If you wish, delete the file `bullcntr.log' to save disk space. |
| 117 |
|
| 118 |
Installation is now finished! The following comments may be useful: |
| 119 |
|
| 120 |
a) The above listing of the files you need to move is also displayed on the |
| 121 |
terminal at the end of the run of the file `bullcntr.ins'. |
| 122 |
|
| 123 |
b) The documentation of your TeX installation should tell you how to find |
| 124 |
the LaTeX input directory/ies, and probably also how to create new LaTeX |
| 125 |
input directories reserved to hold your private classes and packages. If |
| 126 |
your TeX installation offers you the chance of defining your private LaTeX |
| 127 |
input directories, I recommend you exploit this possibility and place the |
| 128 |
generated files into such a directory. |
| 129 |
|
| 130 |
c) If you are not able to find the LaTeX input directories, or you are not |
| 131 |
allowed to modify them and cannot create your personal LaTeX input |
| 132 |
directories, do this: place the files listed under 2) above in any |
| 133 |
directory of your choice (a newly created, empty directory would be the |
| 134 |
best choice, however); then put all the LaTeX source files that you want to |
| 135 |
typeset using the bullcntr package in that same directory. Of course, this |
| 136 |
solution becomes impractical if the number of such source files exceeds a |
| 137 |
dozen or so; but for a few files you can do this way, at least until you |
| 138 |
decide to finally learn how to create your private LaTeX input directories! |
| 139 |
:-) |
| 140 |
|
| 141 |
d) You may also choose to install the bullcntr package within the main |
| 142 |
texmf tree of your TeX installation (as opposed to installing it inside a |
| 143 |
directory devoted to private classes and packages). In this case, note |
| 144 |
that the **proposed** (but not yet approved!) TDS-compliant location for |
| 145 |
the bullcntr package, that is, the directory inside which you should put |
| 146 |
the files listed in 2), is |
| 147 |
|
| 148 |
$TEXMF/tex/latex/bullcntr/ |
| 149 |
|
| 150 |
The **proposed** location for the documentation, on the other hand, is |
| 151 |
|
| 152 |
$TEXMF/doc/latex/bullcntr/ |
| 153 |
|
| 154 |
We shall describe below in detail which files should be put in this place. |
| 155 |
Of course, in order to do all this you must have appropriate access |
| 156 |
priviledges to the texmf tree of your site. |
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
HOW TO GENERATE THE MAIN DOCUMENTATION |
| 161 |
====================================== |
| 162 |
|
| 163 |
An alternative form of the documentation, already typeset and packaged in |
| 164 |
PDF format, is given in the file `bullcntr-man.pdf' that you might have |
| 165 |
found on some sites (e.g., the CTAN sites). This file, however, is not |
| 166 |
part of the bullcntr package and distributors are not requested to include |
| 167 |
it among the distributed files. Moreover, it does not contain any |
| 168 |
implementation notes (in which most users are not at all interested). |
| 169 |
|
| 170 |
If the distributor from whom you obtained the bullcntr package did not |
| 171 |
provide the file `bullcntr-man.pdf', or if you want the full documentation, |
| 172 |
complete with all implementation notes, you can generate it by following |
| 173 |
these steps: |
| 174 |
|
| 175 |
1) Run LaTeX (_not_ Plain TeX) _twice_ on the file `bullcntr.dtx'. This, |
| 176 |
among other things, will generate the files `bullcntr.idx' and |
| 177 |
`bullcntr.glo' in the same directory as the file `bullcntr.dtx'. |
| 178 |
|
| 179 |
2) Run MakeIndex on the file `bullcntr.idx' obtained in 1), using the style |
| 180 |
file `gind.sty', which is part of the standard LaTeX distribution. |
| 181 |
|
| 182 |
3) Run MakeIndex on the file `bullcntr.glo' obtained in 1), using the style |
| 183 |
file `gglo.sty', which is part of the standard LaTeX distribution. |
| 184 |
|
| 185 |
4) Run LaTeX _two_ more times on the file `bullcntr.dtx'. |
| 186 |
|
| 187 |
5) If you wish, you may now delete the following files, to save disk space: |
| 188 |
|
| 189 |
bullcntr.aux |
| 190 |
bullcntr.glo |
| 191 |
bullcntr.gls |
| 192 |
bullcntr.idx |
| 193 |
bullcntr.ilg |
| 194 |
bullcntr.ind |
| 195 |
bullcntr.lof |
| 196 |
bullcntr.log |
| 197 |
bullcntr.toc |
| 198 |
|
| 199 |
After step 4), you should get the documentation in DVI format in the file |
| 200 |
`bullcntr.dvi', located in the same directory as `bullcntr.dtx', with all |
| 201 |
indexes, table of contents, etc. correctly set. |
| 202 |
|
| 203 |
However, if you are neurotic (as I am), you could run LaTeX three or four |
| 204 |
times, instead of two, in step 1)... :-) |
| 205 |
|
| 206 |
Other LaTeX typesetting engines should work in the same way, perhaps |
| 207 |
producing the output in a different format; for example, you may use |
| 208 |
pdflatex in place of LaTeX to obtain the documentation in PDF format |
| 209 |
(doing so, of course, produces a file named `bullcntr.pdf'). |
| 210 |
|
| 211 |
When you have typeset the documentation, in either format (or in both |
| 212 |
formats, why not), you might want to install it in the main texmf tree of |
| 213 |
your site; as said above, |
| 214 |
|
| 215 |
$TEXMF/doc/latex/bullcntr/ |
| 216 |
|
| 217 |
is the **proposed** location for this purpose, that is, the directory |
| 218 |
inside which you should put the files `bullcntr.dvi' and/or `bullcntr.pdf', |
| 219 |
or equivalent files in other formats, should you have produced any. This |
| 220 |
is also the place where ancillary files and documentation, described in the |
| 221 |
next section, should be put. |
| 222 |
|
| 223 |
|
| 224 |
|
| 225 |
ANCILLARY FILES AND DOCUMENTATION |
| 226 |
================================= |
| 227 |
|
| 228 |
If you want to distribute a "Compiled Work" (see manifest.txt), you are |
| 229 |
bound to make the following files available to your users: |
| 230 |
|
| 231 |
00readme.txt |
| 232 |
manifest.txt |
| 233 |
bullcntr-man.tex |
| 234 |
bullcntr-sam.tex |
| 235 |
bullenum-sam.tex |
| 236 |
|
| 237 |
These files are best placed together with the compiled documentation |
| 238 |
(files `bullcntr.dvi' and/or `bullcntr.pdf'), possibly under |
| 239 |
|
| 240 |
$TEXMF/doc/latex/bullcntr/ |
| 241 |
|
| 242 |
Any compiled version of the above files that you wish to include in your |
| 243 |
distribution of a "Compiled Work" (e.g., the file `bullcntr-man.pdf') also |
| 244 |
belongs here. Remember, however, that you are not obliged to distribute |
| 245 |
such compiled files, except--always in the case of a "Compiled Work"--for |
| 246 |
the result of typesetting `bullcntr.dtx'; for other files, distributing |
| 247 |
their sources suffices to comply with the license. Once again, see |
| 248 |
`manifest.txt' and the LaTeX Project Public License for precise |
| 249 |
instructions. |
| 250 |
|
| 251 |
|
| 252 |
|
| 253 |
Have fun with the bullcntr package! |
| 254 |
|