glfs/pst/typesetting/jadetex.xml

218 lines
7.1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY jadetex-download-http "http://prdownloads.sourceforge.net/jadetex/jadetex-&jadetex-version;.tar.gz">
<!ENTITY jadetex-download-ftp " ">
<!ENTITY jadetex-size "103 KB">
<!ENTITY jadetex-buildsize "9.6 MB">
<!ENTITY jadetex-time "0.11 SBU">
]>
<sect1 id="jadetex" xreflabel="JadeTeX-&jadetex-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="jadetex.html"?>
<title>JadeTeX-&jadetex-version;</title>
<indexterm zone="jadetex">
<primary sortas="a-JadeTeX">JadeTeX</primary></indexterm>
<sect2>
<title>Introduction to <application>JadeTeX</application></title>
<para>The <application>JadeTeX</application> package is a companion package to
the <application>OpenJade</application> <acronym>DSSSL</acronym> processor.
<application>JadeTeX</application> transforms high level LaTeX macros into
<acronym>DVI</acronym>/PostScript and Portable Document Format
(<acronym>PDF</acronym>) forms.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP):
<ulink url="&jadetex-download-http;"/></para></listitem>
<listitem><para>Download (FTP):
<ulink url="&jadetex-download-ftp;"/></para></listitem>
<listitem><para>Download size: &jadetex-size;</para></listitem>
<listitem><para>Estimated disk space required:
&jadetex-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&jadetex-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>JadeTeX</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="tex"/> and
<xref linkend="openjade"/></para>
</sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>JadeTeX</application></title>
<para>First, as the root user, make some required modifications to files
already installed on the system:</para>
<screen><userinput role='root'><command>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
/usr/share/texmf/web2c/texmf.cnf</command></userinput></screen>
<para>You'll need to make two modifications to
<filename>/usr/share/texmf/web2c/texmf.cnf</filename>. First, add the
following line under the section titled <quote>ConTeXt is a memory
hog...</quote>:</para>
<screen><userinput role='root'>pool_size.context = 750000</userinput></screen>
<para>Next, add <command>latex</command>, <command>jadetex</command> and
<command>pdfjadetex</command> settings using the following command:</para>
<screen><userinput role='root'><command>cat &gt;&gt; /usr/share/texmf/web2c/texmf.cnf &lt;&lt; "EOF"</command>
% 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
<command>EOF</command></userinput></screen>
<para>Build a new <filename>latex.fmt</filename> file using the following
commands:</para>
<screen><userinput><command>cp -v -R /usr/share/texmf/tex/latex/config . &amp;&amp;
cd config &amp;&amp;
tex -ini -progname=latex latex.ini &amp;&amp;
cd ..</command></userinput></screen>
<para>Now, as the root user, install the <filename>latex.fmt</filename> file,
then build and install <application>JadeTex</application> using the following
commands:</para>
<screen><userinput role='root'><command>mv /usr/share/texmf/web2c/latex.fmt \
/usr/share/texmf/web2c/latex.fmt.orig &amp;&amp;
install -v -m644 config/latex.fmt /usr/share/texmf/web2c &amp;&amp;
make install &amp;&amp;
ln -v -sf tex /usr/bin/jadetex &amp;&amp;
ln -v -sf pdftex /usr/bin/pdfjadetex &amp;&amp;
mktexlsr</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><command>sed -i -e "s/original texmf.cnf/modified texmf.cnf/"</command>:
This changes <filename>/usr/share/texmf/web2c/texmf.cnf</filename> so that if
<application>TeX</application> is upgraded, this file won't get
overwritten.</para>
<para><command>ln -v -sf tex ...; ln -v -sf pdftex ...; mktexlsr</command>: The
<application>JadeTeX</application> programs are actually just symlinks to the
<application>TeX</application> programs. <command>mktexlsr</command> updates
<application>TeX</application>'s <filename>ls-R</filename> database used by
the <filename class='libraryfile'>libkpathsea</filename> library so that
<application>TeX</application> knows to use the
<application>JadeTeX</application> <filename>.fmt</filename> files when
<command>jadetex</command> or <command>pdfjadetex</command> is called.</para>
</sect2>
<sect2>
<title>Configuring <application>JadeTeX</application></title>
<sect3><title>Config files</title>
<para><filename>jadetex.dtx</filename> in the
<application>JadeTeX</application> source tree.</para>
</sect3>
<sect3><title>Configuration Information</title>
<para>If you need to modify the default <application>JadeTeX</application>
macro settings, see the
<ulink url="http://jadetex.sourceforge.net/#index-div-d18e397">
<application>JadeTeX</application> <acronym>FAQ</acronym></ulink>.</para>
</sect3>
</sect2>
<sect2>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>jadetex and pdfjadetex</seg>
<seg>None</seg>
<seg>/usr/share/texmf/tex/jadetex</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<varlistentry id="jadetex-prog">
<term><command>jadetex</command></term>
<listitem><para>transforms LaTeX macros created by
<application>OpenJade</application> into <acronym>DVI</acronym>/PostScript
forms.</para>
<indexterm zone="jadetex jadetex-prog">
<primary sortas="b-jadetex">jadetex</primary></indexterm>
</listitem>
</varlistentry>
<varlistentry id="pdfjadetex">
<term><command>pdfjadetex</command></term>
<listitem><para>transforms LaTeX macros created by
<application>OpenJade</application> into Portable Document Format
(<acronym>PDF</acronym>) forms.</para>
<indexterm zone="jadetex pdfjadetex">
<primary sortas="b-pdfjadetex">pdfjadetex</primary></indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>