Open main menu

Changes

944 bytes removed ,  00:46, 14 February 2022
m
== Use TeXLive {{note|Releases of Debian (or any other distribution for that matter) usually contain way too old TeX distributions for ConTeXt MKIV (but should work fine for MKII). If you want to live on bleeding edge, consider using the packages ==from Debian/unstable, [[ConTeXt Standalone]], or at least install the latest version of [[TeX Live]] with [[TLContrib]] manually.}}
The context packages depend on [http://www.tug.org/texlive TeXLive], so if you are using == Install the Debian teTeX ConTeXt packages (e.g. see whether tetex-base is installed by doing "dpkg -l tetex-base"), it's time to make the change to TeXLive. You'll have to do it eventually since teTeX 3.0 will be its last upstream release. So if not now, when?==
The directions for using TeXLive are at http:status of ConTeXt in Debian//www.tug.org/texlive/debianunstable is currently up to date with TeX Live 2021, and includes all the necessary bits and pieces, plus the modules shipped in TeX Live.html
Make sure If you install are running Debian sid or later, then the texlive-metapost package if you do not have it already.   == Install a [[Latin Modern]] font update == Do<code> # aptcontext</code> and <code>context-get install lmodern cm-supermodules</code>packages should already be visible.Then do
== Install the ConTeXt packages == aptitude update aptitude install context context-modules
Norbert Preining has produced reliable, complete ConTeXt packages for Debian, and they use very recent versions of ConTeXt * The final version in debian bullseye (as of this writing, which aka debian stable 11.2) is 20072020.0103.05, the latest package has the 200710.01.02 20200331-1* In ''unstable'' is a version of ConTeXt). Here's how to use them. Add these two lines to your /etc/apt/sources.list :that is from the TeX Live 2021
deb <nowiki>http://www.tug=== Install latest unstable context .org/texlive/Debian/</nowiki> context/ deb-src <nowiki>http://www.tug.org/texlive/Debian/</nowiki> context/package ===
Then do<tt>unstable</tt> means ''(mature) development'', the version number may changes. The software is ''stable''
apt1. Download the two .deb-get updates apt-get install http://packages.debian.org/unstable/all/context /downloadhttp://packages.debian.org/unstable/all/context-nonfree context-doc-nonfreemodules/download
and apt will download and 2. run as root (the version number might have increased a bit) dpkg --install the latest ConTeXt packagescontext_2021.03.05.20220211-1_all.deb mtxrun --generate
== Steps to finish a first context upgrade ==3. run as user mtxrun --generate
If you have format files in <tt>~/Step 2.texmfis currently still necessary, but soon an update of tex-var/web2c/<i>engine</i></tt> where <i>engine</i> is typically <tt>pdfetex</tt>common will run mtxrun --generate automatically when packages have changed (like mktexlsr), then these and there will shadow the ones installed by the context package. So you be no need delete themto run this anymore.
To find them, use <tt>kpsewhich cont-enStep 3.fmt</tt> (and similarly for the other formats). Run the <tt>kpsewhich</tt> from a 'typical' directory (e.g. your home directory), rather than from <tt>~/.texmf-var/web2c/pdfetex/</tt> (adjust for your engine), otherwise it will find the newly created formats before any othersneeds to be done only when you have files in TEXMFHOME or you change things there.
If you You have context installed in a directory that precedes <tt>/usr/share/texmf</tt>, then they will shadow the ones installed by the package, and you will get now a clash (the format files will be the ones installed by the package, but later versions will be read in). So you need to move the shadowing system wide context installations out of the way.-installation!
== Finished! See also ==
That should do it! The output of <code>texexec --version</code> (run as you, not as root) is hopefully like this:<code> TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeXk, 3.141592-1.30.4-2.2 (Web2C 7.5.5) context : ver: 2005.10.27 cont-en : ver: 2005.10.27 fmt: 2005.11.1 mes: english</code>{{Installation navbox}}
[[Category:Installation]]
See also the [[Debian TeXlive install]] page.
174

edits