Broken pdfs and many tools don't work
Hello, I'm struggling with getting new updated to work (it now produces broken pdfs), and found, as a side effect, that mtxrun doesn't work: c:\>mtxrun --script cache Error in lua file loading: cannot open : No such file or directory And another hint: while --make --luatex (seemingly) succeeds, --make fails: ... pdftex: unrecognized option `-tcx=natural.tcx' This is pdfTeX, Version 3.141592-1.40.4 (Web2C 7.5.6) \write18 enabled. kpathsea: Running mktexfmt pdftex.fmt I can't find the format file `pdftex.fmt'! TeXExec | using mp engine mpost TeXExec | using mps format path . TeXExec | generating mps format metafun mpost: unrecognized option `-alias=metafun' mpost: unrecognized option `-initialize' mpost: unrecognized option `-tcx=natural.tcx' This is MetaPost, Version 1.000-rc1 (Web2C 7.5.5) kpathsea: Running mktexfmt mpost.mem mpost.exe: fatal: kpathsea: CreateProcess() failed for `mktexfmt ' (Error 2) . TeXExec | TeXExec | tex engine path: . TeXExec | mps engine path: . TeXExec | TeXExec | TeXExec | runtime: 0.469 What could it be, if my env. vars are set as follows [HKEY_CURRENT_USER\Environment] "TEXMFMAIN"="i:\context\tex\texmf" "TEXMFLOCAL"="i:\context\tex\texmf-local" "TEXMFFONTS"="i:\context\tex\texmf-fonts" "TEXMFEXTRA"="i:\context\tex\texmf-extra" "TEXMFOS"="i:\context\tex\texmf-mswin" "VARTEXMF"=%WINDIR%\Temp" "TEXMFCACHE"="%WINDIR%\Temp" "HOMETEXMF"="" "OSFONTDIR"="%WINDIR%\Fonts" "TEXMFCNF"="i:\context\tex\texmf{-local,}/web2c" "TEXMF"="{$TEXMFOS,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN}" "TEXMFDBS"="$TEXMF" "TEXFORMATS"="i:\context\tex\texmf-mswin/web2c/{$engine,}" "MPMEMS"="i:\context\tex\texmf-mswin/web2c/{$engine,}" "TEXPOOL"="i:\context\tex\texmf-mswin/web2c/{$engine,}" "MPPOOL"="i:\context\tex\texmf-mswin/web2c/{$engine,}" "RUBYLIB"="i:\context\tex\texmf-local\SCRIPTS\CONTEXT\RUBY;" "PATH"="i:\context\tex\texmf-mswin\BIN;" Best regards, Vyatcheslav Yatskovsky
Hi, Vyatcheslav Yatskovsky wrote:
Hello,
c:\>mtxrun --script cache Error in lua file loading: cannot open : No such file or directory
This is possibly caused by lack of a LUAINPUTS environment (or texmf.ncf) variable. I have this: LUAINPUTS=.;$TEXMF/tex/context/base;$TEXMF/scripts/context/lua
And another hint: while --make --luatex (seemingly) succeeds, --make fails:
... pdftex: unrecognized option `-tcx=natural.tcx' mpost: unrecognized option `-alias=metafun' mpost: unrecognized option `-initialize' mpost: unrecognized option `-tcx=natural.tcx' mpost.exe: fatal: kpathsea: CreateProcess() failed for `mktexfmt ' (Error 2)
This is the sort of error you get when texexec is running under miktex but thinks it is running under texlive. I do not know how to fix that, just a bit of extra information for someone else. Best wishes, Taco
participants (2)
-
Taco Hoekwater
-
Vyatcheslav Yatskovsky