%general-entities; ]> $LastChangedBy$ $Date$ TeX-&tex-version; TeX Introduction to <application>TeX</application> TeX is a typesetting package, able to create documents in a variety of formats. The optional texmfsrc TAR ball contains source code for packages that are contained in the texmf TAR ball, 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 <filename>texmf</filename> sources: Download (HTTP): Download (FTP): Download MD5 sum: &texmfsrc-md5sum; Download size: &texmfsrc-size; <application>TeX</application> dependencies Required Optional , , : Tk-&Perl-Tk-version;, t1lib and GD Installation of <application>TeX</application> 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 -xf -) 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 -xf -) 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 Now, as the root user: make install && texconfig dvips paper letter && texconfig font rw The paper size may be changed to a4, as is used in most countries. Installation command explanations : This switch will avoid any X Window dependencies. TeX can be compiled with X Window support, notably for xdvi. If this is desired, remove this configure option. --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 starting with version 4.0 have Zlib installed as part of the base operating system; this switch avoids building it here. : Use this option to set the default paper size to letter and the default unit to inch. texconfig dvips paper letter: This command sets the default paper size for TeX. texconfig font rw: This command specifies writable fonts. Run ./configure --help for information about using other switches which will enable the build to use any 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 ~/.texmf-config, /usr/include/kpathsea, /usr/share/texinfo/html, /usr/share/texmf, /usr/share/texi2html and /usr/share/texmf-var 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