TeTeX
Download Source: | http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-src-3.0.tar.gz |
---|---|
Required Macros and Fonts: | http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz |
Optional 'texmf' Sources: | http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmfsrc-3.0.tar.gz |
Optional 'cm-super' Sources: | http://anduin.linuxfromscratch.org/sources/BLFS/svn/t/tetex-cm-super.tar.bz2 |
Contents
Dependencies
Required
Optional
Non-Multilib
Before building teTeX, 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-3.0.tar.gz \ | (umask 0; cd /usr/share/texmf; tar -xvf -)
If the optional texmfsrc source code tarball was downloaded, unpack it now as the root user:
gzip -dc ../tetex-texmfsrc-3.0.tar.gz \ | (umask 0; cd /usr/share/texmf; tar -xvf -)
Compile the package:
./configure --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --without-texinfo \ --with-x=no \ --with-system-ncurses \ --with-system-zlib && make all
Install the package:
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 -v -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
Multilib
32Bit
Before building teTeX, 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-3.0.tar.gz \ | (umask 0; cd /usr/share/texmf; tar -xvf -)
If the optional texmfsrc source code tarball was downloaded, unpack it now as the root user:
gzip -dc ../tetex-texmfsrc-3.0.tar.gz \ | (umask 0; cd /usr/share/texmf; tar -xvf -)
Compile the package:
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --without-texinfo \ --with-x=no \ --with-system-ncurses \ --with-system-zlib && make all
Install the package:
make install
N32
Compile the package:
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \ --exec-prefix=/usr --libdir=/usr/lib32 \ --bindir=/usr/bin \ --without-texinfo \ --with-x=no \ --with-system-ncurses \ --with-system-zlib && make all
Install the package:
make install
64Bit
Compile the package:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \ --exec-prefix=/usr --libdir=/usr/lib64 \ --bindir=/usr/bin \ --without-texinfo \ --with-x=no \ --with-system-ncurses \ --with-system-zlib && make all
Install the package:
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 -v -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