ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* file name resolving for lua files
@ 2009-12-16 15:16 Aditya Mahajan
  2009-12-17 16:25 ` Otared Kavian
  0 siblings, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2009-12-16 15:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-12-18 10:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-16 15:16 file name resolving for lua files Aditya Mahajan
2009-12-17 16:25 ` Otared Kavian
2009-12-17 18:31   ` Aditya Mahajan
2009-12-17 20:06     ` Hans Hagen
2009-12-17 20:25       ` Aditya Mahajan
2009-12-17 20:52         ` Hans Hagen
2009-12-17 21:48         ` Hans Hagen
2009-12-17 22:01           ` Aditya Mahajan
2009-12-17 22:09             ` Aditya Mahajan
2009-12-18 10:09             ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).