2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-14 13:45:05 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-06-29 06:09:39 +08:00
|
|
|
|
2005-03-07 01:06:45 +08:00
|
|
|
<!ENTITY tex-download-http "http://www.ibiblio.org/pub/packages/tex/teTeX/distrib/tetex-src-&tex-version;.tar.gz" >
|
|
|
|
<!-- <!ENTITY tex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-src-&tex-version;.tar.gz"> -->
|
|
|
|
<!ENTITY tex-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/tetex-src-&tex-version;.tar.gz">
|
2005-02-17 05:46:41 +08:00
|
|
|
<!ENTITY tex-md5sum "a16f6bba227d55e79aeee46fbbd82d28">
|
|
|
|
<!ENTITY tex-size "11.7 MB">
|
|
|
|
<!ENTITY tex-buildsize "344 MB (415 MB with optional tarball)">
|
|
|
|
<!ENTITY tex-time "1.82 SBU">
|
|
|
|
|
2005-03-07 01:06:45 +08:00
|
|
|
<!-- <!ENTITY texmf-download "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-texmf-&tex-version;.tar.gz"> -->
|
|
|
|
<!ENTITY texmf-download "http://www.ibiblio.org/pub/packages/tex/teTeX/distrib/tetex-texmf-&tex-version;.tar.gz">
|
2005-02-17 05:46:41 +08:00
|
|
|
<!ENTITY texmf-md5sum "d3bdb96f9077e43b2115d3cc471743b3">
|
|
|
|
<!ENTITY texmf-size "52.4 MB">
|
|
|
|
|
2005-03-07 01:06:45 +08:00
|
|
|
<!-- <!ENTITY texmfsrc-download "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-texmfsrc-&tex-version;.tar.gz"> -->
|
|
|
|
<!ENTITY texmfsrc-download "http://www.ibiblio.org/pub/packages/tex/teTeX/distrib/tetex-texmfsrc-&tex-version;.tar.gz">
|
2005-02-17 05:46:41 +08:00
|
|
|
<!ENTITY texmfsrc-md5sum "40d4b2c5582eccbee4b6ec692c3cc253">
|
|
|
|
<!ENTITY texmfsrc-size "22.9 MB">
|
2004-06-14 13:45:05 +08:00
|
|
|
]>
|
|
|
|
|
2005-01-11 07:55:51 +08:00
|
|
|
<sect1 id="tex" xreflabel="TeX-&tex-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 11:24:31 +08:00
|
|
|
<?dbhtml filename="tex.html"?>
|
2003-09-24 07:58:37 +08:00
|
|
|
<title>TeX-&tex-version;</title>
|
2005-01-11 07:55:51 +08:00
|
|
|
<indexterm zone="tex">
|
2005-01-17 00:56:15 +08:00
|
|
|
<primary sortas="a-TeX">TeX</primary></indexterm>
|
2002-08-24 18:19:19 +08:00
|
|
|
|
2004-06-14 13:45:05 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>TeX</application></title>
|
|
|
|
|
|
|
|
<para><application>TeX</application> is a typesetting package, able to create
|
2004-07-03 00:37:19 +08:00
|
|
|
documents in a variety of formats. The optional <filename>texmfsrc</filename>
|
2004-06-14 13:45:05 +08:00
|
|
|
<acronym>TAR</acronym> ball contains source code for packages that are
|
2004-07-03 00:37:19 +08:00
|
|
|
contained in the <filename>texmf</filename> <acronym>TAR</acronym> ball,
|
|
|
|
including the docstrip sources.</para>
|
2004-06-14 13:45:05 +08:00
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2005-01-31 01:59:50 +08:00
|
|
|
<listitem><para>Download (HTTP):
|
|
|
|
<ulink url="&tex-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&tex-download-ftp;"/></para></listitem>
|
2005-02-17 05:46:41 +08:00
|
|
|
<listitem><para>Download MD5 sum: &tex-md5sum;</para></listitem>
|
|
|
|
<listitem><para>Download size: &tex-size;</para></listitem>
|
2005-01-31 01:59:50 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
2005-02-17 05:46:41 +08:00
|
|
|
&tex-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time: &tex-time;</para></listitem>
|
|
|
|
</itemizedlist>
|
2004-06-14 13:45:05 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Additional Downloads</title>
|
2005-02-17 05:46:41 +08:00
|
|
|
<sect4><title>Required macros and fonts</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&texmf-download;"/></para></listitem>
|
|
|
|
<listitem><para>Download MD5 sum: &texmf-md5sum;</para></listitem>
|
|
|
|
<listitem><para>Download size: &texmf-size;</para></listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4><title>Optional <filename>texmf</filename> sources:</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&texmfsrc-download;"/></para></listitem>
|
|
|
|
<listitem><para>Download MD5 sum: &texmfsrc-md5sum;</para></listitem>
|
|
|
|
<listitem><para>Download size: &texmfsrc-size;</para></listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4><title>Patches</title>
|
2004-06-14 13:45:05 +08:00
|
|
|
<itemizedlist spacing='compact'>
|
2005-01-31 01:59:50 +08:00
|
|
|
<listitem><para>Required Patch: <ulink
|
|
|
|
url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para></listitem>
|
2004-07-03 00:37:19 +08:00
|
|
|
<listitem><para>Recommended Patch: <ulink
|
2004-07-29 05:07:09 +08:00
|
|
|
url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
|
|
|
|
</listitem>
|
2005-02-17 05:46:41 +08:00
|
|
|
</itemizedlist>
|
|
|
|
</sect4>
|
|
|
|
</sect3>
|
2004-06-14 13:45:05 +08:00
|
|
|
|
2004-07-03 00:37:19 +08:00
|
|
|
<sect3><title><application>TeX</application> dependencies</title>
|
2004-07-29 05:07:09 +08:00
|
|
|
<sect4><title>Required</title>
|
|
|
|
<para><xref linkend="ed"/></para>
|
|
|
|
</sect4>
|
|
|
|
|
2004-07-03 00:37:19 +08:00
|
|
|
<sect4><title>Optional</title>
|
2004-10-20 22:08:55 +08:00
|
|
|
<para><xref linkend="libpng"/>,
|
|
|
|
<xref linkend="x-installing"/>,
|
2005-01-26 00:02:00 +08:00
|
|
|
<xref linkend="openssl"/>,
|
2004-10-20 22:08:55 +08:00
|
|
|
<xref linkend="mysql"/>,
|
|
|
|
<xref linkend="perl-modules"/>: Tk-&Perl-Tk-version;, <ulink
|
2005-01-11 07:55:51 +08:00
|
|
|
url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">
|
|
|
|
t1lib</ulink>
|
2004-10-20 22:08:55 +08:00
|
|
|
and <ulink url="http://www.w3.org/Library/">libwww</ulink></para>
|
2004-07-03 00:37:19 +08:00
|
|
|
</sect4>
|
|
|
|
</sect3>
|
|
|
|
|
2004-06-14 13:45:05 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>TeX</application></title>
|
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<!--
|
2004-10-20 22:08:55 +08:00
|
|
|
<para><application>TeX</application> is installed from the source directory
|
|
|
|
(usually <filename class="directory">/usr/src</filename>) and untarring
|
2004-06-14 13:45:05 +08:00
|
|
|
instructions are included below instead of the usual assumption that you
|
|
|
|
have already untarred the package. The source directory should contain
|
|
|
|
the two required packages and the optional package, if desired.</para>
|
2005-01-31 01:59:50 +08:00
|
|
|
-->
|
2004-06-14 13:45:05 +08:00
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<para>Before building <application>TeX</application>, the macros and fonts
|
|
|
|
package (<filename>texmf</filename> tarball) must be installed. Install the
|
|
|
|
macros and fonts using the following commands as the root user:</para>
|
2004-06-14 13:45:05 +08:00
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<screen><userinput role='root'><command>install -v -d -m755 /usr/share/texmf &&
|
2004-06-14 13:45:05 +08:00
|
|
|
gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
|
2005-01-31 01:59:50 +08:00
|
|
|
| (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
|
2004-06-14 13:45:05 +08:00
|
|
|
|
2004-07-03 00:37:19 +08:00
|
|
|
<para>If the optional <filename>texmf</filename> source code
|
2005-01-31 01:59:50 +08:00
|
|
|
<acronym>TAR</acronym> ball was downloaded, untar it now as the root
|
|
|
|
user:</para>
|
2004-07-03 00:37:19 +08:00
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<screen><userinput role='root'><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
|
|
|
|
| (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
|
2004-06-14 13:45:05 +08:00
|
|
|
|
2005-01-31 01:59:50 +08:00
|
|
|
<para>Install <application>TeX</application> by running the following
|
|
|
|
commands:</para>
|
2005-01-11 07:55:51 +08:00
|
|
|
|
2004-07-29 05:07:09 +08:00
|
|
|
<screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &&
|
|
|
|
patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &&
|
2004-06-14 13:45:05 +08:00
|
|
|
./configure --with-x=no --prefix=/usr \
|
2005-01-31 01:59:50 +08:00
|
|
|
--without-texinfo --with-system-ncurses --with-system-zlib \
|
2004-06-14 13:45:05 +08:00
|
|
|
--exec-prefix=/usr --bindir=/usr/bin &&
|
2005-01-31 01:59:50 +08:00
|
|
|
make all</command></userinput></screen>
|
|
|
|
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>make install &&
|
2004-06-14 13:45:05 +08:00
|
|
|
texconfig dvips paper letter &&
|
|
|
|
texconfig font rw</command></userinput></screen>
|
|
|
|
|
2005-01-11 07:55:51 +08:00
|
|
|
<note><para>The paper size may be changed to a4, as is used in most
|
|
|
|
countries.</para></note>
|
2004-06-14 13:45:05 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation command explanations</title>
|
|
|
|
|
2004-10-20 22:08:55 +08:00
|
|
|
<para><option>--with-x=no</option>: This switch will avoid any
|
|
|
|
<application>X</application> Window dependencies.
|
2004-06-14 13:45:05 +08:00
|
|
|
<application>TeX</application> can be compiled with
|
2004-10-20 22:08:55 +08:00
|
|
|
<application>X</application> Window support, notably for
|
2004-06-14 13:45:05 +08:00
|
|
|
<command>xdvi</command>. If this is desired, remove this
|
|
|
|
configure option.</para>
|
|
|
|
|
2004-10-20 22:08:55 +08:00
|
|
|
<para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
|
|
|
|
switches ensure that <application>TeX</application> binaries are installed in
|
2004-06-14 13:45:05 +08:00
|
|
|
<filename class="directory">/usr/bin</filename>.</para>
|
|
|
|
|
2004-10-20 22:08:55 +08:00
|
|
|
<para><parameter>--without-texinfo</parameter>: A default
|
|
|
|
<acronym>LFS</acronym> installation already has the
|
2005-01-31 01:59:50 +08:00
|
|
|
<application>Texinfo</application> package installed; this switch will avoid
|
|
|
|
overwriting it with the included <application>Texinfo</application>
|
2004-06-14 13:45:05 +08:00
|
|
|
package.</para>
|
|
|
|
|
2004-10-20 22:08:55 +08:00
|
|
|
<para><parameter>--with-system-ncurses</parameter>: This switch specifies
|
|
|
|
using the already installed <filename class="libraryfile">libncurses</filename>
|
2004-06-29 06:09:39 +08:00
|
|
|
library.</para>
|
2004-06-14 13:45:05 +08:00
|
|
|
|
2004-10-20 22:08:55 +08:00
|
|
|
<para><parameter>--with-system-zlib</parameter>: <acronym>LFS</acronym> systems
|
|
|
|
starting with version 4.0 have <application>Zlib</application> installed as
|
|
|
|
part of the base operating system; this switch avoids building it here.</para>
|
2004-06-14 13:45:05 +08:00
|
|
|
|
|
|
|
<para><command>texconfig dvips paper letter</command>: This command sets the
|
|
|
|
default paper size for <application>TeX</application>.</para>
|
|
|
|
|
|
|
|
<para><command>texconfig font rw</command>: This command specifies writable
|
|
|
|
fonts.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2005-01-11 07:55:51 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
|
|
<seg>101 separate binaries and scripts along with 37 symlinks to these
|
|
|
|
programs.</seg>
|
|
|
|
<seg>libkpathsea.a</seg>
|
|
|
|
<seg>/usr/share/texmf</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
|
|
|
|
<varlistentry id="tex-programs">
|
|
|
|
<term><command>TeX programs</command></term>
|
|
|
|
<listitem><para>included in the <application>TeX</application> package are too
|
|
|
|
numerous to individually list. Please refer to
|
|
|
|
<ulink url="file:///usr/share/texmf/doc/index.html"/> for details, as well as
|
|
|
|
a tour of the expansive <application>TeX</application> documentation.</para>
|
|
|
|
<indexterm zone="tex tex-programs">
|
2005-01-17 00:56:15 +08:00
|
|
|
<primary sortas="b-TeX-programs">TeX programs</primary></indexterm>
|
2005-01-11 07:55:51 +08:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libkpathsea">
|
|
|
|
<term><filename class='libraryfile'>libkpathsea.a</filename></term>
|
|
|
|
<listitem><para>contains functions used by <application>TeX</application>
|
|
|
|
for searching and cataloging path names.</para>
|
|
|
|
<indexterm zone="tex libkpathsea">
|
|
|
|
<primary sortas="c-libkpathsea">libkpathsea.a</primary></indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
|
2004-06-14 13:45:05 +08:00
|
|
|
</sect2>
|
2002-08-24 18:19:19 +08:00
|
|
|
|
|
|
|
</sect1>
|