source: pst/typesetting/jadetex.xml@ 04af8b24

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 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 04af8b24 was 04af8b24, checked in by Randy McMurchy <randy@…>, 20 years ago

Modified sed commands in JadeTex instructions; modified DocBook-utils, libusb and FontConfig instructions to account for removal of OpenSP SGML catalog definitions

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

  • Property mode set to 100644
File size: 6.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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?download">
8 <!ENTITY jadetex-download-ftp " ">
9 <!ENTITY jadetex-size "103 KB">
10 <!ENTITY jadetex-buildsize "9.6 MB">
11 <!ENTITY jadetex-time ".11 SBU">
12]>
13
14<sect1 id="jadetex" xreflabel="JadeTeX-&jadetex-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="jadetex.html"?>
20<title>JadeTeX-&jadetex-version;</title>
21
22
23<sect2>
24<title>Introduction to <application>JadeTeX</application></title>
25
26<para>The <application>JadeTeX</application> package is a companion package to
27the <application>OpenJade</application> <acronym>DSSSL</acronym> processor.
28<application>JadeTeX</application> transforms high level LaTeX macros into
29<acronym>DVI</acronym>/PostScript and Portable Document Format
30(<acronym>PDF</acronym>) forms.</para>
31
32<sect3><title>Package information</title>
33<itemizedlist spacing='compact'>
34<listitem><para>Download (HTTP): <ulink url="&jadetex-download-http;"/></para></listitem>
35<listitem><para>Download (FTP): <ulink url="&jadetex-download-ftp;"/></para></listitem>
36<listitem><para>Download size: &jadetex-size;</para></listitem>
37<listitem><para>Estimated Disk space required: &jadetex-buildsize;</para></listitem>
38<listitem><para>Estimated build time: &jadetex-time;</para></listitem></itemizedlist>
39</sect3>
40
41<sect3><title><application>JadeTeX</application> dependencies</title>
42<sect4><title>Required</title>
43<para><xref linkend="pst-typesetting-tex"/> and
44<xref linkend="openjade"/></para></sect4>
45</sect3>
46
47</sect2>
48
49<sect2>
50<title>Installation of <application>JadeTeX</application></title>
51
52<para>Install <application>JadeTex</application> by running the following
53commands:</para>
54
55<screen><userinput><command>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
56 /usr/share/texmf/web2c/texmf.cnf</command></userinput></screen>
57
58<para>You'll need to make two modifications to
59<filename>/usr/share/texmf/web2c/texmf.cnf</filename>. First, add the
60following line under the section titled <quote>ConTeXt is a memory
61hog...</quote>:</para>
62
63<screen><userinput>pool_size.context = 750000</userinput></screen>
64
65<para>Next, add <command>latex</command>, <command>jadetex</command> and
66<command>pdfjadetex</command> settings using the following command:</para>
67
68<screen><userinput><command>cat &gt;&gt; /usr/share/texmf/web2c/texmf.cnf &lt;&lt; "EOF"</command>
69
70% The following 3 sections added for JadeTeX
71
72% latex settings
73main_memory.latex = 1100000
74param_size.latex = 1500
75stack_size.latex = 1500
76hash_extra.latex = 15000
77string_vacancies.latex = 45000
78pool_free.latex = 47500
79nest_size.latex = 500
80save_size.latex = 5000
81pool_size.latex = 500000
82max_strings.latex = 55000
83font_mem_size.latex= 400000
84
85% jadetex settings
86main_memory.jadetex = 1500000
87param_size.jadetex = 1500
88stack_size.jadetex = 1500
89hash_extra.jadetex = 50000
90string_vacancies.jadetex = 45000
91pool_free.jadetex = 47500
92nest_size.jadetex = 500
93save_size.jadetex = 5000
94pool_size.jadetex = 500000
95max_strings.jadetex = 55000
96
97% pdfjadetex settings
98main_memory.pdfjadetex = 2500000
99param_size.pdfjadetex = 1500
100stack_size.pdfjadetex = 1500
101hash_extra.pdfjadetex = 50000
102string_vacancies.pdfjadetex = 45000
103pool_free.pdfjadetex = 47500
104nest_size.pdfjadetex = 500
105save_size.pdfjadetex = 5000
106pool_size.pdfjadetex = 500000
107max_strings.pdfjadetex = 55000
108<command>EOF</command></userinput></screen>
109
110<para>Rebuild and install a new <filename>latex.fmt</filename> file using the
111following commands:</para>
112
113<screen><userinput><command>cp -R /usr/share/texmf/tex/latex/config . &amp;&amp;
114cd config &amp;&amp;
115tex -ini -progname=latex latex.ini &amp;&amp;
116mv /usr/share/texmf/web2c/latex.fmt \
117 /usr/share/texmf/web2c/latex.fmt.orig &amp;&amp;
118install -m 644 latex.fmt /usr/share/texmf/web2c &amp;&amp;
119cd ..</command></userinput></screen>
120
121<para>Finally, build and install <application>JadeTex</application> using the
122following commands:</para>
123
124<screen><userinput><command>make install &amp;&amp;
125ln -sf tex /usr/bin/jadetex &amp;&amp;
126ln -sf pdftex /usr/bin/pdfjadetex &amp;&amp;
127mktexlsr</command></userinput></screen>
128
129</sect2>
130
131<sect2>
132<title>Command explanations</title>
133
134<para><command>sed -i -e "s/original texmf.cnf/modified texmf.cnf/"</command>:
135This changes <filename>/usr/share/texmf/web2c/texmf.cnf</filename> so that if
136<application>TeX</application> is upgraded, this file won't get
137overwritten.</para>
138
139<para><command>ln -sf tex ...; ln -sf pdftex ...; mktexlsr</command>: The
140<application>JadeTeX</application> programs are actually just symlinks to the
141<application>TeX</application> programs. <command>mktexlsr</command> updates
142<application>TeX</application>'s <filename>ls-R</filename> database used by
143the <filename class='libraryfile'>libkpathsea</filename> library so that
144<application>TeX</application> knows to use the
145<application>JadeTeX</application> <filename>.fmt</filename> files when
146<command>jadetex</command> or <command>pdfjadetex</command> is called.</para>
147
148</sect2>
149
150<sect2>
151<title>Configuring <application>JadeTeX</application></title>
152
153<sect3><title>Config files</title>
154<para><filename>jadetex.dtx</filename> in the
155<application>JadeTeX</application> source tree.</para>
156</sect3>
157
158<sect3><title>Configuration Information</title>
159
160<para>If you need to modify the default <application>JadeTeX</application>
161macro settings, see the <ulink
162url="http://jadetex.sourceforge.net/#index-div-d18e397">
163<application>JadeTeX</application> <acronym>FAQ</acronym></ulink>.</para>
164</sect3>
165
166</sect2>
167
168<sect2>
169<title>Contents</title>
170
171<para>The <application>JadeTex</application> package contains
172<command>jadetex</command> and <command>pdfjadetex</command>.</para>
173
174</sect2>
175
176<sect2><title>Description</title>
177
178<sect3><title>jadetex</title>
179<para><command>jadetex</command> transforms LaTeX macros created by
180<application>OpenJade</application> into <acronym>DVI</acronym>/PostScript
181forms.</para></sect3>
182
183<sect3><title>pdfjadetex</title>
184<para><command>pdfjadetex</command> transforms LaTeX macros created by
185<application>OpenJade</application> into Portable Document Format
186(<acronym>PDF</acronym>) forms.</para></sect3>
187
188</sect2>
189
190</sect1>
191
Note: See TracBrowser for help on using the repository browser.