source: pst/typesetting/jadetex.xml@ 27d0323

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 27d0323 was 27d0323, checked in by Bruce Dubbs <bdubbs@…>, 13 years ago

Remove tetex

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

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