Changes

Jump to navigation Jump to search
2,331 bytes removed ,  00:46, 14 February 2022
m
{{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.}}
 
== Install the ConTeXt packages ==
Norbert Preining has produced reliable, complete The status of ConTeXt packages for in Debian/unstable is currently up to date with TeX Live 2021, and they use very recent versions of ConTeXtincludes all the necessary bits and pieces, plus the modules shipped in TeX Live.
If 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-nonfreemodules</code> packages are in the nonfree repository)should already be visible. then Then do
aptitude update aptitude install context context-nonfree context-doc-nonfreemodules
and apt will download and install * The final version in debian bullseye (aka debian stable 11.2) is 2020.03.10.20200331-1* In ''unstable'' is a version that is from the latest ConTeXt packages.TeX Live 2021
* The final version in debian squeeze (aka debian stable 6.0) is 2009.11.26-2* in december 2010 a new experimental === Install latest unstable context .deb package was built you can try it out: http://packages.debian.org/experimental/context===
== switch from tetex to texlive ==<tt>unstable</tt> means ''(mature) development'', the version number may changes. The software is ''stable''
The context packages depend on [1. Download the two .deb-s http://wwwpackages.tugdebian.org/texlive TeXLive], so if you are using the Debian teTeX unstable/all/context/downloadhttp://packages (e.gdebian. see whether <tt>tetex-base<org/unstable/all/tt> is installed by doing <code>dpkg -l tetexcontext-base<modules/code>), it's time to change to TeXLive.download
If you are switching from teTeX, it's important to <b>purge</b>, not just remove 2. run as root (the <tt>tetexversion number might have increased a bit) dpkg --*</tt> packages before installing the TeXLive packagesinstall context_2021. Otherwise the teTeX configuration files, including those in <tt>/etc/texmf/texmf03.d/</tt> and <tt>/etc/texmf/fmt05.d/</tt>, will haunt the system like a ghost20220211-1_all. deb To purge:mtxrun --generate
apt3. run as user mtxrun -get --purge remove tetex-{extra,doc,bin,base}generate
The full directions for using TeXLive are at http://wwwStep 2.tug.org/texlive/debianis currently still necessary, but soon an update of tex-common will run mtxrun --generate automatically when packages have changed (like mktexlsr), and there will be no need to run this anymore.html or[[Debian TeXlive install]], though if you are brave you can just try:
apt-get update && apt-get install texliveStep 3. needs to be done only when you have files in TEXMFHOME or you change things there.
Once you've installed the basic packages, you'll need You have now a few extras:system wide context-installation!
apt-get install lmodern cm-super texlive-fonts-recommended == Check for shadowing formats and macros See also == These installation instructions describe a system-wide install. But individual users may have followed the old directions on this page and (sorry!) made a per-user ConTeXt installation; or as root you may have done a system-wide install in, for example, <tt>/usr/local/share/texmf</tt> or other directory that shadows <tt>/usr/share/texmf</tt>. In either case, the system-wide install from the packages won't be seen.
If individual users prefer to shadow the system-wide install and to run their downloaded versions, that's fine. But if they want to use the system-wide install (recommended except for those who are testing Hans's latest versions...), then there are two issues. The first issue is old format files. If a user has format files in <tt>~/.texmf-var/web2c/<i>engine</i></tt> where <i>engine</i> is typically <tt>pdfetex</tt>, then these will shadow the ones installed by the context package. So the user should delete the ConTeXt-related ones, such as <tt>cont-*.fmt</tt>, <tt>mptopdf.fmt</tt>, and <tt>metafun.mem</tt>. To find them, the user can do:  kpsewhich cont-en.fmt or kpsewhich -engine pdfetex cont-en.fmt (and similarly for the other formats). Run it from a 'typical' directory (e.g. <tt>~</tt>), rather than from <tt>~/.texmf-var/web2c/pdfetex/</tt> (adjust for your engine), otherwise it will find the newly created formats before any others even if they are not shadowing anything else. The second issue is the ConTeXt macros. If a user has installed them a directory that shadows <tt>/usr/share/texmf</tt>, then they will be found rather than the system-wide ones. So move the shadowing context installations out of the way. The user can check with  kpsewhich cont-new.tex and make sure that it's not finding any (until you do the system-wide install, of course).   That should do it! The output of <code>ctxtools --contextversion</code> is hopefully like this: <code> CtxTools | context version: 2008.05.21 15:21 (/usr/share/texmf/tex/context/base/context.tex) CtxTools | context version: 2008.05.21 15:21 (/usr/share/texmf/tex/context/base/cont-new.tex)</code> The long path to <tt>context.tex</tt> and <tt>cont-new.tex</tt> show where the system thinks the context macros are installed. Make sure your installation is finding those versions!   == See also =={{Installation navbox}}
[[Category:Installation]]
the [[Debian TeXlive install]] page.
174

edits

Navigation menu