source: pst/typesetting/jadetex.xml@ f1283d3f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f1283d3f was f1283d3f, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Typo fix. Pst.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5384 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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">
8 <!ENTITY jadetex-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/jadetex-&jadetex-version;.tar.gz">
9 <!ENTITY jadetex-md5sum "634dfc172fbf66a6976e2c2c60e2d198">
10 <!ENTITY jadetex-size "103 KB">
11 <!ENTITY jadetex-buildsize "9.3 MB">
12 <!ENTITY jadetex-time "less than 0.1 SBU">
13]>
14
15<sect1 id="jadetex" xreflabel="JadeTeX-&jadetex-version;">
16 <?dbhtml filename="jadetex.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">jadetex-&jadetex-version;.tar</keyword>
23 <keyword role="ftpdir">jadetex</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>JadeTeX-&jadetex-version;</title>
28
29 <indexterm zone="jadetex">
30 <primary sortas="a-JadeTeX">JadeTeX</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to JadeTeX</title>
35
36 <para>The <application>JadeTeX</application> package is a companion package
37 to the <application>OpenJade</application> DSSSL processor.
38 <application>JadeTeX</application> transforms high level LaTeX macros into
39 DVI/PostScript and Portable Document Format (PDF) forms.</para>
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&jadetex-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&jadetex-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &jadetex-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &jadetex-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &jadetex-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &jadetex-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
64 <itemizedlist spacing='compact'>
65 <listitem>
66 <para>Recommended demo files: <ulink
67 url="http://anduin.linuxfromscratch.org/sources/BLFS/svn/j/jadetex-3.13-demo.tar.bz2"/>
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">JadeTeX Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required"><xref linkend="tex"/> and
76 <xref linkend="openjade"/></para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of JadeTeX</title>
82
83 <para>If you downloaded the demo files tarball, unpack it along with the
84 source tarball. It will unpack as a
85 <filename class='directory'>demo</filename> directory in the root of the
86 source tree.</para>
87
88 <para>First, as the <systemitem class="username">root</systemitem> user,
89 make some required modifications to the <filename>texmf.cnf</filename>
90 file already installed on the system by the <application>TeX</application>
91 package, then build a new <filename>latex.fmt</filename> file using the
92 following commands:</para>
93
94<screen role="root"><userinput>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
95 -e "s/memory hog.../&amp;\npool_size.context = 750000/" \
96 $(kpsewhich texmf.cnf) &amp;&amp;
97cat &gt;&gt; $(kpsewhich texmf.cnf) &lt;&lt; "EOF"
98<literal>
99% The following 3 sections added for JadeTeX
100
101% latex settings
102main_memory.latex = 1100000
103param_size.latex = 1500
104stack_size.latex = 1500
105hash_extra.latex = 15000
106string_vacancies.latex = 45000
107pool_free.latex = 47500
108nest_size.latex = 500
109save_size.latex = 5000
110pool_size.latex = 500000
111max_strings.latex = 55000
112font_mem_size.latex= 400000
113
114% jadetex settings
115main_memory.jadetex = 1500000
116param_size.jadetex = 1500
117stack_size.jadetex = 1500
118hash_extra.jadetex = 50000
119string_vacancies.jadetex = 45000
120pool_free.jadetex = 47500
121nest_size.jadetex = 500
122save_size.jadetex = 5000
123pool_size.jadetex = 500000
124max_strings.jadetex = 55000
125
126% pdfjadetex settings
127main_memory.pdfjadetex = 2500000
128param_size.pdfjadetex = 1500
129stack_size.pdfjadetex = 1500
130hash_extra.pdfjadetex = 50000
131string_vacancies.pdfjadetex = 45000
132pool_free.pdfjadetex = 47500
133nest_size.pdfjadetex = 500
134save_size.pdfjadetex = 5000
135pool_size.pdfjadetex = 500000
136max_strings.pdfjadetex = 55000
137</literal>
138EOF
139LATEX_FMT_DIR="$(kpsewhich -expand-var '$TEXMFSYSVAR')/web2c" &amp;&amp;
140mv -v $(kpsewhich latex.fmt) $(kpsewhich latex.fmt).orig &amp;&amp;
141mv -v $LATEX_FMT_DIR/latex.log $LATEX_FMT_DIR/latex.log.orig &amp;&amp;
142fmtutil-sys --byfmt latex</userinput></screen>
143
144 <para>Install <application>JadeTex</application> using the following
145 commands:</para>
146
147<screen><userinput>make</userinput></screen>
148
149 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
150
151<screen role="root"><userinput>install -v -m755 -d \
152 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config &amp;&amp;
153install -v -m644 dsssl.def jadetex.ltx *.sty \
154 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex &amp;&amp;
155install -v -m644 {,pdf}jadetex.ini \
156 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config &amp;&amp;
157FMTUTIL_CNF="$(kpsewhich fmtutil.cnf)" &amp;&amp;
158mv $FMTUTIL_CNF $FMTUTIL_CNF.orig &amp;&amp;
159cat $FMTUTIL_CNF.orig - &gt;&gt; $FMTUTIL_CNF &lt;&lt; "EOF"
160<literal>
161# JadeTeX formats:
162jadetex etex - "&amp;latex" jadetex.ini
163pdfjadetex pdfetex - "&amp;pdflatex" pdfjadetex.ini
164</literal>
165EOF
166mv -v $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R \
167 $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R.orig &amp;&amp;
168mv -v $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R \
169 $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R.orig &amp;&amp;
170mktexlsr &amp;&amp;
171fmtutil-sys --byfmt jadetex &amp;&amp;
172fmtutil-sys --byfmt pdfjadetex &amp;&amp;
173mktexlsr &amp;&amp;
174ln -v -sf etex /usr/bin/jadetex &amp;&amp;
175ln -v -sf pdfetex /usr/bin/pdfjadetex &amp;&amp;
176install -v -m644 -D index.html \
177 /usr/share/doc/jadetex-&jadetex-version;/index.html &amp;&amp;
178install -v -m644 *.1 /usr/share/man/man1</userinput></screen>
179
180 <para>If you downloaded the demo files tarball, issue the following
181 commands as an unprivileged user to test the functionality of the new
182 <application>JadeTex</application> installation:</para>
183
184<screen><userinput>cd demo &amp;&amp;
185openjade -t tex -d demo.dsl demo.sgm &amp;&amp;
186jadetex demo.tex &amp;&amp;
187pdfjadetex demo.tex &amp;&amp;
188ls -lrt &amp;&amp;
189cd ..</userinput></screen>
190
191 <para>The commands should complete without errors or warnings and create
192 <filename>demo.dvi</filename> and <filename>demo.pdf</filename> files.</para>
193
194 </sect2>
195
196 <sect2 role="commands">
197 <title>Command Explanations</title>
198
199 <para><command>sed -i -e ... -e ... $(kpsewhich texmf.cnf)</command>:
200 This command uses <command>kpsewhich</command> to locate the installed
201 <filename>texmf.cnf</filename>. The first change is used to modify the
202 header of the file so that if <application>TeX</application> is upgraded,
203 the file won't get overwritten. The next change adds a parameter to
204 increase ConTeXt's memory size to accommodate
205 <application>JadeTeX</application>.</para>
206
207 <para><command>fmtutil-sys ...</command>: These commands are used to build
208 the <filename>latex.fmt</filename>, <filename>jadetex.fmt</filename> and
209 <filename>pdfjadetex.fmt</filename> files. Additionally, the command
210 automagically places the files in the correct directory.</para>
211
212 <para><command>mktexlsr; ln -v -sf tex ...; ln -v -sf pdftex ...</command>:
213 The <application>JadeTeX</application> programs are actually just symlinks
214 to the <application>TeX</application> programs. <command>mktexlsr</command>
215 updates <application>TeX</application>'s <filename>ls-R</filename> databases
216 used by the <filename class='libraryfile'>libkpathsea</filename> library so
217 that <application>TeX</application> knows to use the
218 <application>JadeTeX</application> <filename>.fmt</filename> files when
219 <command>jadetex</command> or <command>pdfjadetex</command> is called.</para>
220
221 </sect2>
222
223 <sect2 role="configuration">
224 <title>Configuring JadeTeX</title>
225
226 <sect3>
227 <title>Config Files</title>
228
229 <para><filename>jadetex.dtx</filename> in the
230 <application>JadeTeX</application> source tree.</para>
231
232 </sect3>
233
234 <sect3>
235 <title>Configuration Information</title>
236
237 <para>If you need to modify the default <application>JadeTeX</application>
238 macro settings, see the
239 <ulink url="http://jadetex.sourceforge.net/#index-div-d18e397">
240 <application>JadeTeX</application> FAQ</ulink>.</para>
241
242 </sect3>
243
244 </sect2>
245
246 <sect2 role="content">
247 <title>Contents</title>
248
249 <segmentedlist>
250 <segtitle>Installed Programs</segtitle>
251 <segtitle>Installed Libraries</segtitle>
252 <segtitle>Installed Directories</segtitle>
253
254 <seglistitem>
255 <seg>jadetex and pdfjadetex</seg>
256 <seg>None</seg>
257 <seg>/usr/share/texmf-local and
258 /usr/share/doc/jadetex-&jadetex-version;</seg>
259 </seglistitem>
260 </segmentedlist>
261
262 <variablelist>
263 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
264 <?dbfo list-presentation="list"?>
265 <?dbhtml list-presentation="table"?>
266
267 <varlistentry id="jadetex-prog">
268 <term><command>jadetex</command></term>
269 <listitem>
270 <para>transforms LaTeX macros created by
271 <application>OpenJade</application> into DVI/PostScript forms.</para>
272 <indexterm zone="jadetex jadetex-prog">
273 <primary sortas="b-jadetex">jadetex</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="pdfjadetex">
279 <term><command>pdfjadetex</command></term>
280 <listitem>
281 <para>transforms LaTeX macros created by
282 <application>OpenJade</application> into Portable Document Format
283 (PDF) forms.</para>
284 <indexterm zone="jadetex pdfjadetex">
285 <primary sortas="b-pdfjadetex">pdfjadetex</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 </variablelist>
291
292 </sect2>
293
294</sect1>
Note: See TracBrowser for help on using the repository browser.