[6c23acd] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY jadetex-download-http "http://prdownloads.sourceforge.net/jadetex/jadetex-&jadetex-version;.tar.gz?download">
|
---|
| 8 | <!ENTITY jadetex-download-ftp " ">
|
---|
| 9 | <!ENTITY jadetex-size "103 KB">
|
---|
| 10 | <!ENTITY jadetex-buildsize "9.6 MB">
|
---|
| 11 | <!ENTITY jadetex-time ".11 SBU">
|
---|
| 12 | ]>
|
---|
| 13 |
|
---|
[920c049c] | 14 | <sect1 id="jadetex-package" xreflabel="JadeTeX-&jadetex-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[6c23acd] | 19 | <?dbhtml filename="jadetex.html"?>
|
---|
| 20 | <title>JadeTeX-&jadetex-version;</title>
|
---|
[920c049c] | 21 | <indexterm zone="jadetex-package">
|
---|
| 22 | <primary sortas="a-jadetex-package">JadeTeX</primary></indexterm>
|
---|
[6c23acd] | 23 |
|
---|
| 24 | <sect2>
|
---|
| 25 | <title>Introduction to <application>JadeTeX</application></title>
|
---|
| 26 |
|
---|
| 27 | <para>The <application>JadeTeX</application> package is a companion package to
|
---|
| 28 | the <application>OpenJade</application> <acronym>DSSSL</acronym> processor.
|
---|
| 29 | <application>JadeTeX</application> transforms high level LaTeX macros into
|
---|
| 30 | <acronym>DVI</acronym>/PostScript and Portable Document Format
|
---|
| 31 | (<acronym>PDF</acronym>) forms.</para>
|
---|
| 32 |
|
---|
| 33 | <sect3><title>Package information</title>
|
---|
| 34 | <itemizedlist spacing='compact'>
|
---|
[03d51788] | 35 | <listitem><para>Download (HTTP):
|
---|
| 36 | <ulink url="&jadetex-download-http;"/></para></listitem>
|
---|
| 37 | <listitem><para>Download (FTP):
|
---|
| 38 | <ulink url="&jadetex-download-ftp;"/></para></listitem>
|
---|
[6c23acd] | 39 | <listitem><para>Download size: &jadetex-size;</para></listitem>
|
---|
[03d51788] | 40 | <listitem><para>Estimated disk space required:
|
---|
| 41 | &jadetex-buildsize;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated build time:
|
---|
| 43 | &jadetex-time;</para></listitem></itemizedlist>
|
---|
[6c23acd] | 44 | </sect3>
|
---|
| 45 |
|
---|
| 46 | <sect3><title><application>JadeTeX</application> dependencies</title>
|
---|
| 47 | <sect4><title>Required</title>
|
---|
[03d51788] | 48 | <para><xref linkend="tex"/> and
|
---|
| 49 | <xref linkend="openjade"/></para>
|
---|
| 50 | </sect4>
|
---|
[6c23acd] | 51 | </sect3>
|
---|
| 52 |
|
---|
| 53 | </sect2>
|
---|
| 54 |
|
---|
| 55 | <sect2>
|
---|
| 56 | <title>Installation of <application>JadeTeX</application></title>
|
---|
| 57 |
|
---|
| 58 | <para>Install <application>JadeTex</application> by running the following
|
---|
| 59 | commands:</para>
|
---|
| 60 |
|
---|
[04af8b24] | 61 | <screen><userinput><command>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
|
---|
[6c23acd] | 62 | /usr/share/texmf/web2c/texmf.cnf</command></userinput></screen>
|
---|
| 63 |
|
---|
| 64 | <para>You'll need to make two modifications to
|
---|
| 65 | <filename>/usr/share/texmf/web2c/texmf.cnf</filename>. First, add the
|
---|
| 66 | following line under the section titled <quote>ConTeXt is a memory
|
---|
| 67 | hog...</quote>:</para>
|
---|
| 68 |
|
---|
| 69 | <screen><userinput>pool_size.context = 750000</userinput></screen>
|
---|
| 70 |
|
---|
| 71 | <para>Next, add <command>latex</command>, <command>jadetex</command> and
|
---|
| 72 | <command>pdfjadetex</command> settings using the following command:</para>
|
---|
| 73 |
|
---|
| 74 | <screen><userinput><command>cat >> /usr/share/texmf/web2c/texmf.cnf << "EOF"</command>
|
---|
| 75 |
|
---|
| 76 | % The following 3 sections added for JadeTeX
|
---|
| 77 |
|
---|
| 78 | % latex settings
|
---|
| 79 | main_memory.latex = 1100000
|
---|
| 80 | param_size.latex = 1500
|
---|
| 81 | stack_size.latex = 1500
|
---|
| 82 | hash_extra.latex = 15000
|
---|
| 83 | string_vacancies.latex = 45000
|
---|
| 84 | pool_free.latex = 47500
|
---|
| 85 | nest_size.latex = 500
|
---|
| 86 | save_size.latex = 5000
|
---|
| 87 | pool_size.latex = 500000
|
---|
| 88 | max_strings.latex = 55000
|
---|
| 89 | font_mem_size.latex= 400000
|
---|
| 90 |
|
---|
| 91 | % jadetex settings
|
---|
| 92 | main_memory.jadetex = 1500000
|
---|
| 93 | param_size.jadetex = 1500
|
---|
| 94 | stack_size.jadetex = 1500
|
---|
| 95 | hash_extra.jadetex = 50000
|
---|
| 96 | string_vacancies.jadetex = 45000
|
---|
| 97 | pool_free.jadetex = 47500
|
---|
| 98 | nest_size.jadetex = 500
|
---|
| 99 | save_size.jadetex = 5000
|
---|
| 100 | pool_size.jadetex = 500000
|
---|
| 101 | max_strings.jadetex = 55000
|
---|
| 102 |
|
---|
| 103 | % pdfjadetex settings
|
---|
| 104 | main_memory.pdfjadetex = 2500000
|
---|
| 105 | param_size.pdfjadetex = 1500
|
---|
| 106 | stack_size.pdfjadetex = 1500
|
---|
| 107 | hash_extra.pdfjadetex = 50000
|
---|
| 108 | string_vacancies.pdfjadetex = 45000
|
---|
| 109 | pool_free.pdfjadetex = 47500
|
---|
| 110 | nest_size.pdfjadetex = 500
|
---|
| 111 | save_size.pdfjadetex = 5000
|
---|
| 112 | pool_size.pdfjadetex = 500000
|
---|
| 113 | max_strings.pdfjadetex = 55000
|
---|
| 114 | <command>EOF</command></userinput></screen>
|
---|
| 115 |
|
---|
| 116 | <para>Rebuild and install a new <filename>latex.fmt</filename> file using the
|
---|
| 117 | following commands:</para>
|
---|
| 118 |
|
---|
| 119 | <screen><userinput><command>cp -R /usr/share/texmf/tex/latex/config . &&
|
---|
| 120 | cd config &&
|
---|
| 121 | tex -ini -progname=latex latex.ini &&
|
---|
[822970f] | 122 | mv /usr/share/texmf/web2c/latex.fmt \
|
---|
[04af8b24] | 123 | /usr/share/texmf/web2c/latex.fmt.orig &&
|
---|
[6c23acd] | 124 | install -m 644 latex.fmt /usr/share/texmf/web2c &&
|
---|
| 125 | cd ..</command></userinput></screen>
|
---|
| 126 |
|
---|
| 127 | <para>Finally, build and install <application>JadeTex</application> using the
|
---|
| 128 | following commands:</para>
|
---|
| 129 |
|
---|
| 130 | <screen><userinput><command>make install &&
|
---|
| 131 | ln -sf tex /usr/bin/jadetex &&
|
---|
| 132 | ln -sf pdftex /usr/bin/pdfjadetex &&
|
---|
| 133 | mktexlsr</command></userinput></screen>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
| 137 | <sect2>
|
---|
| 138 | <title>Command explanations</title>
|
---|
| 139 |
|
---|
[04af8b24] | 140 | <para><command>sed -i -e "s/original texmf.cnf/modified texmf.cnf/"</command>:
|
---|
[6c23acd] | 141 | This changes <filename>/usr/share/texmf/web2c/texmf.cnf</filename> so that if
|
---|
| 142 | <application>TeX</application> is upgraded, this file won't get
|
---|
| 143 | overwritten.</para>
|
---|
| 144 |
|
---|
| 145 | <para><command>ln -sf tex ...; ln -sf pdftex ...; mktexlsr</command>: The
|
---|
| 146 | <application>JadeTeX</application> programs are actually just symlinks to the
|
---|
| 147 | <application>TeX</application> programs. <command>mktexlsr</command> updates
|
---|
| 148 | <application>TeX</application>'s <filename>ls-R</filename> database used by
|
---|
| 149 | the <filename class='libraryfile'>libkpathsea</filename> library so that
|
---|
| 150 | <application>TeX</application> knows to use the
|
---|
| 151 | <application>JadeTeX</application> <filename>.fmt</filename> files when
|
---|
| 152 | <command>jadetex</command> or <command>pdfjadetex</command> is called.</para>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | <sect2>
|
---|
| 157 | <title>Configuring <application>JadeTeX</application></title>
|
---|
| 158 |
|
---|
| 159 | <sect3><title>Config files</title>
|
---|
| 160 | <para><filename>jadetex.dtx</filename> in the
|
---|
| 161 | <application>JadeTeX</application> source tree.</para>
|
---|
| 162 | </sect3>
|
---|
| 163 |
|
---|
| 164 | <sect3><title>Configuration Information</title>
|
---|
| 165 |
|
---|
| 166 | <para>If you need to modify the default <application>JadeTeX</application>
|
---|
| 167 | macro settings, see the <ulink
|
---|
| 168 | url="http://jadetex.sourceforge.net/#index-div-d18e397">
|
---|
| 169 | <application>JadeTeX</application> <acronym>FAQ</acronym></ulink>.</para>
|
---|
| 170 | </sect3>
|
---|
| 171 |
|
---|
| 172 | </sect2>
|
---|
| 173 |
|
---|
| 174 | <sect2>
|
---|
| 175 | <title>Contents</title>
|
---|
| 176 |
|
---|
[920c049c] | 177 | <segmentedlist>
|
---|
| 178 | <segtitle>Installed Programs</segtitle>
|
---|
| 179 | <seglistitem>
|
---|
| 180 | <seg>jadetex and pdfjadetex</seg>
|
---|
| 181 | </seglistitem>
|
---|
| 182 | </segmentedlist>
|
---|
[6c23acd] | 183 |
|
---|
[920c049c] | 184 | <variablelist>
|
---|
| 185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 186 | <?dbfo list-presentation="list"?>
|
---|
[6c23acd] | 187 |
|
---|
[920c049c] | 188 | <varlistentry id="jadetex">
|
---|
| 189 | <term><command>jadetex</command></term>
|
---|
| 190 | <listitem><para>transforms LaTeX macros created by
|
---|
[6c23acd] | 191 | <application>OpenJade</application> into <acronym>DVI</acronym>/PostScript
|
---|
[920c049c] | 192 | forms.</para>
|
---|
| 193 | <indexterm zone="jadetex-package jadetex">
|
---|
| 194 | <primary sortas="b-jadetex">jadetex</primary></indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="pdfjadetex">
|
---|
| 199 | <term><command>pdfjadetex</command></term>
|
---|
| 200 | <listitem><para>transforms LaTeX macros created by
|
---|
[6c23acd] | 201 | <application>OpenJade</application> into Portable Document Format
|
---|
[920c049c] | 202 | (<acronym>PDF</acronym>) forms.</para>
|
---|
| 203 | <indexterm zone="jadetex-package pdfjadetex">
|
---|
| 204 | <primary sortas="b-pdfjadetex">pdfjadetex</primary></indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 | </variablelist>
|
---|
[6c23acd] | 208 |
|
---|
| 209 | </sect2>
|
---|
| 210 |
|
---|
| 211 | </sect1>
|
---|
| 212 |
|
---|