Changes

Jump to navigation Jump to search
2,589 bytes removed ,  23:13, 1 December 2010
tidy up outdated hints
== Quickstart for the impatient ==
 (all done as root) If you have the tetex packages, get rid of them:  apt-get --purge remove tetex-{extra,doc,bin,base} If you are running Debian sid or later, then the <code>context</code> package is visible (and the <code>context-nonfree</code> and <code>context-doc-nonfree</code> packages are in the nonfree repository). If you are not running unstable, simply add these lines to your <tt>/etc/apt/sources.list</tt>:  <nowiki> # for texlive deb http://people.debian.org/~preining/TeX/ tl2007/ deb-src http://people.debian.org/~preining/TeX/ src/ # for lmodern deb http://people.debian.org/~preining/TeX/ lmodern/ deb-src http://people.debian.org/~preining/TeX/ lmodern/ # for context deb http://people.debian.org/~preining/TeX/ context/ deb-src http://people.debian.org/~preining/TeX/ context/ </nowiki> It should work with ''etch'' as well (''etch'' is the current stable release, as of May 2007), both on intel and ppc platform. With either distribution, now install the packages:
apt-get update
Read on for more details of the installation, if you are curious.
 
<b>Warning</b>: The next update of these packages will probably ''not'' work with ''etch'' because ''etch'' has a too-old version of libpoppler-dev (0.4 instead of 0.5).
== Use TeXLive packages ==
The context packages depend on [http://www.tug.org/texlive TeXLive], so if you are using the Debian teTeX packages (e.g. see whether <tt>tetex-base</tt> is installed by doing <code>dpkg -l tetex-base</code>), it's time to change to TeXLive. You'll have to do so eventually since teTeX 3.0 will be the last upstream release of teTeX. If not now, when?
If you are switching from teTeX, it's important to <b>purge</b>, not just remove the <tt>tetex-*</tt> packages before installing the TeXLive packages. Otherwise the teTeX configuration files, including those in <tt>/etc/texmf/texmf.d/</tt> and <tt>/etc/texmf/fmt.d/</tt>, will haunt the system like a ghost. To purge:
== Install the ConTeXt packages ==
Norbert Preining has produced reliable, complete ConTeXt packages for Debian, and they use very recent versions of ConTeXt (as of this update, which is 2008.10.11, the latest package has the 2008.05.21 version of ConTeXt). Here's how to use them.  If you are running Debian unstable (a.k.a. sid), then the <code>context</code> package should already be visible (and the <code>context-nonfree</code> and <code>context-doc-nonfree</code> packages are in the nonfree repository). If you are not running unstable, simply add these lines to your <tt>/etc/apt/sources.list</tt>:  <nowiki> # for texlive deb http://people.debian.org/~preining/TeX/ tl2007/ deb-src http://people.debian.org/~preining/TeX/ tl2007/ # for lmodern deb http://people.debian.org/~preining/TeX/ lmodern/ deb-src http://people.debian.org/~preining/TeX/ lmodern/ # for context deb http://people.debian.org/~preining/TeX/ context/ deb-src http://people.debian.org/~preining/TeX/ context/</nowiki>
Either wayIf you are running Debian sid or later, then the <code>context</code> package should already be visible (and the <code>context-nonfree</code> and <code>context-doc-nonfree</code> packages are in the nonfree repository). then do
apt-get update
and apt will download and install the latest ConTeXt packages.
 
Additionally, in particular if you intend on using mkiv (luatex) you may want to install the tex-gyre package (not yet in unstable as the license situation is unclear). Add these lines to your <tt>/etc/apt/sources.list</tt>:
 
<nowiki>
# for tex-gyre
deb http://people.debian.org/~preining/TeX/ tex-gyre/
deb-src http://people.debian.org/~preining/TeX/ tex-gyre/
</nowiki>
 
and install:
 
apt-get update
apt-get install tex-gyre
 
If you don't like the warnings about the GPG key, do this as yourself (if you are happy to trust the chain of trust; insert usual signing-key disclaimers here):
 
gpg --keyserver subkeys.pgp.net --recv-keys 0x09C5B094
gpg --export --armor 0x09C5B094 | sudo apt-key add -
 
[<tt>0x09C5B094</tt> was the key listed in one of Norbert Preining mail signatures. The <code>sudo</code> adds the key to apt's key list.]
== Finished! ==
303

edits

Navigation menu