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