[5428e2b] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[c117e5a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[4f6275fd] | 6 |
|
---|
[cf068ee1] | 7 | <!ENTITY tex-download-http "http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-src-&tex-version;.tar.gz" >
|
---|
| 8 | <!ENTITY tex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-src-&tex-version;.tar.gz">
|
---|
| 9 | <!ENTITY tex-md5sum "944a4641e79e61043fdaf8f38ecbb4b3">
|
---|
| 10 | <!ENTITY tex-size "12.7 MB">
|
---|
[95ec78a] | 11 | <!ENTITY tex-buildsize "423 MB (549 MB with optional tarball, additional 231 MB for CM-Super fonts)">
|
---|
[c40a9d0] | 12 | <!ENTITY tex-time "2.1 SBU">
|
---|
[cf068ee1] | 13 |
|
---|
| 14 | <!ENTITY texmf-download-http "http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmf-&tex-version;.tar.gz" >
|
---|
| 15 | <!ENTITY texmf-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmf-&tex-version;.tar.gz">
|
---|
| 16 | <!ENTITY texmf-md5sum "11aa15c8d3e28ee7815e0d5fcdf43fd4">
|
---|
| 17 | <!ENTITY texmf-size "91.7 MB">
|
---|
| 18 |
|
---|
| 19 | <!ENTITY texmfsrc-download-http "http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmfsrc-&tex-version;.tar.gz" >
|
---|
| 20 | <!ENTITY texmfsrc-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/&tex-version;/distrib/tetex-texmfsrc-&tex-version;.tar.gz">
|
---|
[428434e7] | 21 | <!ENTITY texmfsrc-md5sum "66c32a11964a49982ba2a32d3bbfe7f5">
|
---|
| 22 | <!ENTITY texmfsrc-size "57.7 MB">
|
---|
[c40a9d0] | 23 |
|
---|
[60a31248] | 24 | <!ENTITY cmsupersrc-download-http "&sources-anduin-http;/t/tetex-cm-super.tar.bz2" >
|
---|
| 25 | <!ENTITY cmsupersrc-download-ftp "&sources-anduin-ftp;/t/tetex-cm-super.tar.bz2">
|
---|
[428434e7] | 26 | <!ENTITY cmsupersrc-md5sum "d7c89fcb35f625b02853a0881a4ec760">
|
---|
| 27 | <!ENTITY cmsupersrc-size "63.8 MB">
|
---|
[c117e5a] | 28 | ]>
|
---|
| 29 |
|
---|
[03d51788] | 30 | <sect1 id="tex" xreflabel="TeX-&tex-version;">
|
---|
[5428e2b] | 31 | <?dbhtml filename="tex.html"?>
|
---|
| 32 |
|
---|
| 33 | <sect1info>
|
---|
| 34 | <othername>$LastChangedBy$</othername>
|
---|
| 35 | <date>$Date$</date>
|
---|
[d352a28] | 36 | <keywordset>
|
---|
| 37 | <keyword role="package">tetex-src-&tex-version;.tar</keyword>
|
---|
[f1283d3f] | 38 | <keyword role="ftpdir">tetex</keyword>
|
---|
[d352a28] | 39 | </keywordset>
|
---|
[5428e2b] | 40 | </sect1info>
|
---|
| 41 |
|
---|
| 42 | <title>TeX-&tex-version;</title>
|
---|
| 43 |
|
---|
| 44 | <indexterm zone="tex">
|
---|
| 45 | <primary sortas="a-TeX">TeX</primary>
|
---|
| 46 | </indexterm>
|
---|
| 47 |
|
---|
| 48 | <sect2 role="package">
|
---|
| 49 | <title>Introduction to TeX</title>
|
---|
| 50 |
|
---|
| 51 | <para><application>TeX</application> is a typesetting package, able to create
|
---|
| 52 | documents in a variety of formats. The optional <filename>texmfsrc</filename>
|
---|
| 53 | TAR ball contains source code for packages that are contained in the
|
---|
| 54 | <filename>texmf</filename> TAR ball, including the docstrip sources.</para>
|
---|
| 55 |
|
---|
| 56 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 57 | <itemizedlist spacing="compact">
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Download (HTTP): <ulink url="&tex-download-http;"/></para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Download (FTP): <ulink url="&tex-download-ftp;"/></para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Download MD5 sum: &tex-md5sum;</para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>Download size: &tex-size;</para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>Estimated disk space required: &tex-buildsize;</para>
|
---|
| 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>Estimated build time: &tex-time;</para>
|
---|
| 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 79 |
|
---|
| 80 | <itemizedlist spacing='compact'>
|
---|
| 81 | <title>Required Macros and Fonts</title>
|
---|
| 82 | <listitem>
|
---|
| 83 | <para>Download (HTTP): <ulink url="&texmf-download-http;"/></para>
|
---|
| 84 | </listitem>
|
---|
| 85 | <listitem>
|
---|
| 86 | <para>Download (FTP): <ulink url="&texmf-download-ftp;"/></para>
|
---|
| 87 | </listitem>
|
---|
| 88 | <listitem>
|
---|
| 89 | <para>Download MD5 sum: &texmf-md5sum;</para>
|
---|
| 90 | </listitem>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>Download size: &texmf-size;</para>
|
---|
| 93 | </listitem>
|
---|
| 94 | </itemizedlist>
|
---|
| 95 |
|
---|
| 96 | <itemizedlist spacing='compact'>
|
---|
| 97 | <title>Optional 'texmf' Sources:</title>
|
---|
| 98 | <listitem>
|
---|
| 99 | <para>Download (HTTP): <ulink url="&texmfsrc-download-http;"/></para>
|
---|
| 100 | </listitem>
|
---|
| 101 | <listitem>
|
---|
| 102 | <para>Download (FTP): <ulink url="&texmfsrc-download-ftp;"/></para>
|
---|
| 103 | </listitem>
|
---|
| 104 | <listitem>
|
---|
| 105 | <para>Download MD5 sum: &texmfsrc-md5sum;</para>
|
---|
| 106 | </listitem>
|
---|
| 107 | <listitem>
|
---|
| 108 | <para>Download size: &texmfsrc-size;</para>
|
---|
| 109 | </listitem>
|
---|
| 110 | </itemizedlist>
|
---|
[460e986] | 111 |
|
---|
[c40a9d0] | 112 | <itemizedlist spacing='compact'>
|
---|
| 113 | <title>Optional 'cm-super' Sources:</title>
|
---|
| 114 | <listitem>
|
---|
| 115 | <para>Download (HTTP): <ulink url="&cmsupersrc-download-http;"/></para>
|
---|
| 116 | </listitem>
|
---|
| 117 | <listitem>
|
---|
| 118 | <para>Download (FTP): <ulink url="&cmsupersrc-download-ftp;"/></para>
|
---|
| 119 | </listitem>
|
---|
| 120 | <listitem>
|
---|
| 121 | <para>Download MD5 sum: &cmsupersrc-md5sum;</para>
|
---|
| 122 | </listitem>
|
---|
| 123 | <listitem>
|
---|
| 124 | <para>Download size: &cmsupersrc-size;</para>
|
---|
| 125 | </listitem>
|
---|
| 126 | </itemizedlist>
|
---|
[c117e5a] | 127 |
|
---|
[5428e2b] | 128 | <bridgehead renderas="sect3">TeX Dependencies</bridgehead>
|
---|
[68df39bf] | 129 |
|
---|
[5428e2b] | 130 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d352a28] | 131 | <para role="required"><xref linkend="ed"/></para>
|
---|
[5428e2b] | 132 |
|
---|
| 133 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[d352a28] | 134 | <para role="optional"><xref linkend="libpng"/>,
|
---|
[5428e2b] | 135 | <xref linkend="x-installing"/>,
|
---|
[b9c594f0] | 136 | <xref linkend="tk-perl"/>,
|
---|
[ba4b31cf] | 137 | <ulink url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.1.0.tar.gz">
|
---|
[5428e2b] | 138 | t1lib</ulink>
|
---|
| 139 | and <ulink url="http://www.boutell.com/gd/">GD</ulink></para>
|
---|
[dfd0a5d5] | 140 |
|
---|
[5428e2b] | 141 | </sect2>
|
---|
[c117e5a] | 142 |
|
---|
[5428e2b] | 143 | <sect2 role="installation">
|
---|
| 144 | <title>Installation of TeX</title>
|
---|
[c117e5a] | 145 |
|
---|
[5428e2b] | 146 | <para>Before building <application>TeX</application>, the macros and
|
---|
| 147 | fonts package (<filename>texmf</filename> tarball) must be installed.
|
---|
| 148 | Install the macros and fonts using the following commands as the
|
---|
| 149 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[c117e5a] | 150 |
|
---|
[5428e2b] | 151 | <screen role="root"><userinput>install -v -d -m755 /usr/share/texmf &&
|
---|
[c117e5a] | 152 | gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
|
---|
[4fb71d8e] | 153 | | (umask 0; cd /usr/share/texmf; tar -xvf -)</userinput></screen>
|
---|
[c117e5a] | 154 |
|
---|
[5428e2b] | 155 | <para>If the optional <filename>texmf</filename> source code TAR ball
|
---|
| 156 | was downloaded, untar it now as the <systemitem
|
---|
| 157 | class="username">root</systemitem> user:</para>
|
---|
[dfd0a5d5] | 158 |
|
---|
[5428e2b] | 159 | <screen role="root"><userinput>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
|
---|
[4fb71d8e] | 160 | | (umask 0; cd /usr/share/texmf; tar -xvf -)</userinput></screen>
|
---|
[c117e5a] | 161 |
|
---|
[5428e2b] | 162 | <para>Install <application>TeX</application> by running the following
|
---|
| 163 | commands:</para>
|
---|
[03d51788] | 164 |
|
---|
[5428e2b] | 165 | <screen><userinput>./configure --prefix=/usr \
|
---|
[cf068ee1] | 166 | --exec-prefix=/usr --bindir=/usr/bin \
|
---|
| 167 | --without-texinfo --with-x=no \
|
---|
| 168 | --with-system-ncurses --with-system-zlib &&
|
---|
[5428e2b] | 169 | make all</userinput></screen>
|
---|
[d260aaf4] | 170 |
|
---|
[ea92fe5] | 171 | <para>To test the results, issue: <command>make check</command>. The tests
|
---|
| 172 | should complete without errors (there may be some errors which are
|
---|
| 173 | ignored).</para>
|
---|
| 174 |
|
---|
[5428e2b] | 175 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[d260aaf4] | 176 |
|
---|
[5428e2b] | 177 | <screen role="root"><userinput>make install &&
|
---|
[95ec78a] | 178 | texconfig-sys dvips paper letter &&
|
---|
| 179 | texconfig-sys font rw</userinput></screen>
|
---|
[5428e2b] | 180 |
|
---|
| 181 | <note>
|
---|
| 182 | <para>The paper size may be changed to a4, as is used in most
|
---|
| 183 | countries.</para>
|
---|
| 184 | </note>
|
---|
| 185 |
|
---|
[c40a9d0] | 186 | <para>To install the optional cm-super fonts, perform the following
|
---|
| 187 | instructions as the <systemitem class="username">root</systemitem>
|
---|
| 188 | user:</para>
|
---|
| 189 |
|
---|
[9bc5f51] | 190 | <screen><userinput>tar -xf ../tetex-cm-super.tar.bz2 &&
|
---|
[95ec78a] | 191 | FONTDIR=$(kpsewhich --expand-var '$TEXMFMAIN') &&
|
---|
[c40a9d0] | 192 | mkdir -p $FONTDIR/fonts/afm/public/cm-super \
|
---|
| 193 | $FONTDIR/fonts/type1/public/cm-super \
|
---|
| 194 | $FONTDIR/fonts/enc/dvips/cm-super \
|
---|
| 195 | $FONTDIR/fonts/map/dvips/cm-super &&
|
---|
[bccbdaea] | 196 |
|
---|
[c40a9d0] | 197 | cp -v cm-super/pfb/*.pfb $FONTDIR/fonts/type1/public/cm-super/ &&
|
---|
| 198 |
|
---|
| 199 | gunzip cm-super/afm/* &&
|
---|
| 200 | cp -v cm-super/afm/*.afm $FONTDIR/fonts/afm/public/cm-super/ &&
|
---|
| 201 |
|
---|
| 202 | cp -v cm-super/dvips/*.enc $FONTDIR/fonts/enc/dvips/cm-super/ &&
|
---|
| 203 | cp -v cm-super/dvips/*.map $FONTDIR/fonts/map/dvips/cm-super/ &&
|
---|
| 204 |
|
---|
[95ec78a] | 205 | cat >> $FONTDIR/web2c/updmap.cfg << "EOF" &&
|
---|
[bccbdaea] | 206 | MixedMap cm-super-t1.map
|
---|
| 207 | MixedMap cm-super-t2a.map
|
---|
| 208 | MixedMap cm-super-t2b.map
|
---|
| 209 | MixedMap cm-super-t2c.map
|
---|
| 210 | MixedMap cm-super-ts1.map
|
---|
| 211 | MixedMap cm-super-x2.map
|
---|
[c40a9d0] | 212 | EOF
|
---|
| 213 |
|
---|
[95ec78a] | 214 | mktexlsr &&
|
---|
| 215 | updmap-sys &&
|
---|
[bccbdaea] | 216 |
|
---|
[c40a9d0] | 217 | unset FONTDIR</userinput></screen>
|
---|
| 218 |
|
---|
[5428e2b] | 219 | </sect2>
|
---|
| 220 |
|
---|
| 221 | <sect2 role="commands">
|
---|
| 222 | <title>Command Explanations</title>
|
---|
| 223 |
|
---|
| 224 | <para><parameter>--with-x=no</parameter>: This switch will avoid any
|
---|
| 225 | <application>X</application> dependencies. <application>TeX</application>
|
---|
| 226 | can be compiled with <application>X</application> support, notably for
|
---|
[95ec78a] | 227 | <command>xdvi</command>. If this is desired, remove this parameter.</para>
|
---|
[5428e2b] | 228 |
|
---|
| 229 | <para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
|
---|
| 230 | switches ensure that <application>TeX</application> binaries are installed
|
---|
| 231 | in <filename class="directory">/usr/bin</filename>.</para>
|
---|
| 232 |
|
---|
| 233 | <para><parameter>--without-texinfo</parameter>: A default LFS installation
|
---|
| 234 | already has the <application>Texinfo</application> package installed; this
|
---|
| 235 | switch will avoid overwriting it with the included
|
---|
| 236 | <application>Texinfo</application> package.</para>
|
---|
| 237 |
|
---|
| 238 | <para><parameter>--with-system-ncurses</parameter>: This switch specifies
|
---|
| 239 | using the already installed <filename
|
---|
| 240 | class="libraryfile">libncurses</filename> library.</para>
|
---|
| 241 |
|
---|
[95ec78a] | 242 | <para><parameter>--with-system-zlib</parameter>: LFS systems include the
|
---|
| 243 | <application>Zlib</application> library; this switch avoids building it
|
---|
| 244 | here.</para>
|
---|
[5428e2b] | 245 |
|
---|
| 246 | <para><option>--disable-a4</option>: Use this option to set the default
|
---|
| 247 | paper size to letter and the default unit to inch.</para>
|
---|
| 248 |
|
---|
[95ec78a] | 249 | <para><command>texconfig-sys dvips paper letter</command>: This command
|
---|
| 250 | sets the default paper size for <application>TeX</application>.</para>
|
---|
| 251 |
|
---|
| 252 | <para><command>texconfig-sys font rw</command>: This command specifies
|
---|
| 253 | creating and using a directory for globally writable fonts.</para>
|
---|
| 254 |
|
---|
| 255 | <para><command>mktexlsr</command>: This command recreates the
|
---|
| 256 | <application>TeX</application> <filename>ls-R</filename> databases after
|
---|
| 257 | installing the CM-Super fonts.</para>
|
---|
| 258 |
|
---|
| 259 | <para><command>updmap-sys</command>: This command updates the system-wide
|
---|
| 260 | font configuration to include the CM-Super fonts.</para>
|
---|
| 261 |
|
---|
[5428e2b] | 262 | <tip>
|
---|
| 263 | <para>Run <command>./configure --help</command> for information about
|
---|
[95ec78a] | 264 | using other switches which will enable the build to use other installed
|
---|
[5428e2b] | 265 | packages you may have on your system.</para>
|
---|
| 266 | </tip>
|
---|
| 267 |
|
---|
| 268 | </sect2>
|
---|
| 269 |
|
---|
| 270 | <sect2 role="content">
|
---|
| 271 | <title>Contents</title>
|
---|
| 272 |
|
---|
| 273 | <segmentedlist>
|
---|
| 274 | <segtitle>Installed Programs</segtitle>
|
---|
| 275 | <segtitle>Installed Library</segtitle>
|
---|
| 276 | <segtitle>Installed Directories</segtitle>
|
---|
| 277 |
|
---|
| 278 | <seglistitem>
|
---|
| 279 | <seg>100 separate binaries and scripts along with 30 symlinks to these
|
---|
| 280 | programs.</seg>
|
---|
| 281 | <seg>libkpathsea.a</seg>
|
---|
[95ec78a] | 282 | <seg>/usr/include/kpathsea, /usr/share/texinfo/html, /usr/share/texmf,
|
---|
| 283 | /usr/share/texi2html, /usr/share/texmf-var and /var/tmp/texfonts</seg>
|
---|
[5428e2b] | 284 | </seglistitem>
|
---|
| 285 | </segmentedlist>
|
---|
| 286 |
|
---|
| 287 | <variablelist>
|
---|
| 288 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 289 | <?dbfo list-presentation="list"?>
|
---|
| 290 | <?dbhtml list-presentation="table"?>
|
---|
| 291 |
|
---|
| 292 | <varlistentry id="tex-programs">
|
---|
| 293 | <term><command>TeX programs</command></term>
|
---|
| 294 | <listitem>
|
---|
| 295 | <para>included in the <application>TeX</application> package are too
|
---|
| 296 | numerous to individually list. Please refer to the individual program
|
---|
| 297 | man pages and <ulink url="file:///usr/share/texmf/doc/index.html"/>
|
---|
| 298 | for details, as well as a tour of the expansive
|
---|
| 299 | <application>TeX</application> documentation.</para>
|
---|
| 300 | <indexterm zone="tex tex-programs">
|
---|
| 301 | <primary sortas="b-TeX-programs">TeX programs</primary>
|
---|
| 302 | </indexterm>
|
---|
| 303 | </listitem>
|
---|
| 304 | </varlistentry>
|
---|
| 305 |
|
---|
| 306 | <varlistentry id="libkpathsea">
|
---|
| 307 | <term><filename class='libraryfile'>libkpathsea.a</filename></term>
|
---|
| 308 | <listitem>
|
---|
| 309 | <para>contains functions used by <application>TeX</application>
|
---|
| 310 | for searching and cataloging path names.</para>
|
---|
| 311 | <indexterm zone="tex libkpathsea">
|
---|
| 312 | <primary sortas="c-libkpathsea">libkpathsea.a</primary>
|
---|
| 313 | </indexterm>
|
---|
| 314 | </listitem>
|
---|
| 315 | </varlistentry>
|
---|
| 316 |
|
---|
| 317 | </variablelist>
|
---|
| 318 |
|
---|
| 319 | </sect2>
|
---|
[42e2f8d] | 320 |
|
---|
| 321 | </sect1>
|
---|