From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20505 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: new version Date: Fri, 27 May 2005 01:29:30 +0200 Message-ID: <42965BDA.8080207@wxs.nl> References: <42949B00.2040305@wxs.nl> <20050526215735.21022@mail.comp.lancs.ac.uk> 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; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117150148 31649 80.91.229.2 (26 May 2005 23:29:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 May 2005 23:29:08 +0000 (UTC) Cc: Karl Berry Original-X-From: ntg-context-bounces@ntg.nl Fri May 27 01:29:03 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 1DbRkv-00077b-OD for gctc-ntg-context-518@m.gmane.org; Fri, 27 May 2005 01:27:13 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4B46F127B0; Fri, 27 May 2005 01:29:16 +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 19863-02; Fri, 27 May 2005 01:29:09 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8DBD612793; Fri, 27 May 2005 01:29:09 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 52FB112793 for ; Fri, 27 May 2005 01:29:07 +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 17515-06 for ; Fri, 27 May 2005 01:29:05 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id C0CB312791 for ; Fri, 27 May 2005 01:29:05 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j4QNSwpi006384; Fri, 27 May 2005 01:28:58 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 990031FC40; Fri, 27 May 2005 01:00:35 +0200 (CEST) Original-Received: from [10.100.1.53] (unknown [10.100.1.53]) by server-1.pragma-net.nl (Postfix) with ESMTP id A0DD61FB9C; Thu, 26 May 2005 23:00:33 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20050526215735.21022@mail.comp.lancs.ac.uk> X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on mailrelay02 X-Virus-Status: Clean 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:20505 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20505 Adam Lindsay wrote: (i cc to karl who knows more about the detry details of path expansion than i do) > Hans Hagen said this at Wed, 25 May 2005 17:34:24 +0200: > >>the next (main) release will probably have a new texexec (ruby >>version, smoother, faster, more clever, no ini file etc) > > > Hmm. I hand-updated to the latest, and now texexec wants to rebuild the > format on every run. > > I'm not used to seeing this, anyone have any hints on where to poke around? > > (the format is in texmf.local/web2c/ and in a pdfetex subdir. I've > texhashed, too.) since engine support is either broken or not implemented in kpse/tetex, i need to sort it out myself; this is done in: sub checktexformatpath { # engine support is either broken of not implemented in some # distributions, so we need to take care of it ourselves my $texformats ; if (defined($ENV{'TEXFORMATS'})) { $texformats = $ENV{'TEXFORMATS'} ; } else{ $texformats = '' ; } if ($texformats eq '') { if ($dosish) { $texformats = `kpsewhich --expand-var=\$TEXFORMATS`.chomp ; } else { $texformats = `kpsewhich --expand-var=\\\$TEXFORMATS`.chomp ; } } if ($texformats !~ /web2c[\/\\].*\$ENGINE/) { $texformats =~ s/web2c/web2c\/{\$ENGINE,}/ ; $ENV{'TEXFORMATS'} = $texformats ; print " fixing texformat path : $ENV{'TEXFORMATS'}\n"; } if (! defined($ENV{'ENGINE'})) { if ($MpEngineSupport) { $ENV{'ENGINE'} .= $MpExecutable ; } ; $ENV{'ENGINE'} = $TeXExecutable ; print "fixing engine variable : $ENV{'ENGINE'}\n"; ## just added } } how i hate this naming; when -long ago- i started using local trees, i adopted the texmf-local naming that i noticed in those days, and look what we have here: > fixing texformat path : .:{/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/{$ENGINE,}/{,}// > 0 well, this magic line will append web2c/{$ENGINE,} to each path, 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/\{\,\}\/\/// ; 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 ? (setting TEXFORMATS at the shell level will also work; that is what i normally have) 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 -) last time i tried it on the mac it worked, so i must try again the file should end up in web2c/pdftex > fmtutil: running `pdfetex -ini -jobname=cont-en -progname=context forget about fmtutil, it cannot and will not handle engines Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------