%general-entities; ]> $LastChangedBy$ $Date$ tetex-src-&tex-version;.tar tetex TeX-&tex-version; TeX Introduction to TeX TeX is a typesetting package, able to create documents in a variety of formats. The optional texmfsrc tarball contains source code for packages that are contained in the texmf tarball, including the docstrip sources. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &tex-md5sum; Download size: &tex-size; Estimated disk space required: &tex-buildsize; Estimated build time: &tex-time; Additional Downloads Required Macros and Fonts Download (HTTP): Download (FTP): Download MD5 sum: &texmf-md5sum; Download size: &texmf-size; Optional 'texmf' Sources: Download (HTTP): Download (FTP): Download MD5 sum: &texmfsrc-md5sum; Download size: &texmfsrc-size; Optional 'cm-super' Sources: Download (HTTP): Download (FTP): Download MD5 sum: &cmsupersrc-md5sum; Download size: &cmsupersrc-size; TeX Dependencies Required Optional , , , t1lib and GD User Notes: Installation of TeX Before building TeX, the macros and fonts package (texmf tarball) must be installed. Install the macros and fonts using the following commands as the root user: install -v -d -m755 /usr/share/texmf && gzip -dc ../tetex-texmf-&tex-version;.tar.gz \ | (umask 0; cd /usr/share/texmf; tar -xvf -) If the optional texmf source code TAR ball was downloaded, untar it now as the root user: gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \ | (umask 0; cd /usr/share/texmf; tar -xvf -) Install TeX by running the following commands: ./configure --prefix=/usr \ --exec-prefix=/usr --bindir=/usr/bin \ --without-texinfo --with-x=no \ --with-system-ncurses --with-system-zlib && make all To test the results, issue: make check. The tests should complete without errors (there may be some errors which are ignored). Now, as the root user: make install && texconfig-sys dvips paper letter && texconfig-sys font rw The paper size may be changed to a4, as is used in most countries. To install the optional cm-super fonts, perform the following instructions as the root user: tar -xf ../tetex-cm-super.tar.bz2 && FONTDIR=$(kpsewhich --expand-var '$TEXMFMAIN') && mkdir -p $FONTDIR/fonts/afm/public/cm-super \ $FONTDIR/fonts/type1/public/cm-super \ $FONTDIR/fonts/enc/dvips/cm-super \ $FONTDIR/fonts/map/dvips/cm-super && cp -v cm-super/pfb/*.pfb $FONTDIR/fonts/type1/public/cm-super/ && gunzip cm-super/afm/* && cp -v cm-super/afm/*.afm $FONTDIR/fonts/afm/public/cm-super/ && cp -v cm-super/dvips/*.enc $FONTDIR/fonts/enc/dvips/cm-super/ && cp -v cm-super/dvips/*.map $FONTDIR/fonts/map/dvips/cm-super/ && cat >> $FONTDIR/web2c/updmap.cfg << "EOF" && MixedMap cm-super-t1.map MixedMap cm-super-t2a.map MixedMap cm-super-t2b.map MixedMap cm-super-t2c.map MixedMap cm-super-ts1.map MixedMap cm-super-x2.map EOF mktexlsr && updmap-sys && unset FONTDIR Command Explanations --with-x=no: This switch will avoid any X dependencies. TeX can be compiled with X support, notably for xdvi. If this is desired, remove this parameter. --exec-prefix=/usr --bindir=/usr/bin: These switches ensure that TeX binaries are installed in /usr/bin. --without-texinfo: A default LFS installation already has the Texinfo package installed; this switch will avoid overwriting it with the included Texinfo package. --with-system-ncurses: This switch specifies using the already installed libncurses library. --with-system-zlib: LFS systems include the Zlib library; this switch avoids building it here. : Use this option to set the default paper size to letter and the default unit to inch. texconfig-sys dvips paper letter: This command sets the default paper size for TeX. texconfig-sys font rw: This command specifies creating and using a directory for globally writable fonts. mktexlsr: This command recreates the TeX ls-R databases after installing the CM-Super fonts. updmap-sys: This command updates the system-wide font configuration to include the CM-Super fonts. Run ./configure --help for information about using other switches which will enable the build to use other installed packages you may have on your system. Contents Installed Programs Installed Library Installed Directories 100 separate binaries and scripts along with 30 symlinks to these programs. libkpathsea.a /usr/include/kpathsea, /usr/share/texinfo/html, /usr/share/texmf, /usr/share/texi2html, /usr/share/texmf-var and /var/tmp/texfonts Short Descriptions TeX programs included in the TeX package are too numerous to individually list. Please refer to the individual program man pages and for details, as well as a tour of the expansive TeX documentation. TeX programs libkpathsea.a contains functions used by TeX for searching and cataloging path names. libkpathsea.a