I'm getting "mtxrun | unknown script 'context.lua' or 'mtx-context.lua'" on the three line \starttext This is the text section. \stoptext This is the TeXLive distributed version and it worked yesterday. I'm pretty sure I messup up the paths or tex path database used by kpathse, etc. Is there a program I can run to go through a texlive installation and rebuild the TDS database? Thanks
On 3/16/2013 2:37 PM, hwitloc@gmail.com wrote:
I'm getting "mtxrun | unknown script 'context.lua' or 'mtx-context.lua'"
on the three line \starttext This is the text section. \stoptext
This is the TeXLive distributed version and it worked yesterday. I'm pretty sure I messup up the paths or tex path database used by kpathse, etc.
Is there a program I can run to go through a texlive installation and rebuild the TDS database?
mtxrun --generate context runs quite independent of the texlive infrastructure; mtxrun is its own stub for instance and has its own file database; so, if 'context' does not run, it's because either mtxrun (without suffix on unix) is not updated if you see kpse being initialized (or any kpse related program being run) you're in trouble Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sat, Mar 16, 2013 at 2:37 PM,
I'm getting "mtxrun | unknown script 'context.lua' or 'mtx-context.lua'"
I've faced the same issue with TeXLive 2012 on Fedora 18. It was fixed by setting the PATH; for example export TEXMF=/usr/share/texlive/texmf-dist; export TEXMFCNF=/usr/share/texlive/texmf/web2c; export TEXMFCACHE=/var/lib/texmf; mtxrun --script context "$@"
on the three line \starttext This is the text section. \stoptext
-- Cheers, Rajeesh http://rajeeshknambiar.wordpress.com
Hans' advice to me to run mtxrun fixed my problem and may it will yours as well. Run: $ mtxrun --generate I also updated texlive 2012 after that. with $ tlmgr update --all # this takes a long time
context runs quite independent of the texlive infrastructure; mtxrun is its own stub for instance and has its own file database; so, if 'context' does not run, it's because either mtxrun (without suffix on unix) is not updated
if you see kpse being initialized (or any kpse related program being run) you're in troubleL
Hans
participants (3)
-
Hans Hagen
-
hwitloc@gmail.com
-
Rajeesh K Nambiar