From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55224 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: file name resolving for lua files Date: Wed, 16 Dec 2009 10:16:46 -0500 (EST) Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1260976623 17972 80.91.229.12 (16 Dec 2009 15:17:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2009 15:17:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 16 16:16:56 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NKvcW-0007SO-9I for gctc-ntg-context-518@m.gmane.org; Wed, 16 Dec 2009 16:16:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 11D45C9BAC; Wed, 16 Dec 2009 16:16:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0NbQWF42TlzJ; Wed, 16 Dec 2009 16:16:44 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6D499C9B7A; Wed, 16 Dec 2009 16:16:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE343C9B7A for ; Wed, 16 Dec 2009 16:16:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DZsh1AicsmPs for ; Wed, 16 Dec 2009 16:16:38 +0100 (CET) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by balder.ntg.nl (Postfix) with ESMTP id EDC55C9AC1 for ; Wed, 16 Dec 2009 16:16:37 +0100 (CET) Original-Received: FROM [192.168.2.8] (c-76-28-91-31.hsd1.ct.comcast.net [76.28.91.31]) By skycaptain.mr.itd.umich.edu ID 4B28F9D4.1CB20.11278 ; Authuser adityam; 16 Dec 2009 10:16:36 EST User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55224 Archived-At: Hi, I have noticed that my local context update scripts were not always working correctly. In particular, the mtxrun and luatools file never got updated. The reason is the following. When I run mtxrun --selfupdate I get mtxrun --selfupdate MTXrun | fileio: to be replaced old script /opt/experimental/tex/texmf-linux-64/bin/mtxrun MTXrun | fileio: using suffix based filetype 'texmfscripts' MTXrun | fileio: checking new script /opt/experimental/tex/texmf-context/scripts/context/stubs/mswin/mtxrun.lua MTXrun | fileio: new script should come from scripts/context/lua So, mtxrun is trying to replace mtxrun from the stubs directory. In fact, if I get the same result from luatools --locate mtxrun.lua /opt/experimental/tex/texmf-context/scripts/context/stubs/mswin/mtxrun.lua Something is wrong with the search logic as texmfstart also gets this wrong. texmfstart --locate mtxrun.lua /opt/experimental/tex/texmf-context/scripts/context/stubs/mswin/mtxrun.lua% However, kpsewhich works correctly. kpsewhich mtxrun.lua /opt/experimental/tex/texmf-context/scripts/context/lua/mtxrun.lua Do others also get the same result? Any idea what is going wrong here? Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________