On Tue, 17 Jun 2008, 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?
With old (almost 6-8 months ago) mtxrun, I had to set LUAINPUTS to get mtxrun --script to work. Now it works without the LUAINPUTS variable. I don't remember when the change happened. Your mtxrun says version 1.0.2, mine says 1.1.0. So, try with the LUAINPUTS variable, or try mtxrun --selfupdate. Aditya