[c117e5a] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
[4f6275fd] | 5 |
|
---|
[c117e5a] | 6 | <!ENTITY tex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src-&tex-version;.tar.gz">
|
---|
| 7 | <!ENTITY texmf-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmf-&tex-version;.tar.gz">
|
---|
| 8 | <!ENTITY texmfsrc-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmfsrc-&tex-version;.tar.gz">
|
---|
[dfd0a5d5] | 9 | <!ENTITY tex-size "64 MB">
|
---|
| 10 | <!ENTITY tex-optional-size "87 MB">
|
---|
| 11 | <!ENTITY tex-buildsize "344 MB">
|
---|
| 12 | <!ENTITY tex-optional-buildsize "415 MB">
|
---|
[94b1dc3] | 13 | <!ENTITY tex-time "1.82 SBU">
|
---|
[c117e5a] | 14 | ]>
|
---|
| 15 |
|
---|
[19234f1] | 16 | <sect1 id="pst-typesetting-tex" xreflabel="TeX-&tex-version;">
|
---|
[a0f03b0] | 17 | <sect1info>
|
---|
[5cd0959d] | 18 | <othername>$LastChangedBy$</othername>
|
---|
| 19 | <date>$Date$</date>
|
---|
[a0f03b0] | 20 | </sect1info>
|
---|
[dd3f20f0] | 21 | <?dbhtml filename="tex.html"?>
|
---|
[19234f1] | 22 | <title>TeX-&tex-version;</title>
|
---|
[42e2f8d] | 23 |
|
---|
[c117e5a] | 24 | <sect2>
|
---|
| 25 | <title>Introduction to <application>TeX</application></title>
|
---|
| 26 |
|
---|
| 27 | <para><application>TeX</application> is a typesetting package, able to create
|
---|
[dfd0a5d5] | 28 | documents in a variety of formats. The optional <filename>texmfsrc</filename>
|
---|
[c117e5a] | 29 | <acronym>TAR</acronym> ball contains source code for packages that are
|
---|
[dfd0a5d5] | 30 | contained in the <filename>texmf</filename> <acronym>TAR</acronym> ball,
|
---|
| 31 | including the docstrip sources.</para>
|
---|
[c117e5a] | 32 |
|
---|
| 33 | <sect3><title>Package information</title>
|
---|
| 34 | <itemizedlist spacing='compact'>
|
---|
[dfd0a5d5] | 35 | <listitem><para>Required Download (FTP): <ulink
|
---|
[c117e5a] | 36 | url="&tex-download-ftp;"/></para></listitem>
|
---|
[dfd0a5d5] | 37 | <listitem><para>Required Download (FTP): <ulink
|
---|
[c117e5a] | 38 | url="&texmf-download-ftp;"/></para></listitem>
|
---|
| 39 | <listitem><para>Optional Download (FTP): <ulink
|
---|
| 40 | url="&texmfsrc-download-ftp;"/></para></listitem>
|
---|
[dfd0a5d5] | 41 | <listitem><para>Download size:
|
---|
| 42 | &tex-size; (&tex-optional-size; with optional tarball)</para></listitem>
|
---|
[518538f] | 43 | <listitem><para>Estimated disk space required:
|
---|
[68df39bf] | 44 | &tex-buildsize; (&tex-optional-buildsize; with optional tarball)</para>
|
---|
| 45 | </listitem>
|
---|
[c117e5a] | 46 | <listitem><para>Estimated build time:
|
---|
| 47 | &tex-time;</para></listitem></itemizedlist>
|
---|
| 48 | </sect3>
|
---|
| 49 |
|
---|
| 50 | <sect3><title>Additional Downloads</title>
|
---|
| 51 | <itemizedlist spacing='compact'>
|
---|
[68df39bf] | 52 | <listitem><para>Required Patch (if using Glibc >2.3.3): <ulink
|
---|
| 53 | url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para>
|
---|
| 54 | </listitem>
|
---|
[dfd0a5d5] | 55 | <listitem><para>Recommended Patch: <ulink
|
---|
[68df39bf] | 56 | url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
|
---|
| 57 | </listitem>
|
---|
[c117e5a] | 58 | </itemizedlist></sect3>
|
---|
| 59 |
|
---|
[dfd0a5d5] | 60 | <sect3><title><application>TeX</application> dependencies</title>
|
---|
[68df39bf] | 61 | <sect4><title>Required</title>
|
---|
| 62 | <para><xref linkend="ed"/></para>
|
---|
| 63 | </sect4>
|
---|
| 64 |
|
---|
[dfd0a5d5] | 65 | <sect4><title>Optional</title>
|
---|
[94b1dc3] | 66 | <para><xref linkend="libpng"/>,
|
---|
| 67 | <xref linkend="x-installing"/>,
|
---|
[dfd0a5d5] | 68 | <xref linkend="openssl"/>,
|
---|
[94b1dc3] | 69 | <xref linkend="mysql"/>,
|
---|
| 70 | <xref linkend="perl-modules"/>: Tk-&Perl-Tk-version;, <ulink
|
---|
| 71 | url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">t1lib</ulink>
|
---|
| 72 | and <ulink url="http://www.w3.org/Library/">libwww</ulink></para>
|
---|
[dfd0a5d5] | 73 | </sect4>
|
---|
| 74 | </sect3>
|
---|
| 75 |
|
---|
[c117e5a] | 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2>
|
---|
| 79 | <title>Installation of <application>TeX</application></title>
|
---|
| 80 |
|
---|
[94b1dc3] | 81 | <para><application>TeX</application> is installed from the source directory
|
---|
| 82 | (usually <filename class="directory">/usr/src</filename>) and untarring
|
---|
[c117e5a] | 83 | instructions are included below instead of the usual assumption that you
|
---|
| 84 | have already untarred the package. The source directory should contain
|
---|
| 85 | the two required packages and the optional package, if desired.</para>
|
---|
| 86 |
|
---|
[4f6275fd] | 87 | <para>Install <application>TeX</application> by running the following
|
---|
| 88 | commands:</para>
|
---|
[c117e5a] | 89 |
|
---|
| 90 | <screen><userinput><command>mkdir -p /usr/share/texmf &&
|
---|
| 91 | tar zxvf tetex-src-&tex-version;.tar.gz &&
|
---|
| 92 | cd tetex-src-&tex-version; &&
|
---|
| 93 | gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
|
---|
| 94 | | (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
|
---|
| 95 |
|
---|
[dfd0a5d5] | 96 | <para>If the optional <filename>texmf</filename> source code
|
---|
| 97 | <acronym>TAR</acronym> ball was downloaded, untar it now:</para>
|
---|
| 98 |
|
---|
[c117e5a] | 99 | <screen><userinput><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
|
---|
| 100 | | (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
|
---|
| 101 |
|
---|
[68df39bf] | 102 | <screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &&
|
---|
| 103 | patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &&
|
---|
[c117e5a] | 104 | ./configure --with-x=no --prefix=/usr \
|
---|
| 105 | --without-texinfo --with-system-ncurses --with-system-zlib \
|
---|
| 106 | --exec-prefix=/usr --bindir=/usr/bin &&
|
---|
| 107 | make world &&
|
---|
| 108 | texconfig dvips paper letter &&
|
---|
| 109 | texconfig font rw</command></userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <note><para>
|
---|
| 112 | The paper size may be changed to a4, as is used in most countries.
|
---|
| 113 | </para></note>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2>
|
---|
| 118 | <title>Installation command explanations</title>
|
---|
| 119 |
|
---|
| 120 | <para><screen><command>gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
|
---|
| 121 | | (umask 0; cd /usr/share/texmf; tar xvf -)</command></screen>
|
---|
| 122 | Untar the <application>TeX</application> fonts and macro libraries.</para>
|
---|
| 123 |
|
---|
[94b1dc3] | 124 | <para><option>--with-x=no</option>: This switch will avoid any
|
---|
| 125 | <application>X</application> Window dependencies.
|
---|
[c117e5a] | 126 | <application>TeX</application> can be compiled with
|
---|
[94b1dc3] | 127 | <application>X</application> Window support, notably for
|
---|
[c117e5a] | 128 | <command>xdvi</command>. If this is desired, remove this
|
---|
| 129 | configure option.</para>
|
---|
| 130 |
|
---|
[94b1dc3] | 131 | <para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
|
---|
| 132 | switches ensure that <application>TeX</application> binaries are installed in
|
---|
[c117e5a] | 133 | <filename class="directory">/usr/bin</filename>.</para>
|
---|
| 134 |
|
---|
[94b1dc3] | 135 | <para><parameter>--without-texinfo</parameter>: A default
|
---|
| 136 | <acronym>LFS</acronym> installation already has the
|
---|
| 137 | <application>texinfo</application> package installed; this switch will avoid
|
---|
| 138 | overwriting it with the included <application>texinfo</application>
|
---|
[c117e5a] | 139 | package.</para>
|
---|
| 140 |
|
---|
[94b1dc3] | 141 | <para><parameter>--with-system-ncurses</parameter>: This switch specifies
|
---|
| 142 | using the already installed <filename class="libraryfile">libncurses</filename>
|
---|
[4f6275fd] | 143 | library.</para>
|
---|
[c117e5a] | 144 |
|
---|
[94b1dc3] | 145 | <para><parameter>--with-system-zlib</parameter>: <acronym>LFS</acronym> systems
|
---|
| 146 | starting with version 4.0 have <application>Zlib</application> installed as
|
---|
| 147 | part of the base operating system; this switch avoids building it here.</para>
|
---|
[c117e5a] | 148 |
|
---|
| 149 | <para><command>texconfig dvips paper letter</command>: This command sets the
|
---|
| 150 | default paper size for <application>TeX</application>.</para>
|
---|
| 151 |
|
---|
| 152 | <para><command>texconfig font rw</command>: This command specifies writable
|
---|
| 153 | fonts.</para>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2>
|
---|
| 158 | <title>Contents</title>
|
---|
| 159 |
|
---|
[dfd0a5d5] | 160 | <para>The <application>TeX</application> package contains 101 separate
|
---|
| 161 | binaries and shell scripts, and another 37 symlinks to these programs.
|
---|
| 162 | <application>TeX</application> also builds the
|
---|
| 163 | <filename class='libraryfile'>libkpathsea</filename> library.
|
---|
[c117e5a] | 164 | Please refer to <ulink url="file:///usr/share/texmf/doc/index.html"/>
|
---|
| 165 | for details, as well as a tour of the expansive
|
---|
| 166 | <application>TeX</application> documentation.</para>
|
---|
| 167 | </sect2>
|
---|
[42e2f8d] | 168 |
|
---|
| 169 | </sect1>
|
---|