From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24324 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: linux installations Date: Tue, 13 Dec 2005 14:06:00 +0100 Message-ID: <46D18AA8-A43C-488F-A6DF-7F8A1E189689@uni-bonn.de> References: <439EA8A7.8040206@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134479252 17574 80.91.229.2 (13 Dec 2005 13:07:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2005 13:07:32 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 13 14:07:32 2005 Return-path: 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 1Em9rB-00032B-Hk for gctc-ntg-context-518@m.gmane.org; Tue, 13 Dec 2005 14:06:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C14FE12843; Tue, 13 Dec 2005 14:06:12 +0100 (CET) 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 04371-09-4; Tue, 13 Dec 2005 14:06:07 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 55A4012819; Tue, 13 Dec 2005 14:06:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D991412819 for ; Tue, 13 Dec 2005 14:06:05 +0100 (CET) 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 04371-09-3 for ; Tue, 13 Dec 2005 14:06:04 +0100 (CET) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.112]) by ronja.ntg.nl (Postfix) with ESMTP id 72CA4127C7 for ; Tue, 13 Dec 2005 14:06:04 +0100 (CET) Original-Received: from [131.220.89.142] (HELO [131.220.89.142]) by uni-bonn.de (CommuniGate Pro SMTP 4.2.10) with ESMTP id 26382515 for ntg-context@ntg.nl; Tue, 13 Dec 2005 14:06:03 +0100 In-Reply-To: <439EA8A7.8040206@elvenkind.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24324 Archived-At: Taco, Hans, thanks for your reactions. And I see that Taco speaks from (bad) experience. I have always fiddled around and tried to make ConTeXt work in the linux distros i have tried so far (since I'm on ppc, there were four of them: gentoo, fedora, ubuntu, suse), but have never made any systematic approach. I'm really grateful for Taco's explanations; this helps me a lot. On Dec 13, 2005, at 11:55 AM, Taco Hoekwater wrote: > > I believe this is quite hard, because every distribution has a > slightly different teTeX setup. My view was: if you want an up-to-date > ConTeXt, start out fresh. Otherwise, you can save yourself an enormous > hassle by learning to live with an outdated system. :-) > > If you want to spend time on this, then kudos to you, but I have > given up on the distribution-supplied TeX's altogether. > > Now you often still have a broken ConTeXt distribution, even if you > can get 4. to work, because you also need the latest latin-modern > font distribution. > > And for that, you have to make another set of changes to texmf.cnf > because the older latin-moderns used different paths and filenames > for just about everything, and you have to make sure the new ones > are found. And don't forget that you probably have to fix updmap's > config file as well to make sure dvips remains working. > > You'll also still have a rather outdated pdftex and metapost, but > I guess that is not really a big deal for most people. OK, what about that: my aim would be to have one up-to-date ConTeXt installation in TEXMFLOCAL and leave everything else pretty much untouched. One could easily add a step to unzip cont-lmt.zip into TEXMFLOCAL as well. I've done it and it doesn't appear to break things with other TeX programs (disclaimer: I use pdf*tex exclusively, so I don't know about dvips). > > That solution is fine. Here's what happened. In the "really old" days, > formats ended with .fmt, like plain.fmt. > > When etex and omega came around, they identified themselves by having > e.g. plain.efmt (note the extra "e"), so that they could coexist > happily. > > However, this cluttered the build system quite a bit, so recently it > was decided to drop the extra characters. At that time, it was > understood that there would be an extra subdirectory below texmf/web2c > to differentiate between the different engines (at least, that is what > Hans and I gathered from the discussion). So you would have, e.g. > "web2c/pdfetex/cont-en.fmt" as well as "web2c/omega/cont-en.fmt". > > But it turned out that since LaTeX has separate names for the > different formats anyway (Lambda etc.), ConTeXt was the only client > of this new feature, and Thomas Esser decided that it was not worth > the effort to support these extra directories. > > However, for ConText it would be very, very unwieldy to have cont- > pdfetex-en.fmt, cont-xetex-en.fmt, cont-aleph-en.fmt etc., each six > or seven times. And because context is always called through texexec, > the latest texexec's implement this engine subdirectory functionality > for you. > > Finally, what goes wrong: unless you either delete the teTeX-supplied > context formats or change texmf.cnf, the old formats will be found > first > by kpathsea. > OK, then one step would be: find the old .fmt files and delete them. > > The strangest ones are the ~/.texmf-var ones, where > fmtutil and updmap dump their stuff. They are documented in > > /usr/local/teTeX/share/texmf/web2c/texmf.cnf > OK, will RTFM. One final thought: I remember reading an article (by Siep? in MAPS?) that having more than one texmf.cnf wasn't too difficult. Would that be an option I should try? Having one which just lets all the defaults provided by the distribution and one (set via an environment variable) which will put TEXMLOCAL before anything else? Thanks, and best Thomas