source: pst/typesetting/jadetex.xml@ 977061b0

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 977061b0 was 977061b0, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #8

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

  • Property mode set to 100644
File size: 10.4 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="&sources-anduin-http;/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 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/jadetex"/></para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of JadeTeX</title>
85
86 <para>If you downloaded the demo files tarball, unpack it along with the
87 source tarball. It will unpack as a
88 <filename class='directory'>demo</filename> directory in the root of the
89 source tree.</para>
90
91 <para>First, as the <systemitem class="username">root</systemitem> user,
92 make some required modifications to the <filename>texmf.cnf</filename>
93 file already installed on the system by the <application>TeX</application>
94 package, then build a new <filename>latex.fmt</filename> file using the
95 following commands:</para>
96
97<screen role="root"><userinput>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
98 -e "s/memory hog.../&amp;\npool_size.context = 750000/" \
99 $(kpsewhich texmf.cnf) &amp;&amp;
100cat &gt;&gt; $(kpsewhich texmf.cnf) &lt;&lt; "EOF"
101<literal>
102% The following 3 sections added for JadeTeX
103
104% latex settings
105main_memory.latex = 1100000
106param_size.latex = 1500
107stack_size.latex = 1500
108hash_extra.latex = 15000
109string_vacancies.latex = 45000
110pool_free.latex = 47500
111nest_size.latex = 500
112save_size.latex = 5000
113pool_size.latex = 500000
114max_strings.latex = 55000
115font_mem_size.latex= 400000
116
117% jadetex settings
118main_memory.jadetex = 1500000
119param_size.jadetex = 1500
120stack_size.jadetex = 1500
121hash_extra.jadetex = 50000
122string_vacancies.jadetex = 45000
123pool_free.jadetex = 47500
124nest_size.jadetex = 500
125save_size.jadetex = 5000
126pool_size.jadetex = 500000
127max_strings.jadetex = 55000
128
129% pdfjadetex settings
130main_memory.pdfjadetex = 2500000
131param_size.pdfjadetex = 1500
132stack_size.pdfjadetex = 1500
133hash_extra.pdfjadetex = 50000
134string_vacancies.pdfjadetex = 45000
135pool_free.pdfjadetex = 47500
136nest_size.pdfjadetex = 500
137save_size.pdfjadetex = 5000
138pool_size.pdfjadetex = 500000
139max_strings.pdfjadetex = 55000
140</literal>
141EOF
142LATEX_FMT_DIR="$(kpsewhich -expand-var '$TEXMFSYSVAR')/web2c" &amp;&amp;
143mv -v $(kpsewhich latex.fmt) $(kpsewhich latex.fmt).orig &amp;&amp;
144mv -v $LATEX_FMT_DIR/latex.log $LATEX_FMT_DIR/latex.log.orig &amp;&amp;
145fmtutil-sys --byfmt latex</userinput></screen>
146
147 <para>Install <application>JadeTex</application> using the following
148 commands:</para>
149
150<screen><userinput>make</userinput></screen>
151
152 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
153
154<screen role="root"><userinput>install -v -m755 -d \
155 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config &amp;&amp;
156install -v -m644 dsssl.def jadetex.ltx *.sty \
157 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex &amp;&amp;
158install -v -m644 {,pdf}jadetex.ini \
159 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config &amp;&amp;
160FMTUTIL_CNF="$(kpsewhich fmtutil.cnf)" &amp;&amp;
161mv $FMTUTIL_CNF $FMTUTIL_CNF.orig &amp;&amp;
162cat $FMTUTIL_CNF.orig - &gt;&gt; $FMTUTIL_CNF &lt;&lt; "EOF"
163<literal>
164# JadeTeX formats:
165jadetex etex - "&amp;latex" jadetex.ini
166pdfjadetex pdfetex - "&amp;pdflatex" pdfjadetex.ini
167</literal>
168EOF
169mv -v $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R \
170 $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R.orig &amp;&amp;
171mv -v $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R \
172 $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R.orig &amp;&amp;
173mktexlsr &amp;&amp;
174fmtutil-sys --byfmt jadetex &amp;&amp;
175fmtutil-sys --byfmt pdfjadetex &amp;&amp;
176mktexlsr &amp;&amp;
177ln -v -sf etex /usr/bin/jadetex &amp;&amp;
178ln -v -sf pdfetex /usr/bin/pdfjadetex &amp;&amp;
179install -v -m644 -D index.html \
180 /usr/share/doc/jadetex-&jadetex-version;/index.html &amp;&amp;
181install -v -m644 *.1 /usr/share/man/man1</userinput></screen>
182
183 <para>If you downloaded the demo files tarball, issue the following
184 commands as an unprivileged user to test the functionality of the new
185 <application>JadeTex</application> installation:</para>
186
187<screen><userinput>cd demo &amp;&amp;
188openjade -t tex -d demo.dsl demo.sgm &amp;&amp;
189jadetex demo.tex &amp;&amp;
190pdfjadetex demo.tex &amp;&amp;
191ls -lrt &amp;&amp;
192cd ..</userinput></screen>
193
194 <para>The commands should complete without errors or warnings and create
195 <filename>demo.dvi</filename> and <filename>demo.pdf</filename> files.</para>
196
197 </sect2>
198
199 <sect2 role="commands">
200 <title>Command Explanations</title>
201
202 <para><command>sed -i -e ... -e ... $(kpsewhich texmf.cnf)</command>:
203 This command uses <command>kpsewhich</command> to locate the installed
204 <filename>texmf.cnf</filename>. The first change is used to modify the
205 header of the file so that if <application>TeX</application> is upgraded,
206 the file won't get overwritten. The next change adds a parameter to
207 increase ConTeXt's memory size to accommodate
208 <application>JadeTeX</application>.</para>
209
210 <para><command>fmtutil-sys ...</command>: These commands are used to build
211 the <filename>latex.fmt</filename>, <filename>jadetex.fmt</filename> and
212 <filename>pdfjadetex.fmt</filename> files. Additionally, the command
213 automagically places the files in the correct directory.</para>
214
215 <para><command>mktexlsr; ln -v -sf tex ...; ln -v -sf pdftex ...</command>:
216 The <application>JadeTeX</application> programs are actually just symlinks
217 to the <application>TeX</application> programs. <command>mktexlsr</command>
218 updates <application>TeX</application>'s <filename>ls-R</filename> databases
219 used by the <filename class='libraryfile'>libkpathsea</filename> library so
220 that <application>TeX</application> knows to use the
221 <application>JadeTeX</application> <filename>.fmt</filename> files when
222 <command>jadetex</command> or <command>pdfjadetex</command> is called.</para>
223
224 </sect2>
225
226 <sect2 role="configuration">
227 <title>Configuring JadeTeX</title>
228
229 <sect3>
230 <title>Config Files</title>
231
232 <para><filename>jadetex.dtx</filename> in the
233 <application>JadeTeX</application> source tree.</para>
234
235 </sect3>
236
237 <sect3>
238 <title>Configuration Information</title>
239
240 <para>If you need to modify the default <application>JadeTeX</application>
241 macro settings, see the
242 <ulink url="http://jadetex.sourceforge.net/#index-div-d18e397">
243 <application>JadeTeX</application> FAQ</ulink>.</para>
244
245 </sect3>
246
247 </sect2>
248
249 <sect2 role="content">
250 <title>Contents</title>
251
252 <segmentedlist>
253 <segtitle>Installed Programs</segtitle>
254 <segtitle>Installed Libraries</segtitle>
255 <segtitle>Installed Directories</segtitle>
256
257 <seglistitem>
258 <seg>jadetex and pdfjadetex</seg>
259 <seg>None</seg>
260 <seg>/usr/share/texmf-local and
261 /usr/share/doc/jadetex-&jadetex-version;</seg>
262 </seglistitem>
263 </segmentedlist>
264
265 <variablelist>
266 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
267 <?dbfo list-presentation="list"?>
268 <?dbhtml list-presentation="table"?>
269
270 <varlistentry id="jadetex-prog">
271 <term><command>jadetex</command></term>
272 <listitem>
273 <para>transforms LaTeX macros created by
274 <application>OpenJade</application> into DVI/PostScript forms.</para>
275 <indexterm zone="jadetex jadetex-prog">
276 <primary sortas="b-jadetex">jadetex</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="pdfjadetex">
282 <term><command>pdfjadetex</command></term>
283 <listitem>
284 <para>transforms LaTeX macros created by
285 <application>OpenJade</application> into Portable Document Format
286 (PDF) forms.</para>
287 <indexterm zone="jadetex pdfjadetex">
288 <primary sortas="b-pdfjadetex">pdfjadetex</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 </variablelist>
294
295 </sect2>
296
297</sect1>
Note: See TracBrowser for help on using the repository browser.