From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27992 Path: news.gmane.org!not-for-mail From: Maurice Diamantini Newsgroups: gmane.comp.tex.context Subject: Re: some patches (clever ConTeXt installation) Date: Tue, 16 May 2006 14:56:10 +0200 Message-ID: <9E6A5D27-C384-460C-98A8-D709565AFA72@ensta.fr> References: <44682C69.1000109@wxs.nl> <6E381F54-8AE1-48EF-B71F-5CF98ADC10B7@ensta.fr> <446842DA.8040806@wxs.nl> <9AC95F3B-39A8-45C1-A618-6581A8C289EB@free.fr> <44690B4B.7070905@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1147784366 30017 80.91.229.2 (16 May 2006 12:59:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 May 2006 12:59:26 +0000 (UTC) Cc: Maurice Diamantini , Hagen Hans Original-X-From: ntg-context-bounces@ntg.nl Tue May 16 14:59:25 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 1Ffz7B-00062d-Rx for gctc-ntg-context-518@m.gmane.org; Tue, 16 May 2006 14:57:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8804B127D1; Tue, 16 May 2006 14:57:28 +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 21584-05; Tue, 16 May 2006 14:57:23 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BCFB2127C7; Tue, 16 May 2006 14:57:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 75EEC127C7 for ; Tue, 16 May 2006 14:57:21 +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 21711-04-2 for ; Tue, 16 May 2006 14:57:18 +0200 (CEST) Original-Received: from ns1.ensta.fr (ns1.ensta.fr [147.250.10.1]) by ronja.ntg.nl (Postfix) with SMTP id E8200127C6 for ; Tue, 16 May 2006 14:57:16 +0200 (CEST) Original-Received: from localhost (localhost.ensta.fr [127.0.0.1]) by localhost.ns1.ensta.fr (Postfix) with ESMTP id 467143147B1; Tue, 16 May 2006 14:57:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at ensta.fr Original-Received: from ns1.ensta.fr ([127.0.0.1]) by localhost (ns1.ensta.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DbsG1T3bO27J; Tue, 16 May 2006 14:57:05 +0200 (CEST) Original-Received: from ensta.ensta.fr (ensta.ensta.fr [147.250.1.1]) by ns1.ensta.fr (Postfix) with ESMTP id 8BEB3314789; Tue, 16 May 2006 14:57:01 +0200 (CEST) Original-Received: from [147.250.33.133] (mac-oc1 [147.250.33.133]) by ensta.ensta.fr (8.11.6/9.11.6) with ESMTP id k4GCuoZ19693; Tue, 16 May 2006 14:56:50 +0200 In-Reply-To: <44690B4B.7070905@wxs.nl> Original-To: mailing ConTeXt users list for X-Mailer: Apple Mail (2.749.3) 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:27992 Archived-At: Le 16 mai 06 =E0 01:14, Hans Hagen a =E9crit : > Maurice Diamantini wrote:nment. >> >> Usually, one can build dynamicaly (default) variable environment = >> at the start of a programm >> (i.e. in the same process and sub-process), then let the original = >> environment untouch >> while ending the programm. > this is what > > texmfstart --tree=3D.... texexec .... > > does; it sets env vars specified in either setuptex.tmf in the path = > mentioned as tree, or some specific tmf file; those tmf files are = > platform independent. this is how i run multiple (different trees) = > on one machine (say a web server); Thank you very much. So I can do a little "texexec" script, add its path in front of the = global path (so that it will be found before any standard old ConTeXt distrib) and use the new "texexec" shell script as the main context executable = as usualy. The main avantage over my previous proposal is that it doesn't even = require adding a new path in the PATH environment variable (which already is = quite accectable!). >> I don't know much about context, but if you use some texmfstart = >> laucher, it could have >> the responsability of that job). >> In fact, I'd like to only have to add some PATH for using a = >> personnal full ConTeXt >> distribution near another standard LaTeX (containing obolate Context) > this is what in regular distributions texmf-local is for Yes, but the texmf-local is part of a particular directory from a = particular network or host. And I like to separate my own (full, independant, = robust, ...) ConTeXt environmement from the several LaTeX distrib I use (e.g. my unix/osX account is mirror via rsync between hom, work, and = another network. >> LaTeX will probably become again my main xTeX environment, but I'd = >> like to be able >> to switch ponctualy to a recent ConTeXt distro, without hacking = >> and breaking >> my main TeX environment. > in that case, just put the latest context in your main tree (unzip = > cont-tmf in > texmf-local or so); that should work as always No, because of recent font (lm) probleme, I decided to keep a full = context distrib (linuxtex.zip + macosxtex.zip + justtex.zip) in my personnal = home directory. I positionned this environment with some "setuptex" variante before = using context program (with all previous problems when comming back to LaTeX) >> Because the Makefile should work on all plateform (and in a year = >> or two also if possible!) >> I use only the standard texexec (instead of texmfstart and path = >> argument). >> But if you say texmfstart become the standard way: I'd switch to! > well, you can still use texexec.rb instead of texexec.pl and avoid = > texmfstart; > it's just that then you need to keep an eye on when texexec changes Do you mean that "texexec.rb" is clever enought to guess its ows = directory tree ? Great, that what I asked for ;-) (and if "texexec.rb"" becomme the standard texexec tool the problem = is solved (no more need to do a small texexec" shell script) but... ... for context programme only, but what about other tools (metapost, = mp2pdf...) >> Just a remark in that case: texmfstart seems a bad name, bacause = >> not related to "ConTeXt" >> Why not simply "context" or "ctx" as the main ConTeXt tool?) > because i use it to run anything organized in a tree (e.g. = > xsltproc); running context > progies i just part of the game Ok, I can always make an alias "ctx" for "texmfstart --tree=3D..." alias ctx=3Dtexmfstart --tree=3D/home/myHome/myLocl/fullcontext perhaps it solves all problem at a time! I'll try that in the next two week. Thank you very much, Maurice