| 1 |
The gmverb package |
| 2 |
is a work of Grzegorz `Natror' Murzynowski, |
| 3 |
<natror at o2 dot pl> |
| 4 |
|
| 5 |
|
| 6 |
1. Copyright 2006, 2007, 2008, 2009, 2010 by Grzegorz `Natror' Murzynowski |
| 7 |
|
| 8 |
This program is subject to the LaTeX Project Public License. |
| 9 |
See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html |
| 10 |
for the details of that license. |
| 11 |
|
| 12 |
|
| 13 |
2. Introduction |
| 14 |
|
| 15 |
The gmverb.sty package redefines the \verb command and the {verbatim} |
| 16 |
environment so that the verbatim text can break into lines, with % as |
| 17 |
a `hyphen'. Moreover, it allows the user to define his/her own |
| 18 |
{verbatim}-like environments provided their contents would be not |
| 19 |
horribly long (as long as a macro's argument may be at most). |
| 20 |
|
| 21 |
This package also allows the user to declare a chosen char(s) as |
| 22 |
a `short verb' e.g., to write |\a\verbatim\example| instead of |
| 23 |
\verb|\a\verbatim\example|. |
| 24 |
|
| 25 |
|
| 26 |
3. Installation |
| 27 |
|
| 28 |
Unpack the gmverb-tds.zip in a texmf directory or put the gmverb.sty |
| 29 |
somewhere in the texmf/tex/latex branch on your own. Creating a |
| 30 |
/texmf/tex/latex/gm directory may be advisable if you consider using |
| 31 |
other packages written by me. |
| 32 |
|
| 33 |
Then you should refresh your TeX distribution's files' |
| 34 |
database most probably. |
| 35 |
|
| 36 |
|
| 37 |
4. Contents |
| 38 |
|
| 39 |
The distribution of this package consists of the following three files. |
| 40 |
|
| 41 |
gmverb.sty |
| 42 |
README |
| 43 |
gmverb.pdf |
| 44 |
gmverb-tds.zip |
| 45 |
|
| 46 |
5. Documentation |
| 47 |
|
| 48 |
The last of the above files (the .pdf) is a documentation compiled |
| 49 |
from the .sty file by running LaTeX on the gmverb.sty file twice: |
| 50 |
xelatex gmverb.sty |
| 51 |
in the directory you wish the documentation to be in, |
| 52 |
you don't have copy the .sty file there---TeX will find it, |
| 53 |
then MakeIndex on the gmverb.idx file, and then LaTeX |
| 54 |
on gmverbDoc.tex once more. |
| 55 |
|
| 56 |
MakeIndex shell command: |
| 57 |
makeindex -r gmverbDoc |
| 58 |
The -r switch is to forbid MakeIndex make implicit ranges since the |
| 59 |
(code line) numbers will be hyperlinks |
| 60 |
|
| 61 |
Compiling of the documentation requires the packages: gmdoc |
| 62 |
(gmdoc.sty and gmdocc.cls), gmverb.sty, gmutils.sty and also some |
| 63 |
standard packages: hyperref.sty, xcolor.sty, geometry.sty, |
| 64 |
multicol.sty, lmodern.sty, fontenc.sty that should have been installed |
| 65 |
on your computer by default. |
| 66 |
|
| 67 |
If you have not installed the mwart.cls class (available on CTAN in |
| 68 |
mwcls package), the result of your compilation may differ a bit from |
| 69 |
the .pdf provided in this .zip archive in formattings: If you have not |
| 70 |
installed mwart.cls, the standard article.cls will be used. |