TeX_Live_2007
As of recently, TeX Live 2007 is available through Portage and is marked stable for almost every architecture. Use that version following the Texlive Migration Guide! However, if you want, you can install it manually. Unfortunately, this breaks some packages' ebuilds. There is a devel ebuild available in aballier's overlay.
Contents |
Installing
General
This guide is mainly stolen from Semibyte: TeXLive-Installation auf Gentoo Linux
- Unemerge old teTeX or TeX Live
- Get the installation medium (I used the DVD and did not look at the CD!) and run the installer on the CD/DVD as root:
| Code: Installer |
# sh install-tl.sh |
- Check the Proposed platform and choose which packages you need
- Change directories if you want. I will use the standard ones here. I recommend that you set alternate directory for generated fonts to e.g. /var/texfonts, though.
- Install
- Create symlink and folder for TeX files which will be installed by portage
| Code: |
# cd /usr/local/texlive/ # ln -s 2007 current # mkdir texmf-site |
You only have to change the symlink if you want to install a new version in future.
- Add the first part and change TEXMF, SYSTEXMF and TEXMFDBS in
| File: /usr/local/texlive/2007/texmf/web2c/texmf.cnf |
% The files installed by gentoo portage.
TEXMFSITE=$SELFAUTOPARENT/../texmf-site
TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAI\
N,!!$TEXMFLOCAL,!!$TEXMFSITE,!!$TEXMFDIST}
SYSTEXMF = $TEXMFLOCAL;$TEXMFSITE;$TEXMFMAIN;$TEXMFDIST
TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFSITE,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
|
- Create (use the appropriate platform)
| File: /etc/env.d/98TeXLive |
PATH=/usr/local/texlive/current/bin/i386-linux ROOTPATH=/usr/local/texlive/current/bin/i386-linux MANPATH=/usr/local/texlive/current/texmf/doc/man INFOPATH=/usr/local/texlive/current/texmf/doc/info TEXBASE=/usr/local/texlive/ |
The last line is not necessary, but can be handy if you want to enter your tex folder fast.
- Run env-update
- Add app-text/tetex-3.0_p1-r3 in /etc/portage/profile/package.provided
kpathsea library
The kpathsea library itself is not installed. If you need it (eg to compile the lcdf-typetools yourself) you have to do it manually. Here is what I did:
- extract source/source.tar.bz2 from the TeX Live DVD into a temporary folder
- enter that folder (as normal user) and do
| Code: |
$ cd texk/ $ ./configure $ cd kpathsea $ make |
(I get "configure: error: ./configure failed for dvipdfmx" but this does not matter.)
- add the following to the
| File: Makefile |
myinstall: $(SHELL) $(top_srcdir)/../mkinstalldirs $(libdir) $(INSTALL_LIBTOOL_LIBS) lib$(library).la $(libdir) $(SHELL) $(top_srcdir)/../mkinstalldirs $(includedir)/kpathsea for f in $(install_headers); do \ $(INSTALL_DATA) $$f $(includedir)/kpathsea/; done rm -f $(includedir)/kpathsea/acconfig.h myuninstall: $(UNINSTALL_LIBTOOL_LIBS) $(libdir)/lib$(library).la rm -r $(includedir)/kpathsea/ |
- run make myinstall or make myuninstall as root to install or uninstall the kpathsea libraries
Bugs in TeX Live 2007
Here is a list of bugs: [1]
Other TeX-related packages
Maxima
The newest ebuild puts the files into TEXMFSITE
gnuplot
gnuplot-4.2 uses TEXMFSITE.
If emergeing gnuplot-4.2.* fails with an ACCESS VIOLATION, then try doing
touch /usr/local/texlive/texmf-site/ls-R
and remerge gnuplot. --Gi1242 02:55, 4 October 2007 (UTC)
This is fixed now, see Bug 201871. Please report such issues as a bug, it could have been fixed much earlier, but we simply were not aware of the problem. --Ulm 16:29, 28 August 2008 (UTC)
Complementary Tools
dev-tex/texmfind allows you to find tex/latex components in Gentoo packages, for instance:
| Code: texmfind example |
texmfind exam.cls dev-texlive/texlive-latexextra [1 file] exam.cls Found 1 texmf file in 1 ebuild. |
dev-tex/mpm is the MikTeX package manager, it can be a good complement to texlive. If you want to install something not available in texlive do:
| Code: Installing mpm |
emerge dev-tex/mpm mpm --update-db |
to setup mpm. Then, you can install anything available in the Miktex repositories with:
| Code: Installing mpm |
mpm --install=component |
Where component can be a TeX/LaTeX font, style, class, etc.
External links
- switching-to-texlive-2007 - HOWTO switch to TexLive-2007 from an old TeX distribution (e.g. tetex)
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and real estate agent tools.
