Changes

Jump to navigation Jump to search
2,430 bytes removed ,  00:46, 14 February 2022
m
== Install teTeX 3{{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).0 ==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.}}
Lucky Debian users can install official == Install the ConTeXt packages from <code>testing</code>or from <code>unstable</code>.==
Just do: # apt-get install tetex-bin tetex-extraThe status of ConTeXt in Debian/unstable is currently up to date with TeX Live 2021, and includes all the necessary bits and pieces, plus the modules shipped in TeX Live.
You may verify it withIf you are running Debian sid or later, then the <code>context</code> and <code>dpkg -l tetexcontext-bin tetex-extramodules</code>,it packages should show something like Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii tetex-bin 3already be visible.0-14 The teTeX binary files ii tetex-extra 3.0-14 Additional library files of teTeXThen do
== Install a [[pdfTeX]] aptitude update == aptitude install context context-modules
Since the Debian tetex* The final version in debian bullseye (aka debian stable 11.2) is 2020.03.10.20200331-bin package already contains 1* In ''unstable'' is a pdftex program, this update version that is optional and ConTeXt should work even if from the release of pdftex provided by tetex-bin is a little bit old. TeX Live 2021
Fetch the 1.30.6 release (tar or zip archive) from [[http://sarovar.org/projects/pdftex sarovar]]=== Install latest unstable context . deb package ===
From within the directory where you downloaded the archive file, execute the following series of commands:<codett> # unzip pdftex-1.30.6.zip # cd pdftex-1.30.6unstable</codett>means ''(mature) development'', the version number may changes. The software is ''stable''
Edit 1. Download the buildtwo .sh file and add a valid datadir optiondeb-s http:<code> .//packages.debian.org/unstable/all/context/download http://packages.debian.org/srcunstable/configure \ --datadir=all/usr/share \ context--without-bibtex8 \ ...<modules/code>download
Then 2. run buildas root (the version number might have increased a bit) dpkg --install context_2021.sh:<code> # sh 03.05./build20220211-1_all.shdeb</code> mtxrun --generate
If the build went OK, then the last four lines of terminal output are theactual binaries and pool files for pdftex and pdfetex3. These have to replacerun as usertheir existing counterparts in the teTeX installation. mtxrun --generate
'''Note:''' The next commands assume that <tt>`which pdfetex`</tt> can actually find the executables from teTeXStep 2. If it doesn't workis currently still necessary, then your PATH does not include the teTeX binaries directory yetbut soon an update of tex-common will run mtxrun --generate automatically when packages have changed (like mktexlsr), and you should fix that firstthere will be no need to run this anymore. Likewise for <tt>`kpsewhich pdfetex.pool`</tt>
<code> # cp -f build/texk/web2c/pdfetex `which pdfetex` # cp -f build/texk/web2c/pdfetexStep 3.pool `kpsewhich pdfetexneeds to be done only when you have files in TEXMFHOME or you change things there.pool` # fmtutil-sys --all</code>
== Install You have now a [[MetaPost]] update ==system wide context-installation!
Update MetaPost is strongly recommended!== See also ==
The included MetaPost in teTeX is a bit outdated. If you want, you can fetch and install the latest MetaPost from sarovar. The current release is 0.901.Just download the source tarball from the [[http://sarovar.org/projects/metapost project page]] From the directory where you downloaded the archive file, execute the following series of commands:<code> # tar xjf metapost-0.901.tar.bz2 # cd metapost-0.901 # ./Build # cp texmf/metapost/base/* /usr/share/texmf-tetex/metapost/base # cd build/texk/web2c # cp -f mpost dvitomp mpware/dmp mpware/mpto mpware/newer mpware/makempx \ /usr/bin # cp -f mp.pool /usr/share/texmf/web2c # texhash # fmtutil-sys --byfmt mpost</code> == Install a [[Latin Modern]] font update ==  Under Debian, root as just to ask : <code> # apt-get install lmodern pts-tetex-cm-super</code> The configuration/update is handled by apt-get  On newer versions you do<code> # apt-get install lmodern cm-super</code> == Install the latest ConTeXt == Fetch the current distro from Pragma ADE:[[http://www.pragma-ade.com/context/current/cont-tmf.zip cont-tmf.zip]] As a user, I would advise to install context in ~/texmf (~ refers to the current user home directory)  mkdir texmf cd texmf wget http://www.pragma-ade.com/context/current/cont-tmf.zip unzip cont-tmf.zip texexec --make If you are on Debian (Etch) you need to do some additional steps mkdir -p .textmf-var/web2c cd .textmf-var cp ../texmf/*.fmt web2c/ texexec --make == Finished! == That should do it! The output of <code>texexec --version</code> 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

Navigation menu