context package error: unknown script 'context.lua' or 'mtx-context.lua'
Bug #622253 reported by
Xan
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
context (Debian) |
Fix Released
|
Unknown
|
|||
context (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: context
I have 10.04 installed.
I installed texlive, pgf and context package.
texexec is running normal, but when I run context, I receive:
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
I asked in context mailing lists [http://
Thanks,
Xan.
Changed in context (Ubuntu): | |
status: | New → Confirmed |
Changed in context (Debian): | |
status: | Unknown → New |
Changed in context (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
I can confirm the probem:
Using a fresh install of 10.4 in a VM, then installing 'context' (which pulls in texlive), attempting to run "context <texfile>" gives:
"MTXrun | unknown script 'context.lua' or 'mtx-context.lua'"
The problem is that each user needs to run "luatools --generate" before the context command can be used.
The command is a simple wrapper for mtxrun:
$ cat /usr/bin/context
!/bin/sh
mtxrun --script context "$@"
The need to run luatools is explained in README.MarkIV, but it would be preferable to have a more useful
message from "context" as many users will not think to look at the README's, and may resort to ill-advised
attempts to fix the problem, such as running "sudo luatools" or after enabling the "root" account.
The luatools utility can be used to check that mtx-contex.lua is found:
$ luatools mtx-context.lua texmf/scripts/ context/ lua/mtx- context. lua
/usr/share/