Open main menu

Changes

2,539 bytes added ,  15:43, 20 November 2012
m
{{Installation navbox}}
== Introduction ==
The ConTeXt in TeX Live 2010 is [[Context 2010.05.24 | 2010.05.24]] with a few small changes. ConTeXt MkII works out the box, MkIV takes a tiny bit of configurationrequires that the luatex file cache be regenerated after installation before it can be used (see below).
The ''scheme-context'' installs ''collection-context'' and ''collection-metapost''. This brings in quite a few font families, but we did not want to automatically install all font packages, so you may need to install a few by hand with <tt>tlmgr</tt>.
The English interface for both pdftex and xetex is automatically managed by <tt>fmtutil</tt>.
Just run
$ texexec <myfile>
to compile documents using pdfTeX, or
$ texexec --engine=xetex <myfile>
for XeTeX.
=== Enabling other MkII interfaces ===
If you want to enable other context language interfaces, you should use the normal TeX Live local changes system:
1You will need write permissions to TEXMFSYSVAR to enable the other context language interfaces. Look for So if you cannotdo the commented cont-''XX'' lines in <code><texlive-root>/texmf/web2c/fmtutil.cnf</code>. <code><texlive-root></code> is something like <code>/usr/following steps below, point your localadministrator to this page and kindly ask him/texlive/2010</code>, her to run thecommands below for you can use $ kpsewhich --expand-var '$SELFAUTOPARENT'to find it.
Adding extra context interfaces follows the same rules as for any other local format. The process is a little complicated because the normal <code>fmtutil.cnf</code> may be overwritten by package updates, and therefore a local file has to be created. 1. Look for the commented cont-''XX'' lines in <code>fmtutil.cnf</code>. Use $ kpsewhich fmtutil.cnfto find its exact location. You only need the commented lines, there is no need to copy anything else. 2. Create or edit the file <code><texlive-texmflocal>$TEXMFLOCAL/web2c/fmtutil-local.cnf</code>. <code><texlive-texmflocal>$TEXMFLOCAL</code> is something like <code>/usr/local/texlive/texmf-local</code>, you can use
$ kpsewhich --expand-var '$TEXMFLOCAL'
to find itthe exact location.
3. Put the commented cont-'XX' lines you found in step 1 into the <code>fmtutil-local.cnf</code> file. If you do not have write permissions for this want xetex formats as well, make a copy of each line replacing <code>pdftex</code> with <code>xetex</code>. Then uncomment these lines, save the file, ask your local texlive system administrator to complete these stepsand exit the editor.
3. Paste the commmented cont-'XX' you found in step one into that file, uncomment them, create a xetex copy if you want xetex formats as well, and then save the file. After this, the (new section of) <code><texlive-texmflocal>$TEXMFLOCAL/web2c/fmtutil-local.cnf</code> (or the new section of it, if it preexisted) should look like this :
cont-de pdftex cont-usr.tex -8bit *cont-de.ini
cont-de xetex cont-usr.tex -8bit *cont-de.ini
cont-ro xetex cont-usr.tex -8bit *cont-ro.ini
4. If you created a new file, now run $ # mktexlsrto make sure the file will be found by the TeX Live system. 5. Now run # tlmgr generate fmtutilThis merges the info from the TeX Live distribution with the <code>fmtutil-local.cnf</code>.
56. now you can call a normal <code>fmtutil</command> likeNow to generate the newly enabled ConTeXt MkII formats, run $ # fmtutil -sys --allto generate from now on, the new extra formats will be auto-renewed whenever context formatsupdates are installed via <code>tlmgr</code>.
== Running MkIV ==
Directly after installation and , but also after context-related updates to TeX Live, you will need to run
<code> $ luatools --generate</code>
manuallyto refresh the MkIV file cache.
The ''command $ context'' command <myfile>will automatically generate and update the formats and the fonts cache when needed.
== MkIV cache location ==
== ConTeXt 2010.05.24 changes ==
* Because the copyright of the ''koeielogos'' and ''koeieletters'' fonts does not allow modifications, the relevant files are not included (this was also the case in previous years). However, see [[http://tlcontrib.metatex.org/ | TLContrib]] below.
* The files from [[cont-mpd.zip]] are in the package ''mptopdf''. The ''context'' package depends on ''mptopdf'', so installation is automatic.
* Mojca and Taco applied a few hot-fixes for some quite serious bugs:
** Context MkIV did not deal with fonts with upper case filename extensions properly.
** The typescripts ''xits'' and ''stix'' have been added to <tt>type-otf.mkiv</tt>
** Fix Iwona typescripts (Kurier SmallCaps definitions are missing) due to filename changes in new release of these fonts (<code>type-one.mkii</code>).
** Fix Antykwa Półtawskiego typescripts to account for the changes in the first official release in September 2010
** Context MkIV did not handle directory names containing dots properly.
** A patch to fix 'Wrong Pi and Gamma with XITS' and \mathgreekitalic, cf. [http://archive.contextgarden.net/message/20100714.203000.66c2af69.en.html]
== Updating ConTeXt ==
{{todo|[[Category:Installation]] [http://tlcontrib.metatex.org/ TLContrib] is a website + repository that hosts contributed packages for TeX Live 2010.  The packages on TLContrib are not distributed or updated inside TeX Live proper for one or another of following reasons: * not free software according to the strict Debian guidelines* not available on CTAN* it is a binary (executable) update* it is an intermediate release for testing In short, anything TeX-related that can not be on TeX Live but can still legally be distributed over the Internet can have its place on TLContrib. The ultimate goal is to provide a companion to the core TeX Live tlnet distribution in much the same way as Debian's non-free tree is a companion to their normal, 100% free software distribution. The goal is not to replace TeX Live: package and updates that can be part of TeX Live itself should stay (or be added) there. TLContrib is simply trying to fill this in once TeXLive a gap in the current distribution system. Quick start: to use TLContrib as a TeX Live repository, point the TeX Live package manager to http://tlcontrib.metatex.org/2010/  tlmgr --repository http://tlcontrib.metatex.org/2010 is actually released/  For more detailed information, visit the website [http://tlcontrib.metatex.org/ TLContrib] {{Installation navbox}}