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