ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Taco Hoekwater <taco@elvenkind.com>,
	Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: file name resolving for lua files
Date: Fri, 18 Dec 2009 11:09:03 +0100	[thread overview]
Message-ID: <4B2B54BF.3020206@wxs.nl> (raw)
In-Reply-To: <alpine.LNX.2.01.0912171656400.32441@ybpnyubfg.ybpnyqbznva>

Aditya Mahajan wrote:
> On Thu, 17 Dec 2009, Hans Hagen wrote:
> 
>> Aditya Mahajan wrote:
>>
>> path ... i think that your match is related to the more or less random 
>> way paths are created under
>>
>> $TEXMF/scripts/context//
>>
>> normally stubs come after lua but maybe not on your machine
>>
>> so, we might better use this:
>>
>> $TEXMF/scripts/context/{lua,ruby,perl}//
> 
> Thanks. I changed TEXMFSCRIPTS in texmf.cnf to include the specific 
> directories, and now luatools finds the correct file and --selfupdate 
> works.
> 
>> (i cc mojca for the minimals and taco for tex live)
>>
>> normally this is not that important as there is only one instance ..
> 
> Do you mean that the stubs director should not have mtxrun.lua? I have
> 
> $find /opt/experimental -name 'mtxrun.lua'
> /opt/experimental/tex/texmf-context/scripts/context/stubs/mswin/mtxrun.lua
> /opt/experimental/tex/texmf-context/scripts/context/lua/mtxrun.lua

eh ... there is no stub on your machine, just mtxrun (without suffix) 
copied to bin, on windows there is mtxrun.exe and mtxrun.lua in the bin 
path

i just put duplicates into mswin/stubs for convenience

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


      parent reply	other threads:[~2009-12-18 10:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-16 15:16 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B2B54BF.3020206@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=taco@elvenkind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).