Hans van der Meer wrote:
> Following the article  "The luafication of TeX and Context" in the  
> recent issue of the NTG-MAPS I tried the example given:
>      mtxrun --script fonts
> and this should return the options list for this script.
> However, I get:
>      101 ~: mtxrun --script fonts
>      cannot open : No such file or directory
> While otherwise a bare mtxrun returns info and thus was found as a  
> runnable script:
>      102 ~: mtxrun
>      MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
>     MtxRun | --script              run an mtx script
> In my .bashrc I had the lua scripts in the path:
> 103 ~: echo $PATH
>     ..:/usr/local/texlive/texmf-context/scripts/context/lua/:..
> And I had called luatools --generate to make the database plus I made  
> certain the script has execute permissions:
> /usr/local/texlive/texmf-context/scripts/context/lua/mtx-fonts.lua - 
> rwxr-xr-x
> 
> What is wrong or what I am doing wrong?

make sure that you use the latest mtxrun.lua and copy it to your bin 
path as mtxrun (maybe mtxrun --selfupdate works too)

do the same with luatools

then run luatools --generate

the mtx-* scripts have to be located in the tree (if needed i can 
implement a fallback using relative paths)


-----------------------------------------------------------------
                                           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 : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to