2004-07-03 04:59:01 +08:00
|
|
|
<?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;
|
|
|
|
|
2005-02-09 10:52:39 +08:00
|
|
|
<!ENTITY jadetex-download-http "http://prdownloads.sourceforge.net/jadetex/jadetex-&jadetex-version;.tar.gz">
|
2004-07-03 04:59:01 +08:00
|
|
|
<!ENTITY jadetex-download-ftp " ">
|
|
|
|
<!ENTITY jadetex-size "103 KB">
|
|
|
|
<!ENTITY jadetex-buildsize "9.6 MB">
|
2005-01-31 01:59:50 +08:00
|
|
|
<!ENTITY jadetex-time "0.11 SBU">
|
2004-07-03 04:59:01 +08:00
|
|
|
]>
|
|
|
|
|
2005-01-26 03:21:25 +08:00
|
|
|
<sect1 id="jadetex" xreflabel="JadeTeX-&jadetex-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-07-03 04:59:01 +08:00
|
|
|
<?dbhtml filename="jadetex.html"?>
|
|
|
|
<title>JadeTeX-&jadetex-version;</title>
|
2005-01-26 03:21:25 +08:00
|
|
|
<indexterm zone="jadetex">
|
2005-01-17 00:56:15 +08:00
|
|
|
<primary sortas="a-JadeTeX">JadeTeX</primary></indexterm>
|
2004-07-03 04:59:01 +08:00
|
|
|
|
|
|
|
<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'>
|
2005-01-11 07:55:51 +08:00
|
|
|
<listitem><para>Download (HTTP):
|
|
|
|
<ulink url="&jadetex-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&jadetex-download-ftp;"/></para></listitem>
|
2004-07-03 04:59:01 +08:00
|
|
|
<listitem><para>Download size: &jadetex-size;</para></listitem>
|
2005-01-11 07:55:51 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
|
|
|
&jadetex-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&jadetex-time;</para></listitem></itemizedlist>
|
2004-07-03 04:59:01 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title><application>JadeTeX</application> dependencies</title>
|
|
|
|
<sect4><title>Required</title>
|
2005-01-11 07:55:51 +08:00
|
|
|
<para><xref linkend="tex"/> and
|
|
|
|
<xref linkend="openjade"/></para>
|
|
|
|
</sect4>
|
2004-07-03 04:59:01 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>JadeTeX</application></title>
|
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<para>First, as the root user, make some required modifications to files
|
|
|
|
already installed on the system:</para>
|
2004-07-03 04:59:01 +08:00
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<screen><userinput role='root'><command>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
|
2004-07-03 04:59:01 +08:00
|
|
|
/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>
|
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<screen><userinput role='root'>pool_size.context = 750000</userinput></screen>
|
2004-07-03 04:59:01 +08:00
|
|
|
|
|
|
|
<para>Next, add <command>latex</command>, <command>jadetex</command> and
|
|
|
|
<command>pdfjadetex</command> settings using the following command:</para>
|
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<screen><userinput role='root'><command>cat >> /usr/share/texmf/web2c/texmf.cnf << "EOF"</command>
|
2004-07-03 04:59:01 +08:00
|
|
|
|
|
|
|
% 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>
|
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<para>Build a new <filename>latex.fmt</filename> file using the following
|
|
|
|
commands:</para>
|
2004-07-03 04:59:01 +08:00
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<screen><userinput><command>cp -v -R /usr/share/texmf/tex/latex/config . &&
|
2004-07-03 04:59:01 +08:00
|
|
|
cd config &&
|
|
|
|
tex -ini -progname=latex latex.ini &&
|
|
|
|
cd ..</command></userinput></screen>
|
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<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>
|
2004-07-03 04:59:01 +08:00
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<screen><userinput role='root'><command>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 &&
|
2004-07-03 04:59:01 +08:00
|
|
|
mktexlsr</command></userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2004-10-19 09:31:22 +08:00
|
|
|
<para><command>sed -i -e "s/original texmf.cnf/modified texmf.cnf/"</command>:
|
2004-07-03 04:59:01 +08:00
|
|
|
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>
|
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<para><command>ln -v -sf tex ...; ln -v -sf pdftex ...; mktexlsr</command>: The
|
2004-07-03 04:59:01 +08:00
|
|
|
<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>
|
2005-01-31 01:59:50 +08:00
|
|
|
macro settings, see the
|
|
|
|
<ulink url="http://jadetex.sourceforge.net/#index-div-d18e397">
|
2004-07-03 04:59:01 +08:00
|
|
|
<application>JadeTeX</application> <acronym>FAQ</acronym></ulink>.</para>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2005-01-11 08:31:27 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
2005-01-31 01:59:50 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-01-11 08:31:27 +08:00
|
|
|
<seglistitem>
|
|
|
|
<seg>jadetex and pdfjadetex</seg>
|
2005-01-31 01:59:50 +08:00
|
|
|
<seg>None</seg>
|
|
|
|
<seg>/usr/share/texmf/tex/jadetex</seg>
|
2005-01-11 08:31:27 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2004-07-03 04:59:01 +08:00
|
|
|
|
2005-01-11 08:31:27 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
2004-07-03 04:59:01 +08:00
|
|
|
|
2005-01-26 03:21:25 +08:00
|
|
|
<varlistentry id="jadetex-prog">
|
2005-01-11 08:31:27 +08:00
|
|
|
<term><command>jadetex</command></term>
|
|
|
|
<listitem><para>transforms LaTeX macros created by
|
2004-07-03 04:59:01 +08:00
|
|
|
<application>OpenJade</application> into <acronym>DVI</acronym>/PostScript
|
2005-01-11 08:31:27 +08:00
|
|
|
forms.</para>
|
2005-01-26 03:21:25 +08:00
|
|
|
<indexterm zone="jadetex jadetex-prog">
|
2005-01-11 08:31:27 +08:00
|
|
|
<primary sortas="b-jadetex">jadetex</primary></indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="pdfjadetex">
|
|
|
|
<term><command>pdfjadetex</command></term>
|
|
|
|
<listitem><para>transforms LaTeX macros created by
|
2004-07-03 04:59:01 +08:00
|
|
|
<application>OpenJade</application> into Portable Document Format
|
2005-01-11 08:31:27 +08:00
|
|
|
(<acronym>PDF</acronym>) forms.</para>
|
2005-01-26 03:21:25 +08:00
|
|
|
<indexterm zone="jadetex pdfjadetex">
|
2005-01-11 08:31:27 +08:00
|
|
|
<primary sortas="b-pdfjadetex">pdfjadetex</primary></indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2004-07-03 04:59:01 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|