From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20513 Path: news.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: new version Date: Fri, 27 May 2005 15:49:27 +0100 Message-ID: <20050527144927.3410@mail.comp.lancs.ac.uk> References: <42949B00.2040305@wxs.nl> <20050526215735.21022@mail.comp.lancs.ac.uk> <42965BDA.8080207@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117205345 14457 80.91.229.2 (27 May 2005 14:49:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 May 2005 14:49:05 +0000 (UTC) Cc: Karl Berry Original-X-From: ntg-context-bounces@ntg.nl Fri May 27 16:49:01 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 1Dbg7m-0000nK-FG for gctc-ntg-context-518@m.gmane.org; Fri, 27 May 2005 16:47:46 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 43AC4127D8; Fri, 27 May 2005 16:49:53 +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 24752-02-4; Fri, 27 May 2005 16:49:47 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 839051279D; Fri, 27 May 2005 16:49:47 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DC81E1279D for ; Fri, 27 May 2005 16:49:45 +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 24752-02-3 for ; Fri, 27 May 2005 16:49:44 +0200 (CEST) Original-Received: from mail.comp.lancs.ac.uk (mail.comp.lancs.ac.uk [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id DD90012783 for ; Fri, 27 May 2005 16:49:44 +0200 (CEST) Original-Received: from [194.80.37.193] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id j4REnRZj022302; Fri, 27 May 2005 15:49:27 +0100 (BST) Original-To: "mailing list for ConTeXt users" , "Hans Hagen" In-Reply-To: <42965BDA.8080207@wxs.nl> X-Mailer: CTM PowerMail version 5.2 build 4388 English 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20513 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20513 Hans Hagen said this at Fri, 27 May 2005 01:29:30 +0200: >well, this magic line will append web2c/{$ENGINE,} to each path, Okay, that's part of the problem: your code isn't detecting the presence of $ENGINE in my path... It's there already! (Thanks, Gerben.) The line from texmf.cnf: TEXFORMATS = .;$TEXMF/web2c/{$engine,}// However: % kpsewhich --expand-var=\$TEXFORMATS .:{/Users/atl/Library/texmf,!!/usr/local/teTeX/share/texmf.local, !!/usr/local/teTeX/share/texmf.gwtex,!!/usr/local/teTeX/share/texmf.tetex, !!/usr/local/teTeX/share/texmf}/web2c/{,}// ^^^ But: % kpsewhich --engine=pdfetex --expand-var=\$TEXFORMATS .:{/Users/atl/Library/texmf,!!/usr/local/teTeX/share/texmf.local, !!/usr/local/teTeX/share/texmf.gwtex,!!/usr/local/teTeX/share/texmf.tetex, !!/usr/local/teTeX/share/texmf}/web2c/{pdfetex,}// ^^^^^^^ >including the >share/texmf.local path so i'm puzzled; one complication is that kpse is >not able >to report the path that will be used (probably for good reason); so the >format >should end up in: > >!!/usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-en.fmt > >could it be that the /{,}// is playing tricks? can you try to add > > $texformats =~ s/\{\,\}\/\/// ; Tried that. Didn't change anything. >i.e. get rid of the trailing crap so that th eend looks like /web2c/ >{$ENGINE,}/ > >can you check at what value texexec sets $ENGINE ? erm, it didn't seem to be set at that function. >(setting TEXFORMATS at the shell level will also work; that is what i >normally >have) I've done that too, but I haven't been able to get that to work correctly with multiple engines (problem in when the variables get expanded?)... it probably would work for me with this current texexec snapshot. >watch this mix of teTeX and tetex and Users and Library vs share; if i >would not >know better, i'd think it was a blob of tricky perl code -) :) It's just Gerben being clever and convenient w/r/t directory structure for Mac users--all legitimate. adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-