[ff769b8c] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[c117e5a] | 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
[4f6275fd] | 5 |
|
---|
[cf068ee1] | 6 | <!ENTITY tex-download-http "http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-src-&tex-version;.tar.gz" >
|
---|
| 7 | <!ENTITY tex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-src-&tex-version;.tar.gz">
|
---|
| 8 | <!ENTITY tex-md5sum "944a4641e79e61043fdaf8f38ecbb4b3">
|
---|
| 9 | <!ENTITY tex-size "12.7 MB">
|
---|
| 10 | <!ENTITY tex-buildsize "416 MB (542 MB with optional tarball)">
|
---|
| 11 | <!ENTITY tex-time "2.07 SBU">
|
---|
| 12 |
|
---|
| 13 | <!ENTITY texmf-download-http "http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmf-&tex-version;.tar.gz" >
|
---|
| 14 | <!ENTITY texmf-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmf-&tex-version;.tar.gz">
|
---|
| 15 | <!ENTITY texmf-md5sum "11aa15c8d3e28ee7815e0d5fcdf43fd4">
|
---|
| 16 | <!ENTITY texmf-size "91.7 MB">
|
---|
| 17 |
|
---|
| 18 | <!ENTITY texmfsrc-download-http "http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmfsrc-&tex-version;.tar.gz" >
|
---|
| 19 | <!ENTITY texmfsrc-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmfsrc-&tex-version;.tar.gz">
|
---|
| 20 | <!ENTITY texmfsrc-md5sum "66c32a11964a49982ba2a32d3bbfe7f5">
|
---|
| 21 | <!ENTITY texmfsrc-size "57.7 MB">
|
---|
[c117e5a] | 22 | ]>
|
---|
| 23 |
|
---|
[03d51788] | 24 | <sect1 id="tex" xreflabel="TeX-&tex-version;">
|
---|
[a0f03b0] | 25 | <sect1info>
|
---|
[5cd0959d] | 26 | <othername>$LastChangedBy$</othername>
|
---|
| 27 | <date>$Date$</date>
|
---|
[a0f03b0] | 28 | </sect1info>
|
---|
[dd3f20f0] | 29 | <?dbhtml filename="tex.html"?>
|
---|
[19234f1] | 30 | <title>TeX-&tex-version;</title>
|
---|
[03d51788] | 31 | <indexterm zone="tex">
|
---|
[6a2bce2] | 32 | <primary sortas="a-TeX">TeX</primary></indexterm>
|
---|
[42e2f8d] | 33 |
|
---|
[c117e5a] | 34 | <sect2>
|
---|
| 35 | <title>Introduction to <application>TeX</application></title>
|
---|
| 36 |
|
---|
| 37 | <para><application>TeX</application> is a typesetting package, able to create
|
---|
[dfd0a5d5] | 38 | documents in a variety of formats. The optional <filename>texmfsrc</filename>
|
---|
[c117e5a] | 39 | <acronym>TAR</acronym> ball contains source code for packages that are
|
---|
[dfd0a5d5] | 40 | contained in the <filename>texmf</filename> <acronym>TAR</acronym> ball,
|
---|
| 41 | including the docstrip sources.</para>
|
---|
[c117e5a] | 42 |
|
---|
| 43 | <sect3><title>Package information</title>
|
---|
| 44 | <itemizedlist spacing='compact'>
|
---|
[d260aaf4] | 45 | <listitem><para>Download (HTTP):
|
---|
| 46 | <ulink url="&tex-download-http;"/></para></listitem>
|
---|
| 47 | <listitem><para>Download (FTP):
|
---|
| 48 | <ulink url="&tex-download-ftp;"/></para></listitem>
|
---|
[460e986] | 49 | <listitem><para>Download MD5 sum: &tex-md5sum;</para></listitem>
|
---|
| 50 | <listitem><para>Download size: &tex-size;</para></listitem>
|
---|
[d260aaf4] | 51 | <listitem><para>Estimated disk space required:
|
---|
[460e986] | 52 | &tex-buildsize;</para></listitem>
|
---|
| 53 | <listitem><para>Estimated build time: &tex-time;</para></listitem>
|
---|
| 54 | </itemizedlist>
|
---|
[c117e5a] | 55 | </sect3>
|
---|
| 56 |
|
---|
| 57 | <sect3><title>Additional Downloads</title>
|
---|
[460e986] | 58 | <sect4><title>Required macros and fonts</title>
|
---|
| 59 | <itemizedlist spacing='compact'>
|
---|
[cf068ee1] | 60 | <listitem><para>Download (HTTP):
|
---|
| 61 | <ulink url="&texmf-download-http;"/></para></listitem>
|
---|
[460e986] | 62 | <listitem><para>Download (FTP):
|
---|
[cf068ee1] | 63 | <ulink url="&texmf-download-ftp;"/></para></listitem>
|
---|
[460e986] | 64 | <listitem><para>Download MD5 sum: &texmf-md5sum;</para></listitem>
|
---|
| 65 | <listitem><para>Download size: &texmf-size;</para></listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 | </sect4>
|
---|
| 68 |
|
---|
| 69 | <sect4><title>Optional <filename>texmf</filename> sources:</title>
|
---|
| 70 | <itemizedlist spacing='compact'>
|
---|
[cf068ee1] | 71 | <listitem><para>Download (HTTP):
|
---|
| 72 | <ulink url="&texmfsrc-download-http;"/></para></listitem>
|
---|
[460e986] | 73 | <listitem><para>Download (FTP):
|
---|
[cf068ee1] | 74 | <ulink url="&texmfsrc-download-ftp;"/></para></listitem>
|
---|
[460e986] | 75 | <listitem><para>Download MD5 sum: &texmfsrc-md5sum;</para></listitem>
|
---|
| 76 | <listitem><para>Download size: &texmfsrc-size;</para></listitem>
|
---|
| 77 | </itemizedlist>
|
---|
| 78 | </sect4>
|
---|
| 79 |
|
---|
[cf068ee1] | 80 | <!--
|
---|
[460e986] | 81 | <sect4><title>Patches</title>
|
---|
[c117e5a] | 82 | <itemizedlist spacing='compact'>
|
---|
[d260aaf4] | 83 | <listitem><para>Required Patch: <ulink
|
---|
| 84 | url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para></listitem>
|
---|
[dfd0a5d5] | 85 | <listitem><para>Recommended Patch: <ulink
|
---|
[68df39bf] | 86 | url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
|
---|
| 87 | </listitem>
|
---|
[460e986] | 88 | </itemizedlist>
|
---|
| 89 | </sect4>
|
---|
[cf068ee1] | 90 | -->
|
---|
[460e986] | 91 | </sect3>
|
---|
[c117e5a] | 92 |
|
---|
[dfd0a5d5] | 93 | <sect3><title><application>TeX</application> dependencies</title>
|
---|
[68df39bf] | 94 | <sect4><title>Required</title>
|
---|
| 95 | <para><xref linkend="ed"/></para>
|
---|
| 96 | </sect4>
|
---|
| 97 |
|
---|
[dfd0a5d5] | 98 | <sect4><title>Optional</title>
|
---|
[94b1dc3] | 99 | <para><xref linkend="libpng"/>,
|
---|
| 100 | <xref linkend="x-installing"/>,
|
---|
[cf068ee1] | 101 | <!-- <xref linkend="openssl"/>,
|
---|
| 102 | <xref linkend="mysql"/>, -->
|
---|
[94b1dc3] | 103 | <xref linkend="perl-modules"/>: Tk-&Perl-Tk-version;, <ulink
|
---|
[03d51788] | 104 | url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">
|
---|
| 105 | t1lib</ulink>
|
---|
[cf068ee1] | 106 | and <ulink url="http://www.boutell.com/gd/">GD</ulink></para>
|
---|
[dfd0a5d5] | 107 | </sect4>
|
---|
| 108 | </sect3>
|
---|
| 109 |
|
---|
[c117e5a] | 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2>
|
---|
| 113 | <title>Installation of <application>TeX</application></title>
|
---|
| 114 |
|
---|
[d260aaf4] | 115 | <!--
|
---|
[94b1dc3] | 116 | <para><application>TeX</application> is installed from the source directory
|
---|
| 117 | (usually <filename class="directory">/usr/src</filename>) and untarring
|
---|
[c117e5a] | 118 | instructions are included below instead of the usual assumption that you
|
---|
| 119 | have already untarred the package. The source directory should contain
|
---|
| 120 | the two required packages and the optional package, if desired.</para>
|
---|
[d260aaf4] | 121 | -->
|
---|
[c117e5a] | 122 |
|
---|
[d260aaf4] | 123 | <para>Before building <application>TeX</application>, the macros and fonts
|
---|
| 124 | package (<filename>texmf</filename> tarball) must be installed. Install the
|
---|
| 125 | macros and fonts using the following commands as the root user:</para>
|
---|
[c117e5a] | 126 |
|
---|
[d260aaf4] | 127 | <screen><userinput role='root'><command>install -v -d -m755 /usr/share/texmf &&
|
---|
[c117e5a] | 128 | gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
|
---|
[d260aaf4] | 129 | | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
|
---|
[c117e5a] | 130 |
|
---|
[dfd0a5d5] | 131 | <para>If the optional <filename>texmf</filename> source code
|
---|
[d260aaf4] | 132 | <acronym>TAR</acronym> ball was downloaded, untar it now as the root
|
---|
| 133 | user:</para>
|
---|
[dfd0a5d5] | 134 |
|
---|
[d260aaf4] | 135 | <screen><userinput role='root'><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
|
---|
| 136 | | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
|
---|
[c117e5a] | 137 |
|
---|
[d260aaf4] | 138 | <para>Install <application>TeX</application> by running the following
|
---|
| 139 | commands:</para>
|
---|
[03d51788] | 140 |
|
---|
[cf068ee1] | 141 | <!--
|
---|
[68df39bf] | 142 | <screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &&
|
---|
| 143 | patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &&
|
---|
[cf068ee1] | 144 | -->
|
---|
| 145 |
|
---|
| 146 | <screen><userinput><command>./configure --prefix=/usr \
|
---|
| 147 | --exec-prefix=/usr --bindir=/usr/bin \
|
---|
| 148 | --without-texinfo --with-x=no \
|
---|
| 149 | --with-system-ncurses --with-system-zlib &&
|
---|
[d260aaf4] | 150 | make all</command></userinput></screen>
|
---|
| 151 |
|
---|
| 152 | <para>Now, as the root user:</para>
|
---|
| 153 |
|
---|
| 154 | <screen><userinput role='root'><command>make install &&
|
---|
[c117e5a] | 155 | texconfig dvips paper letter &&
|
---|
| 156 | texconfig font rw</command></userinput></screen>
|
---|
| 157 |
|
---|
[03d51788] | 158 | <note><para>The paper size may be changed to a4, as is used in most
|
---|
| 159 | countries.</para></note>
|
---|
[c117e5a] | 160 |
|
---|
| 161 | </sect2>
|
---|
| 162 |
|
---|
| 163 | <sect2>
|
---|
| 164 | <title>Installation command explanations</title>
|
---|
| 165 |
|
---|
[94b1dc3] | 166 | <para><option>--with-x=no</option>: This switch will avoid any
|
---|
| 167 | <application>X</application> Window dependencies.
|
---|
[c117e5a] | 168 | <application>TeX</application> can be compiled with
|
---|
[94b1dc3] | 169 | <application>X</application> Window support, notably for
|
---|
[c117e5a] | 170 | <command>xdvi</command>. If this is desired, remove this
|
---|
| 171 | configure option.</para>
|
---|
| 172 |
|
---|
[94b1dc3] | 173 | <para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
|
---|
| 174 | switches ensure that <application>TeX</application> binaries are installed in
|
---|
[c117e5a] | 175 | <filename class="directory">/usr/bin</filename>.</para>
|
---|
| 176 |
|
---|
[94b1dc3] | 177 | <para><parameter>--without-texinfo</parameter>: A default
|
---|
| 178 | <acronym>LFS</acronym> installation already has the
|
---|
[d260aaf4] | 179 | <application>Texinfo</application> package installed; this switch will avoid
|
---|
| 180 | overwriting it with the included <application>Texinfo</application>
|
---|
[c117e5a] | 181 | package.</para>
|
---|
| 182 |
|
---|
[94b1dc3] | 183 | <para><parameter>--with-system-ncurses</parameter>: This switch specifies
|
---|
| 184 | using the already installed <filename class="libraryfile">libncurses</filename>
|
---|
[4f6275fd] | 185 | library.</para>
|
---|
[c117e5a] | 186 |
|
---|
[94b1dc3] | 187 | <para><parameter>--with-system-zlib</parameter>: <acronym>LFS</acronym> systems
|
---|
| 188 | starting with version 4.0 have <application>Zlib</application> installed as
|
---|
| 189 | part of the base operating system; this switch avoids building it here.</para>
|
---|
[c117e5a] | 190 |
|
---|
[cf068ee1] | 191 | <para><option>--disable-a4</option>: Use this option to set the default paper
|
---|
| 192 | size to letter and the default unit to inch.</para>
|
---|
| 193 |
|
---|
[c117e5a] | 194 | <para><command>texconfig dvips paper letter</command>: This command sets the
|
---|
| 195 | default paper size for <application>TeX</application>.</para>
|
---|
| 196 |
|
---|
| 197 | <para><command>texconfig font rw</command>: This command specifies writable
|
---|
| 198 | fonts.</para>
|
---|
| 199 |
|
---|
[cf068ee1] | 200 | <tip><para>Run <command>./configure --help</command> for information about
|
---|
| 201 | using other switches which will enable the build to use any installed packages
|
---|
| 202 | you may have on your system.</para></tip>
|
---|
| 203 |
|
---|
[c117e5a] | 204 | </sect2>
|
---|
| 205 |
|
---|
| 206 | <sect2>
|
---|
| 207 | <title>Contents</title>
|
---|
| 208 |
|
---|
[03d51788] | 209 | <segmentedlist>
|
---|
| 210 | <segtitle>Installed Programs</segtitle>
|
---|
| 211 | <segtitle>Installed Library</segtitle>
|
---|
[cf068ee1] | 212 | <segtitle>Installed Directories</segtitle>
|
---|
[03d51788] | 213 | <seglistitem>
|
---|
[cf068ee1] | 214 | <seg>100 separate binaries and scripts along with 30 symlinks to these
|
---|
[03d51788] | 215 | programs.</seg>
|
---|
| 216 | <seg>libkpathsea.a</seg>
|
---|
[cf068ee1] | 217 | <seg>~/.texmf-config, /usr/include/kpathsea, /usr/share/texinfo/html,
|
---|
| 218 | /usr/share/texmf, /usr/share/texi2html and /usr/share/texmf-var</seg>
|
---|
[03d51788] | 219 | </seglistitem>
|
---|
| 220 | </segmentedlist>
|
---|
| 221 |
|
---|
| 222 | <variablelist>
|
---|
| 223 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 224 | <?dbfo list-presentation="list"?>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="tex-programs">
|
---|
| 227 | <term><command>TeX programs</command></term>
|
---|
| 228 | <listitem><para>included in the <application>TeX</application> package are too
|
---|
[cf068ee1] | 229 | numerous to individually list. Please refer to the individual program man
|
---|
| 230 | pages and <ulink url="file:///usr/share/texmf/doc/index.html"/> for details,
|
---|
| 231 | as well as a tour of the expansive
|
---|
| 232 | <application>TeX</application> documentation.</para>
|
---|
[03d51788] | 233 | <indexterm zone="tex tex-programs">
|
---|
[6a2bce2] | 234 | <primary sortas="b-TeX-programs">TeX programs</primary></indexterm>
|
---|
[03d51788] | 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | <varlistentry id="libkpathsea">
|
---|
| 239 | <term><filename class='libraryfile'>libkpathsea.a</filename></term>
|
---|
| 240 | <listitem><para>contains functions used by <application>TeX</application>
|
---|
| 241 | for searching and cataloging path names.</para>
|
---|
| 242 | <indexterm zone="tex libkpathsea">
|
---|
| 243 | <primary sortas="c-libkpathsea">libkpathsea.a</primary></indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 | </variablelist>
|
---|
| 247 |
|
---|
[c117e5a] | 248 | </sect2>
|
---|
[42e2f8d] | 249 |
|
---|
| 250 | </sect1>
|
---|