source: pst/typesetting/jadetex.xml@ 8134bed

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 8134bed was 8134bed, checked in by Ken Moffat <ken@…>, 13 years ago

Mutt-1.5.21

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