%general-entities; ]> $LastChangedBy$ $Date$ JadeTeX-&jadetex-version; JadeTeX Introduction to <application>JadeTeX</application> 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 Download (HTTP): Download (FTP): Download size: &jadetex-size; Estimated disk space required: &jadetex-buildsize; Estimated build time: &jadetex-time; <application>JadeTeX</application> dependencies Required and Installation of <application>JadeTeX</application> Install JadeTex by running the following commands: 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 Rebuild and install a new latex.fmt file using the following commands: cp -R /usr/share/texmf/tex/latex/config . && cd config && tex -ini -progname=latex latex.ini && mv /usr/share/texmf/web2c/latex.fmt \ /usr/share/texmf/web2c/latex.fmt.orig && install -m 644 latex.fmt /usr/share/texmf/web2c && cd .. Finally, build and install JadeTex using the following commands: make install && ln -sf tex /usr/bin/jadetex && ln -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 -sf tex ...; ln -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 <application>JadeTeX</application> 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 Short Descriptions jadetex transforms LaTeX macros created by OpenJade into DVI/PostScript forms. jadetex pdfjadetex transforms LaTeX macros created by OpenJade into Portable Document Format (PDF) forms. pdfjadetex