PassiveTeX
3. Installation
The PassiveTeX macros should be downloaded (as a ZIP file,
passivetex.zip), unpacked, and installed in a TeX system (eg in
texmf/tex/latex/passivetex
) in the normal place where you put
macros. Consult your local documentation or local expert if you do not know
how to install a new package; on a web2c-based system, don't forget to
run mktexlsr
when you have the files in place,
to update the file lookup table.
What about that pdfxmltex
command we saw in the last section?
You don't have it on your system? You need to download
xmltex from CTAN
and install it in the your TeX system.
It too is just a set of TeX macro packages.
IMPORTANT NOTE. You need a
copy of xmltex.tex latex than 2001/11/30.
Now you can use xmltex on a file called (eg)
teiu5.fo
in one of two ways:
- Build an
xmltex
format file for pdfTeX with
pdftex -ini "&pdflatex" pdfxmltex.ini
and process your file with
pdflatex "&pdfxmltex" teiu5.fo
The command pdfxmltex
used above is just a script
which does
tex -fmt=pdfxmltex -progname=pdfxmltex
Or,
-
Make a wrapper file called (eg)
teiu5.tex
looking like this:
\def\xmlfile{teiu5.fo}
\input xmltex
and run pdfTeX on it as normal with
pdflatex teiu5.tex
Do not worry,
xmltex
knows how to find the PassiveTeX macros as
it needs them. You will likely need to increase TeX memory
values (in the file
texmf.cnf
if you use a Web2c-based TeX);
I use:
main_memory = 2500000
param_size = 1500
stack_size = 1500
hash_extra = 50000
string_vacancies = 45000
pool_free = 47500
nest_size = 500
save_size = 10000
pool_size = 500000
max_strings = 55000
For reference, the PassiveTeX package consists of the following files:
NOTE: TeX has a limit
on the length of line it can read,
and some .fo files you generate may cause
TeX to die with an message about increasing buf_size.
If you get that, edit your
texmf.cnf
file, increase the size of buf_size
(mine is
200000), and remake any format files.
3.1. LaTeX package dependencies
This setup assumes you have a decent modern TeX setup. The TeX Live 6 CD-ROM
is what I use, and it is up to date
(see http://www.tug.org/texlive/).
Here is a
list of the packages loaded in a typical run of
PassiveTeX, with their version numbers where known:
amsbsy.sty | 1999/11/29 v1.2d |
amsfonts.sty | 1997/09/17 v2.2e |
amsgen.sty | 1999/11/30 v2.0 |
amsmath.sty | 2000/03/29 v2.08 AMS math features |
amsopn.sty | 1999/12/14 v2.01 operator names |
amssymb.sty | 1996/11/03 v2.2b |
amstext.sty | 1999/11/15 v2.0 |
array.sty | 1998/05/13 v2.3m Tabular extension package (FMi) |
article.cls | 1999/09/10 v1.4a Standard LaTeX document class |
bm.sty | 1999/07/05 v1.0g Bold Symbol Support (DPC/FMi) |
color.sty | 1999/02/16 v1.0i Standard LaTeX Color (DPC) |
fontenc.sty | (version not available) |
graphics.sty | 1999/02/16 v1.0l Standard LaTeX Graphics (DPC,SPQR) |
graphicx.sty | 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) |
hpdftex.def | 2000/05/08 v6.70f Hyperref driver for pdfTeX |
hyperref.sty | 2000/05/08 v6.70f Hypertext links for LaTeX |
ifthen.sty | 1999/09/10 v1.1b Standard LaTeX ifthen package (DPC) |
keyval.sty | 1999/03/16 v1.13 key=value parser (DPC) |
longtable.sty | 1998/05/13 v4.09 Multi-page Table package (DPC) |
multicol.sty | 1999/10/21 v1.5w multicolumn formatting (FMi) |
nameref.sty | 2000/05/08 v2.18 Cross-referencing by name of section |
ot1phv.fd | 2000/01/12 PSNFSS-v8.1 scalable font definitions for OT1/phv. |
pd1enc.def | 2000/05/08 v6.70f Hyperref: PDFDocEncoding definition (HO) |
pifont.sty | 2000/01/12 PSNFSS-v8.1 Pi font support (SPQR) |
rotating.sty | 1997/09/26, v2.13 Rotation package |
size10.clo | 1999/09/10 v1.4a Standard LaTeX file (size option) |
stmaryrd.sty | 1994/03/03 St Mary's Road symbol package |
t1enc.def | 1999/12/08 v1.9x Standard LaTeX file |
t1phv.fd | 2000/01/12 PSNFSS-v8.1 scalable font definitions for T1/phv. |
t1ptm.fd | 2000/01/12 PSNFSS-v8.1 font definitions for T1/ptm. |
t2acmr.fd | 1999/01/07 v1.0 Computer Modern Cyrillic font definitions |
t2aenc.def | 1999/11/29 v1.0c Cyrillic encoding definition file |
t3enc.def | (version not available) |
textcomp.sty | 1999/12/08 v1.9x Standard LaTeX package |
times.sty | 2000/01/12 PSNFSS-v8.1 Times font as default roman (SPQR) |
tipa.sty | 1996/06/10 TIPA version 1.0 |
trig.sty | 1999/03/16 v1.09 sin cos tan (DPC) |
ts1cmr.fd | 1999/05/25 v2.5h Standard LaTeX font definitions |
ts1enc.def | 1998/06/12 v3.0d (jk/car/fm) Standard LaTeX file |
ts1ptm.fd | 2000/01/12 PSNFSS-v8.1 font definitions for TS1/ptm. |
ulem.sty | 1997/04/21 |
umsa.fd | 1995/01/05 v2.2e AMS font definitions |
umsb.fd | 1995/01/05 v2.2e AMS font definitions |
upsy.fd | 2000/01/12 PSNFSS-v8.1 font definitions for U/psy. |
upzd.fd | 2000/01/12 PSNFSS-v8.1 font definitions for U/pzd. |
url.sty | 1999/03/28 ver 1.5x Verb mode for urls, etc. |
Ustmry.fd | (version not available) |
uwasy.fd | 1999/05/13 v1.0iWasy-2 symbol font definitions |
wasysym.sty | 1999/05/13 v1.0i Wasy-2 symbol support package |
Up: Contents Previous: 2. How does it work? Next: 4. LICENSE