source: pst/typesetting/jadetex.xml@ 0aeb696

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

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

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

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