From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31499 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 10:57:58 +0200 Message-ID: <453DD596.8060801@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> <453DBF4C.2090203@elvenkind.com> <86zmbm5dfp.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 1161680305 28988 80.91.229.2 (24 Oct 2006 08:58:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2006 08:58:25 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 24 10:58:24 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 1GcI6t-0004y7-QO for gctc-ntg-context-518@m.gmane.org; Tue, 24 Oct 2006 10:58:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 918EE1FE67; Tue, 24 Oct 2006 10:58:11 +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 17364-03-7; Tue, 24 Oct 2006 10:58:04 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6FF721FE5C; Tue, 24 Oct 2006 10:58:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C25241FE62 for ; Tue, 24 Oct 2006 10:58:02 +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 17364-03-6 for ; Tue, 24 Oct 2006 10:58:01 +0200 (CEST) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id 3D2411FE58 for ; Tue, 24 Oct 2006 10:58:00 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id D90EA1BE5B for ; Tue, 24 Oct 2006 10:58:00 +0200 (CEST) Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29496-06 for ; Tue, 24 Oct 2006 10:58:00 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id E3FC71BEDB for ; Tue, 24 Oct 2006 10:57:59 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <86zmbm5dfp.fsf@alhambra.kuesterei.ch> X-Virus-Scanned: by amavisd-new at elvenkind.net 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:31499 Archived-At: Frank K=FCster wrote: > = >>After a succesful update, you have to run >> = >> # texexec --make --all [--xetex | --aleph | --pdftex] >> .. > 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. Yes. >>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. = Yes. But Hans and I gave up trying to convince the teTeX maintainers a while back, and we are not any more willing to spend even more time on doing that (even though the situation may have improved). > = > = > 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). = It is not the user-supplied progname, but the executable engine name. The progname is always set to 'context' for ConTeXt, otherwise variables like TEXINPUTS and the memory sizes would need many more entries main_memory.cont-en-xetex main_memory.cont-de-xetex etc. That is why there is a separate $engine. >> 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 - Agreed. > texexec might still be better in doing other update tasks. Also agreed. >>* 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. Yes, I think so: it needs a few more TEXFONTMAPS lines in texmf.cnf. >>* 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. That is true, ctxtools is very new tool that could definately be improved. Cheers, Taco