From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31497 Path: news.gmane.org!not-for-mail From: Frank =?iso-8859-1?Q?K=FCster?= Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt on Debian: The wiki entry Date: Tue, 24 Oct 2006 10:24:26 +0200 Message-ID: <86zmbm5dfp.fsf@alhambra.kuesterei.ch> References: <86hcxv77l9.fsf@alhambra.kuesterei.ch> <453CA039.5010404@elvenkind.com> <86ejszntvv.fsf@alhambra.kuesterei.ch> <453D06DA.6010108@elvenkind.com> <868xj6kg9v.fsf@alhambra.kuesterei.ch> <453DBF4C.2090203@elvenkind.com> 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 1161678402 21951 80.91.229.2 (24 Oct 2006 08:26:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2006 08:26:42 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 24 10:26:41 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 1GcHc7-0006he-4U for gctc-ntg-context-518@m.gmane.org; Tue, 24 Oct 2006 10:26:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C5B411FE6D; Tue, 24 Oct 2006 10:26:22 +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 17025-01; Tue, 24 Oct 2006 10:26:22 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE5CB1FE59; Tue, 24 Oct 2006 10:24:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50A661FE5A for ; Tue, 24 Oct 2006 10:24:34 +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 16749-03-2 for ; Tue, 24 Oct 2006 10:24:30 +0200 (CEST) Original-Received: from idmailgate2.unizh.ch (idmailgate2.unizh.ch [130.60.127.101]) by ronja.ntg.nl (Postfix) with SMTP id CC8A41FE55 for ; Tue, 24 Oct 2006 10:24:30 +0200 (CEST) Original-Received: from localhost (zilnx53.unizh.ch [130.60.127.85]) by idmailgate2.unizh.ch (8.13.7/8.13.7/SuSE Linux 0.7) with ESMTP id k9O8OUnd007450 for ; Tue, 24 Oct 2006 10:24:30 +0200 Original-Received: from idmailgate2.unizh.ch ([130.60.127.101]) by localhost (virus2.unizh.ch [130.60.127.85]) (amavisd-new, port 10024) with LMTP id 10757-14 for ; Tue, 24 Oct 2006 10:24:27 +0200 (CEST) Original-Received: from localhost ([130.60.169.110]) by idmailgate2.unizh.ch (8.13.7/8.13.7/SuSE Linux 0.7) with ESMTP id k9O8OQoG007403 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 24 Oct 2006 10:24:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by localhost with esmtp (Exim 4.50) id 1GcHaE-0002cx-Qt for ntg-context@ntg.nl; Tue, 24 Oct 2006 10:24:26 +0200 Original-To: mailing list for ConTeXt users X-Attribution: fant X-Ehrenamt: http://www.langau.de In-Reply-To: <453DBF4C.2090203@elvenkind.com> (Taco Hoekwater's message of "Tue\, 24 Oct 2006 09\:22\:52 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: amavisd-new at unizh.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:31497 Archived-At: Taco Hoekwater wrote: > 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. When this is done on a system where ConTeXt first came with a TeXlive or teTeX installation, will this replace existing files, or will it put the updated new files in TEMXFLOCAL or TEXMFHOME, respectively? Ah, I think you have answered this already below. > 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". So I guess this is the call that would also be needed if the update itself goes via a package management, i.e. if one installs a new version of the Debian ConTeXt package. > 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. = So I guess TeXlive (and the existing teTeX packages within Linux/BSD/... distributions) should do that, so that modern ConTeXt just works. = 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) It might be possible by setting, in texmf.cnf, TEXFORMATS.xetex =3D .;$TEXMF/web2c{xetex,} TEXFORMATS.pdftex =3D .;$TEXMF/web2c{pdftex,} and so on. I'm not sure, however; this of course depends on which progname ConTeXt uses (so it might need to be TEXFORMATS.cont-xetex or whatever). = > 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. I think, with the TEXFORMATS.$engine setup working, it should be possible to use both, fmtutil and texexec, and get the same formats - texexec might still be better in doing other update tasks. > * 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). This also sounds like a bug in TeXlive/teTeX. > * 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. So this means -update will always try to overwrite an existing installation, and not automatically search for a writable directory that's earlier in the TEXMF path? Even not as a fallback? This sounds as if this tool could be improved. > 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. I think it does help a lot, and we can work from there, testing with the Debian ConTeXt package. Regards, Frank -- = Dr. Frank K=FCster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Z= =FCrich Debian Developer (teTeX/TeXLive)