source: pst/typesetting/jadetex.xml@ 50e4e1f

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 50e4e1f was 50e4e1f, checked in by Igor Živković <igor@…>, 20 years ago

Fixed a typo in JadeTeX instructions.

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