[NTG-context] unknown script 'context.lua' or 'mtx-context.lua'

Mojca Miklavec mojca.miklavec.lists at gmail.com
Wed May 26 12:20:14 CEST 2010


Hans,

why don't you add a special-case in this case:

> context test
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

if 'context.lua' cannot be found then either:
a) instead of printing out "unknown script 'context.lua'" print out
"please run 'luatools --generate'" - it will be less confusing for
users
b) or (may be even better) try to run "luatools --generate"
automatically and then retry

I guess that there is some not-too-difficult way to figure out from
within mtxrun that no database exists yet.

Mojca


More information about the ntg-context mailing list