source: pst/typesetting/jadetex.xml@ 7be6e4e4

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

Added style information and documentation installation to the JadeTeX instructions

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

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