[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 |
|
---|
| 14 | <sect1 id="jadetex" 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>
|
---|
| 21 |
|
---|
| 22 | <sect2>
|
---|
| 23 | <title>Introduction to <application>JadeTeX</application></title>
|
---|
| 24 |
|
---|
| 25 | <para>The <application>JadeTeX</application> package is a companion package to
|
---|
| 26 | the <application>OpenJade</application> <acronym>DSSSL</acronym> processor.
|
---|
| 27 | <application>JadeTeX</application> transforms high level LaTeX macros into
|
---|
| 28 | <acronym>DVI</acronym>/PostScript and Portable Document Format
|
---|
| 29 | (<acronym>PDF</acronym>) forms.</para>
|
---|
| 30 |
|
---|
| 31 | <sect3><title>Package information</title>
|
---|
| 32 | <itemizedlist spacing='compact'>
|
---|
[03d51788] | 33 | <listitem><para>Download (HTTP):
|
---|
| 34 | <ulink url="&jadetex-download-http;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download (FTP):
|
---|
| 36 | <ulink url="&jadetex-download-ftp;"/></para></listitem>
|
---|
[6c23acd] | 37 | <listitem><para>Download size: &jadetex-size;</para></listitem>
|
---|
[03d51788] | 38 | <listitem><para>Estimated disk space required:
|
---|
| 39 | &jadetex-buildsize;</para></listitem>
|
---|
| 40 | <listitem><para>Estimated build time:
|
---|
| 41 | &jadetex-time;</para></listitem></itemizedlist>
|
---|
[6c23acd] | 42 | </sect3>
|
---|
| 43 |
|
---|
| 44 | <sect3><title><application>JadeTeX</application> dependencies</title>
|
---|
| 45 | <sect4><title>Required</title>
|
---|
[03d51788] | 46 | <para><xref linkend="tex"/> and
|
---|
| 47 | <xref linkend="openjade"/></para>
|
---|
| 48 | </sect4>
|
---|
[6c23acd] | 49 | </sect3>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2>
|
---|
| 54 | <title>Installation of <application>JadeTeX</application></title>
|
---|
| 55 |
|
---|
| 56 | <para>Install <application>JadeTex</application> by running the following
|
---|
| 57 | commands:</para>
|
---|
| 58 |
|
---|
[04af8b24] | 59 | <screen><userinput><command>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
|
---|
[6c23acd] | 60 | /usr/share/texmf/web2c/texmf.cnf</command></userinput></screen>
|
---|
| 61 |
|
---|
| 62 | <para>You'll need to make two modifications to
|
---|
| 63 | <filename>/usr/share/texmf/web2c/texmf.cnf</filename>. First, add the
|
---|
| 64 | following line under the section titled <quote>ConTeXt is a memory
|
---|
| 65 | hog...</quote>:</para>
|
---|
| 66 |
|
---|
| 67 | <screen><userinput>pool_size.context = 750000</userinput></screen>
|
---|
| 68 |
|
---|
| 69 | <para>Next, add <command>latex</command>, <command>jadetex</command> and
|
---|
| 70 | <command>pdfjadetex</command> settings using the following command:</para>
|
---|
| 71 |
|
---|
| 72 | <screen><userinput><command>cat >> /usr/share/texmf/web2c/texmf.cnf << "EOF"</command>
|
---|
| 73 |
|
---|
| 74 | % The following 3 sections added for JadeTeX
|
---|
| 75 |
|
---|
| 76 | % latex settings
|
---|
| 77 | main_memory.latex = 1100000
|
---|
| 78 | param_size.latex = 1500
|
---|
| 79 | stack_size.latex = 1500
|
---|
| 80 | hash_extra.latex = 15000
|
---|
| 81 | string_vacancies.latex = 45000
|
---|
| 82 | pool_free.latex = 47500
|
---|
| 83 | nest_size.latex = 500
|
---|
| 84 | save_size.latex = 5000
|
---|
| 85 | pool_size.latex = 500000
|
---|
| 86 | max_strings.latex = 55000
|
---|
| 87 | font_mem_size.latex= 400000
|
---|
| 88 |
|
---|
| 89 | % jadetex settings
|
---|
| 90 | main_memory.jadetex = 1500000
|
---|
| 91 | param_size.jadetex = 1500
|
---|
| 92 | stack_size.jadetex = 1500
|
---|
| 93 | hash_extra.jadetex = 50000
|
---|
| 94 | string_vacancies.jadetex = 45000
|
---|
| 95 | pool_free.jadetex = 47500
|
---|
| 96 | nest_size.jadetex = 500
|
---|
| 97 | save_size.jadetex = 5000
|
---|
| 98 | pool_size.jadetex = 500000
|
---|
| 99 | max_strings.jadetex = 55000
|
---|
| 100 |
|
---|
| 101 | % pdfjadetex settings
|
---|
| 102 | main_memory.pdfjadetex = 2500000
|
---|
| 103 | param_size.pdfjadetex = 1500
|
---|
| 104 | stack_size.pdfjadetex = 1500
|
---|
| 105 | hash_extra.pdfjadetex = 50000
|
---|
| 106 | string_vacancies.pdfjadetex = 45000
|
---|
| 107 | pool_free.pdfjadetex = 47500
|
---|
| 108 | nest_size.pdfjadetex = 500
|
---|
| 109 | save_size.pdfjadetex = 5000
|
---|
| 110 | pool_size.pdfjadetex = 500000
|
---|
| 111 | max_strings.pdfjadetex = 55000
|
---|
| 112 | <command>EOF</command></userinput></screen>
|
---|
| 113 |
|
---|
| 114 | <para>Rebuild and install a new <filename>latex.fmt</filename> file using the
|
---|
| 115 | following commands:</para>
|
---|
| 116 |
|
---|
| 117 | <screen><userinput><command>cp -R /usr/share/texmf/tex/latex/config . &&
|
---|
| 118 | cd config &&
|
---|
| 119 | tex -ini -progname=latex latex.ini &&
|
---|
[822970f] | 120 | mv /usr/share/texmf/web2c/latex.fmt \
|
---|
[04af8b24] | 121 | /usr/share/texmf/web2c/latex.fmt.orig &&
|
---|
[6c23acd] | 122 | install -m 644 latex.fmt /usr/share/texmf/web2c &&
|
---|
| 123 | cd ..</command></userinput></screen>
|
---|
| 124 |
|
---|
| 125 | <para>Finally, build and install <application>JadeTex</application> using the
|
---|
| 126 | following commands:</para>
|
---|
| 127 |
|
---|
| 128 | <screen><userinput><command>make install &&
|
---|
| 129 | ln -sf tex /usr/bin/jadetex &&
|
---|
| 130 | ln -sf pdftex /usr/bin/pdfjadetex &&
|
---|
| 131 | mktexlsr</command></userinput></screen>
|
---|
| 132 |
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | <sect2>
|
---|
| 136 | <title>Command explanations</title>
|
---|
| 137 |
|
---|
[04af8b24] | 138 | <para><command>sed -i -e "s/original texmf.cnf/modified texmf.cnf/"</command>:
|
---|
[6c23acd] | 139 | This changes <filename>/usr/share/texmf/web2c/texmf.cnf</filename> so that if
|
---|
| 140 | <application>TeX</application> is upgraded, this file won't get
|
---|
| 141 | overwritten.</para>
|
---|
| 142 |
|
---|
| 143 | <para><command>ln -sf tex ...; ln -sf pdftex ...; mktexlsr</command>: The
|
---|
| 144 | <application>JadeTeX</application> programs are actually just symlinks to the
|
---|
| 145 | <application>TeX</application> programs. <command>mktexlsr</command> updates
|
---|
| 146 | <application>TeX</application>'s <filename>ls-R</filename> database used by
|
---|
| 147 | the <filename class='libraryfile'>libkpathsea</filename> library so that
|
---|
| 148 | <application>TeX</application> knows to use the
|
---|
| 149 | <application>JadeTeX</application> <filename>.fmt</filename> files when
|
---|
| 150 | <command>jadetex</command> or <command>pdfjadetex</command> is called.</para>
|
---|
| 151 |
|
---|
| 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2>
|
---|
| 155 | <title>Configuring <application>JadeTeX</application></title>
|
---|
| 156 |
|
---|
| 157 | <sect3><title>Config files</title>
|
---|
| 158 | <para><filename>jadetex.dtx</filename> in the
|
---|
| 159 | <application>JadeTeX</application> source tree.</para>
|
---|
| 160 | </sect3>
|
---|
| 161 |
|
---|
| 162 | <sect3><title>Configuration Information</title>
|
---|
| 163 |
|
---|
| 164 | <para>If you need to modify the default <application>JadeTeX</application>
|
---|
| 165 | macro settings, see the <ulink
|
---|
| 166 | url="http://jadetex.sourceforge.net/#index-div-d18e397">
|
---|
| 167 | <application>JadeTeX</application> <acronym>FAQ</acronym></ulink>.</para>
|
---|
| 168 | </sect3>
|
---|
| 169 |
|
---|
| 170 | </sect2>
|
---|
| 171 |
|
---|
| 172 | <sect2>
|
---|
| 173 | <title>Contents</title>
|
---|
| 174 |
|
---|
| 175 | <para>The <application>JadeTex</application> package contains
|
---|
| 176 | <command>jadetex</command> and <command>pdfjadetex</command>.</para>
|
---|
| 177 |
|
---|
| 178 | </sect2>
|
---|
| 179 |
|
---|
| 180 | <sect2><title>Description</title>
|
---|
| 181 |
|
---|
| 182 | <sect3><title>jadetex</title>
|
---|
| 183 | <para><command>jadetex</command> transforms LaTeX macros created by
|
---|
| 184 | <application>OpenJade</application> into <acronym>DVI</acronym>/PostScript
|
---|
| 185 | forms.</para></sect3>
|
---|
| 186 |
|
---|
| 187 | <sect3><title>pdfjadetex</title>
|
---|
| 188 | <para><command>pdfjadetex</command> transforms LaTeX macros created by
|
---|
| 189 | <application>OpenJade</application> into Portable Document Format
|
---|
| 190 | (<acronym>PDF</acronym>) forms.</para></sect3>
|
---|
| 191 |
|
---|
| 192 | </sect2>
|
---|
| 193 |
|
---|
| 194 | </sect1>
|
---|
| 195 |
|
---|