From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17117 Path: main.gmane.org!not-for-mail From: Maurice Diamantini (free) Newsgroups: gmane.comp.tex.context Subject: Re: Now is the time for all... (Was: A simple project.) Date: Thu, 18 Nov 2004 10:05:05 +0100 Message-ID: References: <720069C9-3867-11D9-884C-000A9595B57C@ensta.fr> <419B2DB6.7040104@wxs.nl> Reply-To: Diamantini Maurice , mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1100768747 1157 80.91.229.6 (18 Nov 2004 09:05:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Nov 2004 09:05:47 +0000 (UTC) Cc: Maurice Diamantini Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 18 10:05:29 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CUiEL-00044D-00 for ; Thu, 18 Nov 2004 10:05:29 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BF1F01277A; Thu, 18 Nov 2004 10:05:28 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01554-04; Thu, 18 Nov 2004 10:05:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B9E86127CD; Thu, 18 Nov 2004 10:05:23 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE19D127CD for ; Thu, 18 Nov 2004 10:05:21 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01614-01 for ; Thu, 18 Nov 2004 10:05:18 +0100 (CET) Original-Received: from postfix3-2.free.fr (unknown [213.228.0.169]) by ronja.ntg.nl (Postfix) with ESMTP id A71301277A for ; Thu, 18 Nov 2004 10:05:17 +0100 (CET) Original-Received: from [10.0.1.34] (lns-vlq-39f-81-56-135-43.adsl.proxad.net [81.56.135.43]) by postfix3-2.free.fr (Postfix) with ESMTP id A51CCC0B6; Thu, 18 Nov 2004 10:05:14 +0100 (CET) In-Reply-To: <419B2DB6.7040104@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17117 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17117 Le 17 nov. 04, =E0 11:53, Hans Hagen a =E9crit : > Maurice Diamantini wrote: > >> The objective is to had a line such >> source /xxx/context/setup.sh >> in my bashrc without worying if I (or other xTeX user) have to do >> either LaTeX or ConTeXt writing. > > Actually there has been something like that for a long time -) > > - when a new tex live comes out, i remove my old texmf tree and copy=20= > the texlive one to my disk (ok, for the next one i need to copy both=20= > texmf and texmf-dist to texmf on my disk) A new standard tex dist is always relatively easy to install (tetex or texlive)... > - this will then include a version of context ... And there is a (old) version of context include. But it is that way I'm using context today. So far so good. And I can personnalised my LaTeX distribution by using the HOMETEXMF environment variable. > - alongside i keep texmf-local and a few more (which has the beta > context and such) My problem (as a NOT guru xyzTeX administrator !) is precisely that I have trouble in using a separate cont-tmf distribution in my own tex tree (trouble with creating the formats). i suppose I have to more investigate in this direction. What I'm looking for, is a mean to use: - my one cont-tmf uptodate tree, possibly with some "near standard" contrib addition (read "soon to be include in the standard Context distrib" e.g. t-bib, t-nath ;-) - some personnal environnement variables (HOMETEXMF, or better: CONTEXT_HOME) togother with any ***full standard LaTeX distribution*** wich I haven't installed myself on a workstation I don't administre myself (read "in=20 hostile environment" :-). I only master my home directory. If I have to modify the texlive distribution (or a configuration file from). Then it is no more a standard texlive distrib. So the two possibilities I envisage are: 1 - managing a separate context tree package in an hostile environment (the prefered solution if robust) 2 - manage a separate full context system. It's probable the easier way to go. And for less than 100 Mbytes it is no much more heavy than the simple con-tmf plus the format. Also, if I can do a multiplatform (powerpc-darwin, x86-linux, ...) non intrusive (with concurrent LaTeX distribution), I'll can make it installed everywere (around me). I have yet to solve some confict in my environnement (because for sample the context-live setup **cleer** all environment = variable which concerne LaTeX, kpath, and other HOMETEXMF variable. This second item was the main objective of this thread "Now is the=20 time..". I think the work is almost done with the minimal context-live distribution. It need just some setup adjust. > if you do > > rsync -v www.pragma-pod.com:: > > you will get all the trees that you can download This doen't work at work because of a firewall. I tried to use the option "-e ssh" which could work if you had a secure shell demond enabled. But it doesn't seem to! The a try this night at home (with free.fr) rsync -av www.pragma-pod.com::all pragma-context-all And it worked! (590 Moctets) So this week-end, I have to retry to solve the setup problems. > because i seperate things in trees, there is no danger in clashes with=20= > existing stuff; also, the setup scripts set all variables in a=20 > defensive way, > so that there will be no clash with other distributions (that way i=20 > can also keep several project trees with older context versions=20 > available); It a defensive way for ConTeXt user, not for LaTeX user. > the reason for using architectre paths is that it permits me to have=20= > out of sync binaries which means different pool files and formats) \startLaughingMode I agree that multi-architecture is needed, but the problem with P.C users is that there is only two architecture in the world (;-) 1 - Windows 2 - the others The most advanced pc users know also about "linux" and even "linux-64" but an architecture is a combination between some hard (sparc, powerpc, x86, 64-x86) and some "operating system" (linux, bsd, sunos, cygwin, darwin, ) This principle is very flexible, and support even "inoperating system' (dos, dos++, windose95, windose95.2, macosClone, ...) \stopLaughingMode The best way to get an idea on how to deal which multi-architecture is to look at the config.guess and config.sub from gnu configure system (which seems used by the texlive distribution). Context need not support all the architecture combination, but should support the standard architecture system. Here are some examples of a binary tree: alpha-linux i386-linux i386-openbsd -> i386-openbsd3.3 i386-openbsd3.3 powerpc-aix -> powerpc-aix4.3.3.0 powerpc-aix4.3.3.0 powerpc-darwin -> powerpc-darwin6.6 powerpc-darwin6.6 sparc-solaris -> sparc-solaris2.7 sparc-solaris2.7 sparc64-linux win32 win32-static I have a script I use for shoosing between a few architecture. I can be be update for adapting to the supported ConTeXt binaries arctitecture. http://www.ensta.fr/~diam/pub/guessarch/ All my configure scripts use set privaded string e.g. # CONTEXT_HOME can be guessed from this script if not provided # by the user. CONTEXT_ARCH=3D`context-guessarch` PATH=3D"$CONTEXT_HOME/bin/$CONTEXT_ARCH/:$PATH" -- Maurice Diamantini=