source: pst/typesetting/jadetex.xml@ 28da027b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 28da027b was 28da027b, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated the JadeTex instructions to work with Tex-3.0; added a note to the acknowledgments page to recognize Steffen Knollmann creating the instructions

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

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