TeTeX: Difference between revisions
I added the package description from BLFS. |
No edit summary |
||
| Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
| http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-src- | | http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-src-{{TeTeX-Version}}.tar.gz | ||
|- | |- | ||
!Required Macros and Fonts: | !Required Macros and Fonts: | ||
| http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmf- | | http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmf-{{TeTeX-Version}}.tar.gz | ||
|- | |- | ||
!Optional 'texmf' Sources: | !Optional 'texmf' Sources: | ||
| http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmfsrc- | | http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmfsrc-{{TeTeX-Version}}.tar.gz | ||
|- | |- | ||
!Optional 'cm-super' Sources: | !Optional 'cm-super' Sources: | ||
| Line 37: | Line 37: | ||
install -v -d -m755 /usr/share/texmf && | install -v -d -m755 /usr/share/texmf && | ||
gzip -dc ../tetex-texmf- | gzip -dc ../tetex-texmf-{{TeTeX-Version}}.tar.gz \ | ||
| (umask 0; cd /usr/share/texmf; tar -xvf -) | | (umask 0; cd /usr/share/texmf; tar -xvf -) | ||
If the optional texmfsrc source code tarball was downloaded, unpack it now as the root user: | If the optional texmfsrc source code tarball was downloaded, unpack it now as the root user: | ||
gzip -dc ../tetex-texmfsrc- | gzip -dc ../tetex-texmfsrc-{{TeTeX-Version}}.tar.gz \ | ||
| (umask 0; cd /usr/share/texmf; tar -xvf -) | | (umask 0; cd /usr/share/texmf; tar -xvf -) | ||
| Line 103: | Line 103: | ||
install -v -d -m755 /usr/share/texmf && | install -v -d -m755 /usr/share/texmf && | ||
gzip -dc ../tetex-texmf- | gzip -dc ../tetex-texmf-{{TeTeX-Version}}.tar.gz \ | ||
| (umask 0; cd /usr/share/texmf; tar -xvf -) | | (umask 0; cd /usr/share/texmf; tar -xvf -) | ||
If the optional texmfsrc source code tarball was downloaded, unpack it now as the root user: | If the optional texmfsrc source code tarball was downloaded, unpack it now as the root user: | ||
gzip -dc ../tetex-texmfsrc- | gzip -dc ../tetex-texmfsrc-{{TeTeX-Version}}.tar.gz \ | ||
| (umask 0; cd /usr/share/texmf; tar -xvf -) | | (umask 0; cd /usr/share/texmf; tar -xvf -) | ||
Revision as of 12:30, 17 December 2006
| 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 |
Introduction to teTex
teTeX is an implementation of Donald Knuth's TeX typesetting program. This package is able to create documents in a variety of formats. The optional texmfsrc (TeX METAFONT) tarball contains source code for programs to create and manipulate TeX fonts.
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 \
--enable-shared \
--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}" USE_ARCH=32 \
./configure --prefix=/usr \
--exec-prefix=/usr \
--enable-shared \
--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}" USE_ARCH=n32 \
./configure --prefix=/usr \
--exec-prefix=/usr --libdir=/usr/lib32 \
--enable-shared \
--bindir=/usr/bin \
--without-texinfo \
--with-x=no \
--with-system-ncurses \
--with-system-zlib &&
[ -f texk/libtool ] && sed -i "/sys_lib_search_path_spec=/s:/lib:&32:g" texk/libtool;
make all
Install the package:
make install
64Bit
Compile the package:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr \
--exec-prefix=/usr --libdir=/usr/lib64 \
--enable-shared \
--bindir=/usr/bin \
--without-texinfo \
--with-x=no \
--with-system-ncurses \
--with-system-zlib &&
[ -f texk/libtool ] && sed -i "/sys_lib_search_path_spec=/s:/lib:&64:g" texk/libtool;
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