2004-06-14 13:45:05 +08:00
|
|
|
<!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;
|
2004-06-29 06:09:39 +08:00
|
|
|
|
2004-06-14 13:45:05 +08:00
|
|
|
<!ENTITY tex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src-&tex-version;.tar.gz">
|
|
|
|
<!ENTITY texmf-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmf-&tex-version;.tar.gz">
|
|
|
|
<!ENTITY texmfsrc-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmfsrc-&tex-version;.tar.gz">
|
2004-07-03 00:37:19 +08:00
|
|
|
<!ENTITY tex-size "64 MB">
|
|
|
|
<!ENTITY tex-optional-size "87 MB">
|
|
|
|
<!ENTITY tex-buildsize "344 MB">
|
|
|
|
<!ENTITY tex-optional-buildsize "415 MB">
|
2004-06-14 13:45:05 +08:00
|
|
|
<!ENTITY tex-time "2.97 SBU">
|
|
|
|
]>
|
|
|
|
|
2003-09-24 07:58:37 +08:00
|
|
|
<sect1 id="pst-typesetting-tex" xreflabel="TeX-&tex-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy: $</othername>
|
|
|
|
<date>$Date: $</date>
|
|
|
|
</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>
|
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'>
|
2004-07-03 00:37:19 +08:00
|
|
|
<listitem><para>Required Download (FTP): <ulink
|
2004-06-14 13:45:05 +08:00
|
|
|
url="&tex-download-ftp;"/></para></listitem>
|
2004-07-03 00:37:19 +08:00
|
|
|
<listitem><para>Required Download (FTP): <ulink
|
2004-06-14 13:45:05 +08:00
|
|
|
url="&texmf-download-ftp;"/></para></listitem>
|
|
|
|
<listitem><para>Optional Download (FTP): <ulink
|
|
|
|
url="&texmfsrc-download-ftp;"/></para></listitem>
|
2004-07-03 00:37:19 +08:00
|
|
|
<listitem><para>Download size:
|
|
|
|
&tex-size; (&tex-optional-size; with optional tarball)</para></listitem>
|
2004-06-14 13:45:05 +08:00
|
|
|
<listitem><para>Estimated Disk space required:
|
2004-07-29 05:07:09 +08:00
|
|
|
&tex-buildsize; (&tex-optional-buildsize; with optional tarball)</para>
|
|
|
|
</listitem>
|
2004-06-14 13:45:05 +08:00
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&tex-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Additional Downloads</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2004-07-29 05:07:09 +08:00
|
|
|
<listitem><para>Required Patch (if using Glibc >2.3.3): <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>
|
2004-06-14 13:45:05 +08:00
|
|
|
</itemizedlist></sect3>
|
|
|
|
|
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>
|
|
|
|
<para><xref linkend="x-installing"/>,
|
|
|
|
<xref linkend="openssl"/>,
|
|
|
|
<xref linkend="mysql"/> and
|
2004-07-04 14:28:50 +08:00
|
|
|
<xref linkend="perl-modules"/>: Tk-&Perl-Tk-version;</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>
|
|
|
|
|
|
|
|
<para><application>TeX</application> is installed from the source
|
|
|
|
directory (usually <filename class="directory">/usr/src</filename>) and untarring
|
|
|
|
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>
|
|
|
|
|
2004-06-29 06:09:39 +08:00
|
|
|
<para>Install <application>TeX</application> by running the following
|
|
|
|
commands:</para>
|
2004-06-14 13:45:05 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>mkdir -p /usr/share/texmf &&
|
|
|
|
tar zxvf tetex-src-&tex-version;.tar.gz &&
|
|
|
|
cd tetex-src-&tex-version; &&
|
|
|
|
gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
|
|
|
|
| (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
|
|
|
|
|
2004-07-03 00:37:19 +08:00
|
|
|
<para>If the optional <filename>texmf</filename> source code
|
|
|
|
<acronym>TAR</acronym> ball was downloaded, untar it now:</para>
|
|
|
|
|
2004-06-14 13:45:05 +08:00
|
|
|
<screen><userinput><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
|
|
|
|
| (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
|
|
|
|
|
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 \
|
|
|
|
--without-texinfo --with-system-ncurses --with-system-zlib \
|
|
|
|
--exec-prefix=/usr --bindir=/usr/bin &&
|
|
|
|
make world &&
|
|
|
|
texconfig dvips paper letter &&
|
|
|
|
texconfig font rw</command></userinput></screen>
|
|
|
|
|
|
|
|
<note><para>
|
|
|
|
The paper size may be changed to a4, as is used in most countries.
|
|
|
|
</para></note>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation command explanations</title>
|
|
|
|
|
|
|
|
<para><screen><command>gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
|
|
|
|
| (umask 0; cd /usr/share/texmf; tar xvf -)</command></screen>
|
|
|
|
Untar the <application>TeX</application> fonts and macro libraries.</para>
|
|
|
|
|
|
|
|
<para><parameter>--with-x=no</parameter>: This switch will avoid any
|
|
|
|
<application>XFree86</application> dependencies.
|
|
|
|
<application>TeX</application> can be compiled with
|
|
|
|
<application>XFree86</application> support, notably for
|
|
|
|
<command>xdvi</command>. If this is desired, remove this
|
|
|
|
configure option.</para>
|
|
|
|
|
|
|
|
<para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: This switch
|
|
|
|
will ensure that <application>TeX</application> binaries will be installed in
|
|
|
|
<filename class="directory">/usr/bin</filename>.</para>
|
|
|
|
|
|
|
|
<para><option>--without-texinfo</option>: A default
|
|
|
|
<acronym>LFS</acronym> installation already has the
|
|
|
|
<application>texinfo</application> package
|
|
|
|
installed; this switch will avoid overwriting it with the included
|
|
|
|
<application>texinfo</application>
|
|
|
|
package.</para>
|
|
|
|
|
|
|
|
<para><option>--with-system-ncurses</option>: This switch specifies using the
|
2004-06-29 06:09:39 +08:00
|
|
|
already installed <filename class="libraryfile">libncurses</filename>
|
|
|
|
library.</para>
|
2004-06-14 13:45:05 +08:00
|
|
|
|
2004-07-13 20:21:51 +08:00
|
|
|
<para><option>--with-system-zlib</option>:
|
2004-07-03 00:37:19 +08:00
|
|
|
<acronym>LFS</acronym> systems starting with version 4.0 have
|
|
|
|
<application>Zlib</application> installed as part of the
|
2004-06-14 13:45:05 +08:00
|
|
|
base operating system; this switch avoids building it here.</para>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2004-07-03 00:37:19 +08:00
|
|
|
<para>The <application>TeX</application> package contains 101 separate
|
|
|
|
binaries and shell scripts, and another 37 symlinks to these programs.
|
|
|
|
<application>TeX</application> also builds the
|
|
|
|
<filename class='libraryfile'>libkpathsea</filename> library.
|
2004-06-14 13:45:05 +08:00
|
|
|
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>
|
|
|
|
</sect2>
|
2002-08-24 18:19:19 +08:00
|
|
|
|
|
|
|
</sect1>
|