mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Added new package JadeTex-3.13
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2413 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
dfd0a5d5d2
commit
6c23acdbb3
@ -449,6 +449,7 @@
|
||||
|
||||
<!-- Chapter 46 -->
|
||||
<!ENTITY tex-version "2.0.2">
|
||||
<!ENTITY jadetex-version "3.13">
|
||||
|
||||
|
||||
|
||||
|
@ -18,6 +18,9 @@ who wrote what.</para>
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem><para>July 2nd, 2004 [randy]: Added new package
|
||||
JadeTeX-3.13.</para></listitem>
|
||||
|
||||
<listitem><para>July 2nd, 2004 [randy]: Added optional dependencies and
|
||||
updated the package entities for TeX.</para></listitem>
|
||||
|
||||
|
@ -61,4 +61,6 @@
|
||||
<!-- Typesetting -->
|
||||
<!ENTITY pst-typesetting SYSTEM "typesetting/typesetting.xml">
|
||||
<!ENTITY % tex SYSTEM "typesetting/tex/tex.ent">
|
||||
<!ENTITY % jadetex SYSTEM "typesetting/tex/jadetex.ent">
|
||||
%tex;
|
||||
%jadetex;
|
||||
|
189
pst/typesetting/jadetex.xml
Normal file
189
pst/typesetting/jadetex.xml
Normal file
@ -0,0 +1,189 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY jadetex-download-http "http://prdownloads.sourceforge.net/jadetex/jadetex-&jadetex-version;.tar.gz?download">
|
||||
<!ENTITY jadetex-download-ftp " ">
|
||||
<!ENTITY jadetex-size "103 KB">
|
||||
<!ENTITY jadetex-buildsize "9.6 MB">
|
||||
<!ENTITY jadetex-time ".11 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="jadetex" xreflabel="JadeTeX-&jadetex-version;">
|
||||
<?dbhtml filename="jadetex.html"?>
|
||||
<title>JadeTeX-&jadetex-version;</title>
|
||||
|
||||
|
||||
<sect2>
|
||||
<title>Introduction to <application>JadeTeX</application></title>
|
||||
|
||||
<para>The <application>JadeTeX</application> package is a companion package to
|
||||
the <application>OpenJade</application> <acronym>DSSSL</acronym> processor.
|
||||
<application>JadeTeX</application> transforms high level LaTeX macros into
|
||||
<acronym>DVI</acronym>/PostScript and Portable Document Format
|
||||
(<acronym>PDF</acronym>) forms.</para>
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink url="&jadetex-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink url="&jadetex-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download size: &jadetex-size;</para></listitem>
|
||||
<listitem><para>Estimated Disk space required: &jadetex-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time: &jadetex-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title><application>JadeTeX</application> dependencies</title>
|
||||
<sect4><title>Required</title>
|
||||
<para><xref linkend="pst-typesetting-tex"/> and
|
||||
<xref linkend="openjade"/></para></sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of <application>JadeTeX</application></title>
|
||||
|
||||
<para>Install <application>JadeTex</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput><command>cp /usr/share/texmf/web2c/texmf.cnf \
|
||||
/usr/share/texmf/web2c/texmf.cnf.backup &&
|
||||
sed -i -e "s@original texmf.cnf@modified texmf.cnf@" \
|
||||
/usr/share/texmf/web2c/texmf.cnf</command></userinput></screen>
|
||||
|
||||
<para>You'll need to make two modifications to
|
||||
<filename>/usr/share/texmf/web2c/texmf.cnf</filename>. First, add the
|
||||
following line under the section titled <quote>ConTeXt is a memory
|
||||
hog...</quote>:</para>
|
||||
|
||||
<screen><userinput>pool_size.context = 750000</userinput></screen>
|
||||
|
||||
<para>Next, add <command>latex</command>, <command>jadetex</command> and
|
||||
<command>pdfjadetex</command> settings using the following command:</para>
|
||||
|
||||
<screen><userinput><command>cat >> /usr/share/texmf/web2c/texmf.cnf << "EOF"</command>
|
||||
|
||||
% The following 3 sections added for JadeTeX
|
||||
|
||||
% latex settings
|
||||
main_memory.latex = 1100000
|
||||
param_size.latex = 1500
|
||||
stack_size.latex = 1500
|
||||
hash_extra.latex = 15000
|
||||
string_vacancies.latex = 45000
|
||||
pool_free.latex = 47500
|
||||
nest_size.latex = 500
|
||||
save_size.latex = 5000
|
||||
pool_size.latex = 500000
|
||||
max_strings.latex = 55000
|
||||
font_mem_size.latex= 400000
|
||||
|
||||
% jadetex settings
|
||||
main_memory.jadetex = 1500000
|
||||
param_size.jadetex = 1500
|
||||
stack_size.jadetex = 1500
|
||||
hash_extra.jadetex = 50000
|
||||
string_vacancies.jadetex = 45000
|
||||
pool_free.jadetex = 47500
|
||||
nest_size.jadetex = 500
|
||||
save_size.jadetex = 5000
|
||||
pool_size.jadetex = 500000
|
||||
max_strings.jadetex = 55000
|
||||
|
||||
% pdfjadetex settings
|
||||
main_memory.pdfjadetex = 2500000
|
||||
param_size.pdfjadetex = 1500
|
||||
stack_size.pdfjadetex = 1500
|
||||
hash_extra.pdfjadetex = 50000
|
||||
string_vacancies.pdfjadetex = 45000
|
||||
pool_free.pdfjadetex = 47500
|
||||
nest_size.pdfjadetex = 500
|
||||
save_size.pdfjadetex = 5000
|
||||
pool_size.pdfjadetex = 500000
|
||||
max_strings.pdfjadetex = 55000
|
||||
<command>EOF</command></userinput></screen>
|
||||
|
||||
<para>Rebuild and install a new <filename>latex.fmt</filename> file using the
|
||||
following commands:</para>
|
||||
|
||||
<screen><userinput><command>cp -R /usr/share/texmf/tex/latex/config . &&
|
||||
cd config &&
|
||||
tex -ini -progname=latex latex.ini &&
|
||||
cp /usr/share/texmf/web2c/latex.fmt \
|
||||
/usr/share/texmf/web2c/latex.fmt.backup &&
|
||||
install -m 644 latex.fmt /usr/share/texmf/web2c &&
|
||||
cd ..</command></userinput></screen>
|
||||
|
||||
<para>Finally, build and install <application>JadeTex</application> using the
|
||||
following commands:</para>
|
||||
|
||||
<screen><userinput><command>make install &&
|
||||
ln -sf tex /usr/bin/jadetex &&
|
||||
ln -sf pdftex /usr/bin/pdfjadetex &&
|
||||
mktexlsr</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para><command>sed -i -e "s@original texmf.cnf@modified texmf.cnf@"</command>:
|
||||
This changes <filename>/usr/share/texmf/web2c/texmf.cnf</filename> so that if
|
||||
<application>TeX</application> is upgraded, this file won't get
|
||||
overwritten.</para>
|
||||
|
||||
<para><command>ln -sf tex ...; ln -sf pdftex ...; mktexlsr</command>: The
|
||||
<application>JadeTeX</application> programs are actually just symlinks to the
|
||||
<application>TeX</application> programs. <command>mktexlsr</command> updates
|
||||
<application>TeX</application>'s <filename>ls-R</filename> database used by
|
||||
the <filename class='libraryfile'>libkpathsea</filename> library so that
|
||||
<application>TeX</application> knows to use the
|
||||
<application>JadeTeX</application> <filename>.fmt</filename> files when
|
||||
<command>jadetex</command> or <command>pdfjadetex</command> is called.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Configuring <application>JadeTeX</application></title>
|
||||
|
||||
<sect3><title>Config files</title>
|
||||
<para><filename>jadetex.dtx</filename> in the
|
||||
<application>JadeTeX</application> source tree.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
|
||||
<para>If you need to modify the default <application>JadeTeX</application>
|
||||
macro settings, see the <ulink
|
||||
url="http://jadetex.sourceforge.net/#index-div-d18e397">
|
||||
<application>JadeTeX</application> <acronym>FAQ</acronym></ulink>.</para>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>The <application>JadeTex</application> package contains
|
||||
<command>jadetex</command> and <command>pdfjadetex</command>.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2><title>Description</title>
|
||||
|
||||
<sect3><title>jadetex</title>
|
||||
<para><command>jadetex</command> transforms LaTeX macros created by
|
||||
<application>OpenJade</application> into <acronym>DVI</acronym>/PostScript
|
||||
forms.</para></sect3>
|
||||
|
||||
<sect3><title>pdfjadetex</title>
|
||||
<para><command>pdfjadetex</command> transforms LaTeX macros created by
|
||||
<application>OpenJade</application> into Portable Document Format
|
||||
(<acronym>PDF</acronym>) forms.</para></sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
@ -12,5 +12,6 @@
|
||||
typesetting.</para>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tex.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="jadetex.xml"/>
|
||||
|
||||
</chapter>
|
||||
|
Loading…
Reference in New Issue
Block a user