Difference between revisions of "TeTeX"
(I fixed the broken links to the source code.) |
(Gave advisory for post installation configuration) |
||
(14 intermediate revisions by 7 users not shown) | |||
Line 2: | Line 2: | ||
|-valign="top" | |-valign="top" | ||
!Download Source: | !Download Source: | ||
− | | | + | | ftp://tug.ctan.org/tex-archive/obsolete/systems/unix/teTeX/3.0/distrib/tetex-src-3.0.tar.gz |
|-valign="top" | |-valign="top" | ||
!Required Macros and Fonts: | !Required Macros and Fonts: | ||
− | | | + | | ftp://tug.ctan.org/tex-archive/obsolete/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz |
|-valign="top" | |-valign="top" | ||
!Optional 'texmf' Sources: | !Optional 'texmf' Sources: | ||
− | | | + | | ftp://tug.ctan.org/tex-archive/obsolete/systems/unix/teTeX/3.0/distrib/tetex-texmfsrc-3.0.tar.gz |
|-valign="top" | |-valign="top" | ||
!Optional 'cm-super' Sources: | !Optional 'cm-super' Sources: | ||
− | | http:// | + | | http://ftp.osuosl.org/pub/blfs/6.3/t/tetex-cm-super.tar.bz2 |
+ | |-valign="top" | ||
+ | !Download Patch: | ||
+ | | http://svn.cross-lfs.org/svn/repos/patches/tetex-src/tetex-src-3.0-gcc_4.4-1.patch | ||
|} | |} | ||
---- | ---- | ||
− | + | {{Package-Introduction|teTeX is a complete TeX distribution for UNIX compatible systems developed by Thomas Esser. It is based on the web2c distribution which is currently maintained by Olaf Weber. | |
− | + | {{Note|This package has been marked as obsolete and replaced by TeXLive, http://cblfs.cross-lfs.org/index.php/TeXLive. For more information, http://www.mail-archive.com/ctan-ann@dante.de/msg01091.html}} | |
TeX is a typesetting language developed by Donald Knuth. Instead of visually formatting your text, you type your manuscript text combined with commands in a plain text file. You then run TeX to produce the final layout. Thus, in contrast to standard word processors, the source (TeX commands) is a separate file that does not pretend to be a representation of the final typeset document, and thus can be edited by any text editor. | TeX is a typesetting language developed by Donald Knuth. Instead of visually formatting your text, you type your manuscript text combined with commands in a plain text file. You then run TeX to produce the final layout. Thus, in contrast to standard word processors, the source (TeX commands) is a separate file that does not pretend to be a representation of the final typeset document, and thus can be edited by any text editor. | ||
texmf contains programs to create and manipulate TeX fonts. texmfsrc contains sources for packages that are contained in the texmf tarball. cm-super package contains Type 1 fonts converted from METAFONT | texmf contains programs to create and manipulate TeX fonts. texmfsrc contains sources for packages that are contained in the texmf tarball. cm-super package contains Type 1 fonts converted from METAFONT | ||
− | fonts and covers entire EC/TC, EC Concrete, EC Bright and LH fonts (Computer Modern font families). | + | fonts and covers entire EC/TC, EC Concrete, EC Bright and LH fonts (Computer Modern font families).|http://www.tug.org/tetex/}} |
− | |||
− | |||
== Dependencies == | == Dependencies == | ||
Line 51: | Line 52: | ||
gzip -dc ../tetex-texmfsrc-{{TeTeX-Version}}.tar.gz \ | gzip -dc ../tetex-texmfsrc-{{TeTeX-Version}}.tar.gz \ | ||
| (umask 0; cd /usr/share/texmf; tar -xvf -) | | (umask 0; cd /usr/share/texmf; tar -xvf -) | ||
+ | |||
+ | Apply this patch when using GCC 4.4: | ||
+ | |||
+ | patch -Np1 -i ../tetex-src-3.0-gcc_4.4-1.patch | ||
Compile the package: | Compile the package: | ||
Line 69: | Line 74: | ||
texconfig-sys dvips paper letter && | texconfig-sys dvips paper letter && | ||
texconfig-sys font rw | texconfig-sys font rw | ||
+ | |||
+ | {{NOTE|If you get an error message like: | ||
+ | |||
+ | tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. | ||
+ | |||
+ | then do (as root) | ||
+ | |||
+ | texconfig rehash | ||
+ | |||
+ | and then retry | ||
+ | |||
+ | texconfig-sys dvips paper letter && | ||
+ | texconfig-sys font rw | ||
+ | }} | ||
'''''The paper size may be changed to a4, as is used in most countries.''''' | '''''The paper size may be changed to a4, as is used in most countries.''''' | ||
Line 104: | Line 123: | ||
== Multilib == | == 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: | 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: | ||
Line 117: | Line 134: | ||
gzip -dc ../tetex-texmfsrc-{{TeTeX-Version}}.tar.gz \ | gzip -dc ../tetex-texmfsrc-{{TeTeX-Version}}.tar.gz \ | ||
| (umask 0; cd /usr/share/texmf; tar -xvf -) | | (umask 0; cd /usr/share/texmf; tar -xvf -) | ||
+ | |||
+ | === 32Bit === | ||
+ | |||
+ | Apply this patch when using GCC 4.4: | ||
+ | |||
+ | patch -Np1 -i ../tetex-src-3.0-gcc_4.4-1.patch | ||
Compile the package: | Compile the package: | ||
Line 136: | Line 159: | ||
=== N32 === | === N32 === | ||
+ | |||
+ | Apply this patch when using GCC 4.4: | ||
+ | |||
+ | patch -Np1 -i ../tetex-src-3.0-gcc_4.4-1.patch | ||
Compile the package: | Compile the package: | ||
Line 156: | Line 183: | ||
=== 64Bit === | === 64Bit === | ||
+ | |||
+ | Apply this patch when using GCC 4.4: | ||
+ | |||
+ | patch -Np1 -i ../tetex-src-3.0-gcc_4.4-1.patch | ||
Compile the package: | Compile the package: | ||
Line 209: | Line 240: | ||
unset FONTDIR | unset FONTDIR | ||
+ | |||
+ | [[Category:Type Setting]] |
Latest revision as of 22:13, 28 December 2012
Download Source: | ftp://tug.ctan.org/tex-archive/obsolete/systems/unix/teTeX/3.0/distrib/tetex-src-3.0.tar.gz |
---|---|
Required Macros and Fonts: | ftp://tug.ctan.org/tex-archive/obsolete/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz |
Optional 'texmf' Sources: | ftp://tug.ctan.org/tex-archive/obsolete/systems/unix/teTeX/3.0/distrib/tetex-texmfsrc-3.0.tar.gz |
Optional 'cm-super' Sources: | http://ftp.osuosl.org/pub/blfs/6.3/t/tetex-cm-super.tar.bz2 |
Download Patch: | http://svn.cross-lfs.org/svn/repos/patches/tetex-src/tetex-src-3.0-gcc_4.4-1.patch |
Contents
Introduction to TeTeX
teTeX is a complete TeX distribution for UNIX compatible systems developed by Thomas Esser. It is based on the web2c distribution which is currently maintained by Olaf Weber.
TeX is a typesetting language developed by Donald Knuth. Instead of visually formatting your text, you type your manuscript text combined with commands in a plain text file. You then run TeX to produce the final layout. Thus, in contrast to standard word processors, the source (TeX commands) is a separate file that does not pretend to be a representation of the final typeset document, and thus can be edited by any text editor.
texmf contains programs to create and manipulate TeX fonts. texmfsrc contains sources for packages that are contained in the texmf tarball. cm-super package contains Type 1 fonts converted from METAFONT fonts and covers entire EC/TC, EC Concrete, EC Bright and LH fonts (Computer Modern font families).
Project Homepage: http://www.tug.org/tetex/
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 -)
Apply this patch when using GCC 4.4:
patch -Np1 -i ../tetex-src-3.0-gcc_4.4-1.patch
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
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
then do (as root)
texconfig rehash
and then retry
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
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 -)
32Bit
Apply this patch when using GCC 4.4:
patch -Np1 -i ../tetex-src-3.0-gcc_4.4-1.patch
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
Apply this patch when using GCC 4.4:
patch -Np1 -i ../tetex-src-3.0-gcc_4.4-1.patch
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
Apply this patch when using GCC 4.4:
patch -Np1 -i ../tetex-src-3.0-gcc_4.4-1.patch
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