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