| 1 |
The rgltxdoc package |
| 2 |
=========================== |
| 3 |
|
| 4 |
Copyright (C) 2018-2019 Richard Grewe |
| 5 |
|
| 6 |
Released under the [LaTeX Project Public License](http://www.latex-project.org/lppl/) version 1.2 or later |
| 7 |
|
| 8 |
## Purpose |
| 9 |
|
| 10 |
This package combines several other packages and defines additional |
| 11 |
macros and environments for the purpose of documenting LaTeX code. |
| 12 |
The package mainly serves the purpose of combining the preferences |
| 13 |
used in the author's package documentations. However, others can |
| 14 |
use the package as well. Compatibility between versions cannot be |
| 15 |
guaranteed, however. |
| 16 |
|
| 17 |
## Availability |
| 18 |
|
| 19 |
The `rgltxdoc` package is on [CTAN](http://www.ctan.org/pkg/rgltxdoc), |
| 20 |
where you can also find the [documentation](http://mirrors.ctan.org/macros/latex/contrib/rgltxdoc/rgltxdoc.pdf), |
| 21 |
as well as on [github](https://github.com/Ri-Ga/rgltxdoc). |
| 22 |
|
| 23 |
## Manual Installation |
| 24 |
|
| 25 |
The `rgltxdoc` package comes with (at least) the following files |
| 26 |
* rgltxdoc.ins |
| 27 |
* rgltxdoc.dtx |
| 28 |
* README.md |
| 29 |
|
| 30 |
and possibly also with |
| 31 |
* Makefile |
| 32 |
* rgltxdoc.pdf (generated from rgltxdoc.dtx) |
| 33 |
* rgltxdoc.sty (generated from rgltxdoc.dtx) |
| 34 |
|
| 35 |
To install the `rgltxdoc` package, you additionally need |
| 36 |
* docstrip.tex |
| 37 |
|
| 38 |
To build the package (`rgltxdoc.sty`), run one of the following |
| 39 |
``` |
| 40 |
latex rgltxdoc.ins |
| 41 |
make package (needs Makefile) |
| 42 |
``` |
| 43 |
|
| 44 |
Put the resulting `rgltxdoc.sty` somewhere where LaTeX can find it. |
| 45 |
Read the documentation of your LaTeX system to find out where this |
| 46 |
might be. |
| 47 |
|
| 48 |
## Building Documentation |
| 49 |
|
| 50 |
To build the documentation of the `rgltxdoc` package, |
| 51 |
you only need the `rgltxdoc' package itself (including its dependencies). |
| 52 |
|
| 53 |
as well as |
| 54 |
* pdflatex |
| 55 |
|
| 56 |
To build the documentation (`rgltxdoc.pdf`), either run |
| 57 |
``` |
| 58 |
make docs |
| 59 |
``` |
| 60 |
or the following sequence of commands |
| 61 |
``` |
| 62 |
pdflatex rgltxdoc.dtx |
| 63 |
makeindex -s gind.ist -o rgltxdoc.ind rgltxdoc.idx |
| 64 |
makeindex -s gglo.ist -o rgltxdoc.gls rgltxdoc.glo |
| 65 |
pdflatex rgltxdoc.dtx |
| 66 |
pdflatex rgltxdoc.dtx |
| 67 |
``` |
| 68 |
|
| 69 |
Happy TeX'ing |