source: pst/typesetting/jadetex.xml@ 9f12e36

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

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

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

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