From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31495 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt on Debian: The wiki entry Date: Tue, 24 Oct 2006 09:22:52 +0200 Message-ID: <453DBF4C.2090203@elvenkind.com> References: <86hcxv77l9.fsf@alhambra.kuesterei.ch> <453CA039.5010404@elvenkind.com> <86ejszntvv.fsf@alhambra.kuesterei.ch> <453D06DA.6010108@elvenkind.com> <868xj6kg9v.fsf@alhambra.kuesterei.ch> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1161674593 7879 80.91.229.2 (24 Oct 2006 07:23:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2006 07:23:13 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 24 09:23:09 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GcGcq-00027a-Jt for gctc-ntg-context-518@m.gmane.org; Tue, 24 Oct 2006 09:23:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1C1E11FDDB; Tue, 24 Oct 2006 09:23:03 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15828-01; Tue, 24 Oct 2006 09:22:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 14CCE1FDE7; Tue, 24 Oct 2006 09:22:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 317FC1FE17 for ; Tue, 24 Oct 2006 09:22:54 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15827-01-3 for ; Tue, 24 Oct 2006 09:22:52 +0200 (CEST) Original-Received: from post-24.mail.nl.demon.net (post-24.mail.nl.demon.net [194.159.73.194]) by ronja.ntg.nl (Postfix) with SMTP id A7BD61FDDB for ; Tue, 24 Oct 2006 09:22:52 +0200 (CEST) Original-Received: from boo.demon.nl ([82.161.175.147]:37913 helo=[10.10.0.3]) by post-24.mail.nl.demon.net with esmtp (Exim 4.51) id 1GcGce-00066m-CZ for ntg-context@ntg.nl; Tue, 24 Oct 2006 07:22:52 +0000 User-Agent: Mozilla Thunderbird 1.0.6-7.6.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <868xj6kg9v.fsf@alhambra.kuesterei.ch> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31495 Archived-At: Frank K=FCster wrote: > = > Can you point me to the place where it is documented which calls are > needed to be called I was going to say: on the wiki, but that clearly wouldn't work this time. To actually update ConTeXt, assuming you already have a relatively modern context installed, you say = # ctxtools --update and that fetches the zip file(s) from the pragma site (or a mirror), unpacks them, and updates the various perl and ruby scripts that come with ConTeXt. You have to be root for this when you want to update the global install, otherwise you have a few extra caveats, see below. After a succesful update, you have to run = # texexec --make --all [--xetex | --aleph | --pdftex] Where are the desired formats to run. The accepted list at the moment is: the eight ConTeXt formats, in both long ("cont-en" etc.) and short from ("en","nl","de","it","fr","cz", "ro","uk"), and "mptopdf", and the metapost mems "mpost" and "metafun". This works fine if you are root, and had a previous context update done already. If you have not already and/or are not root, then you have two big problems: * TEXFORMATS as shipped with teTeX/TL is uncomplete: there is that missing format-specific subdirectory. If you are not root, then you have to create a local texmf.cnf to overrule the default texmf.cnf. I have: TEXFORMATS =3D .;$TEXMF/web2c/{$engine,} because context's texexec pushes the $engine setting to the environment, this works fine (Originally this was supposed to be handled by kpathsea, but like I said, that never got off the ground) If you don't make this change, you cannot use texexec for the format regeneration, at all. (Formats created by texexec will never be used because the fmtutil-generated old one is always discovered first). Not using texexec is not a big deal in itself, as long as you restrict yourself to using pdfetex and know how to edit the fmtutil config file, I guess. That's why you sometimes see that approach promoted on the wiki. * TEXFONTMAPS is also wrong: it makes pdftex (and dvipdfmx as well, I guess) find the mapfiles for dvips before their own mapfiles (those are shipped with ConTeXt). I have: TEXFONTMAPS.dvipdfm =3D .;$TEXMF/fonts/map/{dvipdfm,dvips,}// TEXFONTMAPS.dvipdfmx =3D .;$TEXMF/fonts/map/{dvipdfm,dvips,}// TEXFONTMAPS.pdftex =3D .;$TEXMF/fonts/map/{pdftex,dvips,}// TEXFONTMAPS.pdfetex =3D .;$TEXMF/fonts/map/{pdftex,dvips,}// TEXFONTMAPS.xetex =3D .;$TEXMF/fonts/map/{xetex,pdftex,dvips,}// TEXFONTMAPS.dvips =3D .;$TEXMF/fonts/map/{dvips,pdftex,}// TEXFONTMAPS =3D.;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;\ $TEXMF/{$progname,pdftex,dvips}/{config,}// this works fine (but it is perhaps a bit too verbose). * Lastly, ctxtools --update does a kpsewhich on context.tex to find where to install the updated files. That only works if you have write permission for that directory (i.e. you are root), or if you have done a private install already. I think that is all, but I may have missed something, so if you read this message and know a thing or two about updating, please double check my text. Thanks in advance. Cheers, Taco