From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16749 Path: main.gmane.org!not-for-mail From: h h extern Newsgroups: gmane.comp.tex.context Subject: Re: Re: texexec 4.0 to 5.0 update. Date: Sun, 24 Oct 2004 21:42:53 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <417C05BD.9090107@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098647441 8912 80.91.229.6 (24 Oct 2004 19:50:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2004 19:50:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 24 21:50:22 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 1CLoNi-0001QX-00 for ; Sun, 24 Oct 2004 21:50:22 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D354A127A3; Sun, 24 Oct 2004 21:50:21 +0200 (CEST) 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 03855-02; Sun, 24 Oct 2004 21:50:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A4193127A4; Sun, 24 Oct 2004 21:48:37 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 98048127A4 for ; Sun, 24 Oct 2004 21:48:36 +0200 (CEST) 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 03855-01 for ; Sun, 24 Oct 2004 21:48:35 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 9D3C7127A3 for ; Sun, 24 Oct 2004 21:48:35 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i9OJmUG3015383 for ; Sun, 24 Oct 2004 21:48:30 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 0F8BE2C59E; Sun, 24 Oct 2004 21:48:35 +0200 (CEST) Original-Received: from [127.0.0.1] (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id 89CC218349 for ; Sun, 24 Oct 2004 19:48:30 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: ClamAV 0.80/540/Tue Oct 19 14:59:23 2004 clamav-milter version 0.80j on mailrelay01 X-Virus-Status: Clean 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: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16749 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16749 Dirar BOUGATEF wrote: > What is the folder script in cont-tmf ? I had to copy manually the > texexec.pl from this folder to my bin folder to update texexec with the > 5.0 version. Should not that have been done when i unzipped every thing > or is it done on purpose (To me it looks like the peltk folder in > texmf\context). In the latest TDS specs, scripts now reside under the ../scripts path instead of under package entries (like ../context). One way to locate a script used to be to call 'kpsewhich' with the format 'other text files' but now the format is 'texmfscripts'. The consequence of this is, that (combined with moved enc and map files in combination with strict paths in the texmf.cnf files), tex distributions are not downward compatible. The assumption is more or less that users reinstall the whole lot and don't have their own fonts and such -) Another change is the flattening of format suffixes to fmt (so make sure that you remove the efmt ones when you update binaries); although the spec suggests the usage of an $engine subpath (in order to distinguish formats) it looks like distributions will not implement this (too difficult). The way context deals with that is the following: - you can use texmfstart (ruby script, win binary at our website) to launch a resource (document, script. whatever is supported) - you can use textools --fixtexmftree to convert an old to a new tree - you can use --engine (or set the var in texexec.ini) to use the $engine subpath conforming the TDS structure [unfortunately it looks like the $engine subpath will not be supported by texmf.cnf file; so much for standards] alternatively, one can (manually) adapt the texmf.cnf file (or have a partial copy in your local tree) that extends the enc + map paths to the old locations Launching a script, can be done indirectly, using texmfstart, like texmfstart texexec.pl ... args ... or one can make a small stub, for instance: texmfstart --make texexec.pl and move the resulting bat file in one of your bin path. The texmfstart route is supposed to work with the old and new trees and future trees (since I will try to keep texmfstart downward compatible). [on unix, it's hard to distinguish files by type, i.e. texexec can be a stub, perl script, binary, whatever; in this case, texmfstart will create a Note that distributions have different means of locating scripts and resources, in which case you depend on the integrety of a distribution. In case of problems, you can always replace the stubs by texmfstart based stubs. Because of testing for tex live (which is the reference cross platfoirm tex distribution), i package the zips in the new structure and this means that users who have old trees and binaries may run into problems when they mix things. [these changes in the enc/map file locations may give users who have their own font trees some headaches; also, if you use scripts in your own scripting tools e.g. in server apps, then you should be aware of the fact that locating scripts needs patches, i.e. the format fed to kpsewhich; here i have so many scripts that i don't put them all in the path, for instance because of name clashes, and i used to use kpsewhich to locate them; using texmfstart in such cases is more future safe, and with the coming new kpse run-as-deamon libraries it may become faster as well] 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 -----------------------------------------------------------------