JadeTeX-3.13

Introduction to JadeTeX

The JadeTeX package is a companion package to the OpenJade DSSSL processor. JadeTeX transforms high level LaTeX macros into DVI/PostScript and Portable Document Format (PDF) forms.

Package information

JadeTeX dependencies

Required

TeX-2.0.2 and OpenJade-1.3.2

Installation of JadeTeX

First, as the root user, make some required modifications to files already installed on the system:

sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
   /usr/share/texmf/web2c/texmf.cnf

You'll need to make two modifications to /usr/share/texmf/web2c/texmf.cnf. First, add the following line under the section titled “ConTeXt is a memory hog...”:

pool_size.context = 750000

Next, add latex, jadetex and pdfjadetex settings using the following command:

cat >> /usr/share/texmf/web2c/texmf.cnf << "EOF"

% The following 3 sections added for JadeTeX

% latex settings
main_memory.latex = 1100000
param_size.latex = 1500
stack_size.latex = 1500
hash_extra.latex = 15000
string_vacancies.latex = 45000
pool_free.latex = 47500
nest_size.latex = 500
save_size.latex = 5000
pool_size.latex = 500000
max_strings.latex = 55000
font_mem_size.latex= 400000

% jadetex settings
main_memory.jadetex = 1500000
param_size.jadetex = 1500
stack_size.jadetex = 1500
hash_extra.jadetex = 50000
string_vacancies.jadetex = 45000
pool_free.jadetex = 47500
nest_size.jadetex = 500
save_size.jadetex = 5000
pool_size.jadetex = 500000
max_strings.jadetex = 55000

% pdfjadetex settings
main_memory.pdfjadetex = 2500000
param_size.pdfjadetex = 1500
stack_size.pdfjadetex = 1500
hash_extra.pdfjadetex = 50000
string_vacancies.pdfjadetex = 45000
pool_free.pdfjadetex = 47500
nest_size.pdfjadetex = 500
save_size.pdfjadetex = 5000
pool_size.pdfjadetex = 500000
max_strings.pdfjadetex = 55000
EOF

Build a new latex.fmt file using the following commands:

cp -v -R /usr/share/texmf/tex/latex/config . &&
cd config &&
tex -ini -progname=latex latex.ini &&
cd ..

Now, as the root user, install the latex.fmt file, then build and install JadeTex using the following commands:

mv /usr/share/texmf/web2c/latex.fmt \
   /usr/share/texmf/web2c/latex.fmt.orig &&
install -v -m644 config/latex.fmt /usr/share/texmf/web2c &&
make install &&
ln -v -sf tex /usr/bin/jadetex &&
ln -v -sf pdftex /usr/bin/pdfjadetex &&
mktexlsr

Command explanations

sed -i -e "s/original texmf.cnf/modified texmf.cnf/": This changes /usr/share/texmf/web2c/texmf.cnf so that if TeX is upgraded, this file won't get overwritten.

ln -v -sf tex ...; ln -v -sf pdftex ...; mktexlsr: The JadeTeX programs are actually just symlinks to the TeX programs. mktexlsr updates TeX's ls-R database used by the libkpathsea library so that TeX knows to use the JadeTeX .fmt files when jadetex or pdfjadetex is called.

Configuring JadeTeX

Config files

jadetex.dtx in the JadeTeX source tree.

Configuration Information

If you need to modify the default JadeTeX macro settings, see the JadeTeX FAQ.

Contents

Installed Programs: jadetex and pdfjadetex
Installed Libraries: None
Installed Directories: /usr/share/texmf/tex/jadetex

Short Descriptions

jadetex

transforms LaTeX macros created by OpenJade into DVI/PostScript forms.

pdfjadetex

transforms LaTeX macros created by OpenJade into Portable Document Format (PDF) forms.

Last updated on 2005-02-16 14:46:41 -0700