[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 |
|
---|
[03d51788] | 16 | <sect1 id="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>
|
---|
[03d51788] | 23 | <indexterm zone="tex">
|
---|
| 24 | <primary sortas="a-tex">TeX</primary></indexterm>
|
---|
[42e2f8d] | 25 |
|
---|
[c117e5a] | 26 | <sect2>
|
---|
| 27 | <title>Introduction to <application>TeX</application></title>
|
---|
| 28 |
|
---|
| 29 | <para><application>TeX</application> is a typesetting package, able to create
|
---|
[dfd0a5d5] | 30 | documents in a variety of formats. The optional <filename>texmfsrc</filename>
|
---|
[c117e5a] | 31 | <acronym>TAR</acronym> ball contains source code for packages that are
|
---|
[dfd0a5d5] | 32 | contained in the <filename>texmf</filename> <acronym>TAR</acronym> ball,
|
---|
| 33 | including the docstrip sources.</para>
|
---|
[c117e5a] | 34 |
|
---|
| 35 | <sect3><title>Package information</title>
|
---|
| 36 | <itemizedlist spacing='compact'>
|
---|
[dfd0a5d5] | 37 | <listitem><para>Required Download (FTP): <ulink
|
---|
[c117e5a] | 38 | url="&tex-download-ftp;"/></para></listitem>
|
---|
[dfd0a5d5] | 39 | <listitem><para>Required Download (FTP): <ulink
|
---|
[c117e5a] | 40 | url="&texmf-download-ftp;"/></para></listitem>
|
---|
| 41 | <listitem><para>Optional Download (FTP): <ulink
|
---|
| 42 | url="&texmfsrc-download-ftp;"/></para></listitem>
|
---|
[dfd0a5d5] | 43 | <listitem><para>Download size:
|
---|
| 44 | &tex-size; (&tex-optional-size; with optional tarball)</para></listitem>
|
---|
[518538f] | 45 | <listitem><para>Estimated disk space required:
|
---|
[68df39bf] | 46 | &tex-buildsize; (&tex-optional-buildsize; with optional tarball)</para>
|
---|
| 47 | </listitem>
|
---|
[c117e5a] | 48 | <listitem><para>Estimated build time:
|
---|
| 49 | &tex-time;</para></listitem></itemizedlist>
|
---|
| 50 | </sect3>
|
---|
| 51 |
|
---|
| 52 | <sect3><title>Additional Downloads</title>
|
---|
| 53 | <itemizedlist spacing='compact'>
|
---|
[68df39bf] | 54 | <listitem><para>Required Patch (if using Glibc >2.3.3): <ulink
|
---|
| 55 | url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para>
|
---|
| 56 | </listitem>
|
---|
[dfd0a5d5] | 57 | <listitem><para>Recommended Patch: <ulink
|
---|
[68df39bf] | 58 | url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
|
---|
| 59 | </listitem>
|
---|
[c117e5a] | 60 | </itemizedlist></sect3>
|
---|
| 61 |
|
---|
[dfd0a5d5] | 62 | <sect3><title><application>TeX</application> dependencies</title>
|
---|
[68df39bf] | 63 | <sect4><title>Required</title>
|
---|
| 64 | <para><xref linkend="ed"/></para>
|
---|
| 65 | </sect4>
|
---|
| 66 |
|
---|
[dfd0a5d5] | 67 | <sect4><title>Optional</title>
|
---|
[94b1dc3] | 68 | <para><xref linkend="libpng"/>,
|
---|
| 69 | <xref linkend="x-installing"/>,
|
---|
[dfd0a5d5] | 70 | <xref linkend="openssl"/>,
|
---|
[94b1dc3] | 71 | <xref linkend="mysql"/>,
|
---|
| 72 | <xref linkend="perl-modules"/>: Tk-&Perl-Tk-version;, <ulink
|
---|
[03d51788] | 73 | url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">
|
---|
| 74 | t1lib</ulink>
|
---|
[94b1dc3] | 75 | and <ulink url="http://www.w3.org/Library/">libwww</ulink></para>
|
---|
[dfd0a5d5] | 76 | </sect4>
|
---|
| 77 | </sect3>
|
---|
| 78 |
|
---|
[c117e5a] | 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2>
|
---|
| 82 | <title>Installation of <application>TeX</application></title>
|
---|
| 83 |
|
---|
[94b1dc3] | 84 | <para><application>TeX</application> is installed from the source directory
|
---|
| 85 | (usually <filename class="directory">/usr/src</filename>) and untarring
|
---|
[c117e5a] | 86 | instructions are included below instead of the usual assumption that you
|
---|
| 87 | have already untarred the package. The source directory should contain
|
---|
| 88 | the two required packages and the optional package, if desired.</para>
|
---|
| 89 |
|
---|
[4f6275fd] | 90 | <para>Install <application>TeX</application> by running the following
|
---|
| 91 | commands:</para>
|
---|
[c117e5a] | 92 |
|
---|
| 93 | <screen><userinput><command>mkdir -p /usr/share/texmf &&
|
---|
| 94 | tar zxvf tetex-src-&tex-version;.tar.gz &&
|
---|
| 95 | cd tetex-src-&tex-version; &&
|
---|
| 96 | gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
|
---|
| 97 | | (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
|
---|
| 98 |
|
---|
[dfd0a5d5] | 99 | <para>If the optional <filename>texmf</filename> source code
|
---|
| 100 | <acronym>TAR</acronym> ball was downloaded, untar it now:</para>
|
---|
| 101 |
|
---|
[c117e5a] | 102 | <screen><userinput><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
|
---|
| 103 | | (umask 0; cd /usr/share/texmf; tar xvf -)</command></userinput></screen>
|
---|
| 104 |
|
---|
[03d51788] | 105 | <para>Continue with the installation:</para>
|
---|
| 106 |
|
---|
[68df39bf] | 107 | <screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &&
|
---|
| 108 | patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &&
|
---|
[c117e5a] | 109 | ./configure --with-x=no --prefix=/usr \
|
---|
| 110 | --without-texinfo --with-system-ncurses --with-system-zlib \
|
---|
| 111 | --exec-prefix=/usr --bindir=/usr/bin &&
|
---|
| 112 | make world &&
|
---|
| 113 | texconfig dvips paper letter &&
|
---|
| 114 | texconfig font rw</command></userinput></screen>
|
---|
| 115 |
|
---|
[03d51788] | 116 | <note><para>The paper size may be changed to a4, as is used in most
|
---|
| 117 | countries.</para></note>
|
---|
[c117e5a] | 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2>
|
---|
| 122 | <title>Installation command explanations</title>
|
---|
| 123 |
|
---|
[03d51788] | 124 | <para><command>gzip -dc ../tetex-texmf-&tex-version;.tar.gz | ...</command>:
|
---|
[c117e5a] | 125 | Untar the <application>TeX</application> fonts and macro libraries.</para>
|
---|
| 126 |
|
---|
[94b1dc3] | 127 | <para><option>--with-x=no</option>: This switch will avoid any
|
---|
| 128 | <application>X</application> Window dependencies.
|
---|
[c117e5a] | 129 | <application>TeX</application> can be compiled with
|
---|
[94b1dc3] | 130 | <application>X</application> Window support, notably for
|
---|
[c117e5a] | 131 | <command>xdvi</command>. If this is desired, remove this
|
---|
| 132 | configure option.</para>
|
---|
| 133 |
|
---|
[94b1dc3] | 134 | <para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
|
---|
| 135 | switches ensure that <application>TeX</application> binaries are installed in
|
---|
[c117e5a] | 136 | <filename class="directory">/usr/bin</filename>.</para>
|
---|
| 137 |
|
---|
[94b1dc3] | 138 | <para><parameter>--without-texinfo</parameter>: A default
|
---|
| 139 | <acronym>LFS</acronym> installation already has the
|
---|
| 140 | <application>texinfo</application> package installed; this switch will avoid
|
---|
| 141 | overwriting it with the included <application>texinfo</application>
|
---|
[c117e5a] | 142 | package.</para>
|
---|
| 143 |
|
---|
[94b1dc3] | 144 | <para><parameter>--with-system-ncurses</parameter>: This switch specifies
|
---|
| 145 | using the already installed <filename class="libraryfile">libncurses</filename>
|
---|
[4f6275fd] | 146 | library.</para>
|
---|
[c117e5a] | 147 |
|
---|
[94b1dc3] | 148 | <para><parameter>--with-system-zlib</parameter>: <acronym>LFS</acronym> systems
|
---|
| 149 | starting with version 4.0 have <application>Zlib</application> installed as
|
---|
| 150 | part of the base operating system; this switch avoids building it here.</para>
|
---|
[c117e5a] | 151 |
|
---|
| 152 | <para><command>texconfig dvips paper letter</command>: This command sets the
|
---|
| 153 | default paper size for <application>TeX</application>.</para>
|
---|
| 154 |
|
---|
| 155 | <para><command>texconfig font rw</command>: This command specifies writable
|
---|
| 156 | fonts.</para>
|
---|
| 157 |
|
---|
| 158 | </sect2>
|
---|
| 159 |
|
---|
| 160 | <sect2>
|
---|
| 161 | <title>Contents</title>
|
---|
| 162 |
|
---|
[03d51788] | 163 | <segmentedlist>
|
---|
| 164 | <segtitle>Installed Programs</segtitle>
|
---|
| 165 | <segtitle>Installed Library</segtitle>
|
---|
| 166 | <segtitle>Installed Directory</segtitle>
|
---|
| 167 | <seglistitem>
|
---|
| 168 | <seg>101 separate binaries and scripts along with 37 symlinks to these
|
---|
| 169 | programs.</seg>
|
---|
| 170 | <seg>libkpathsea.a</seg>
|
---|
| 171 | <seg>/usr/share/texmf</seg>
|
---|
| 172 | </seglistitem>
|
---|
| 173 | </segmentedlist>
|
---|
| 174 |
|
---|
| 175 | <variablelist>
|
---|
| 176 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 177 | <?dbfo list-presentation="list"?>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="tex-programs">
|
---|
| 180 | <term><command>TeX programs</command></term>
|
---|
| 181 | <listitem><para>included in the <application>TeX</application> package are too
|
---|
| 182 | numerous to individually list. Please refer to
|
---|
| 183 | <ulink url="file:///usr/share/texmf/doc/index.html"/> for details, as well as
|
---|
| 184 | a tour of the expansive <application>TeX</application> documentation.</para>
|
---|
| 185 | <indexterm zone="tex tex-programs">
|
---|
| 186 | <primary sortas="b-tex-programs">TeX programs</primary></indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="libkpathsea">
|
---|
| 191 | <term><filename class='libraryfile'>libkpathsea.a</filename></term>
|
---|
| 192 | <listitem><para>contains functions used by <application>TeX</application>
|
---|
| 193 | for searching and cataloging path names.</para>
|
---|
| 194 | <indexterm zone="tex libkpathsea">
|
---|
| 195 | <primary sortas="c-libkpathsea">libkpathsea.a</primary></indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 | </variablelist>
|
---|
| 199 |
|
---|
[c117e5a] | 200 | </sect2>
|
---|
[42e2f8d] | 201 |
|
---|
| 202 | </sect1>
|
---|