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