lualatex 不再起作用..因为找不到内存转储文件

lualatex 不再起作用..因为找不到内存转储文件
 restricted system commands enabled.

Sorry, but "C:\MiKTeX 2.9\miktex\bin\x64\miktex-luatex.exe" did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  C:\Users\User\AppData\Local\MiKTeX\2.9\miktex\log\miktex-luatex.log

然后在该文件中:

2020-04-03 05:14:32,286-0600 INFO  miktex-luatex - starting with command line: "C:\MiKTeX 2.9\miktex\bin\x64\miktex-luatex.exe" -synctex=1 --fmt=lualatex doubleSidedCards.tex
2020-04-03 05:14:32,354-0600 INFO  miktex-luatex - going to create file: lualatex.fmt
2020-04-03 05:14:32,643-0600 ERROR miktex-luatex - C:\MiKTeX 2.9\miktex\bin\x64\initexmf.exe did not succeed; exitCode: 1
2020-04-03 05:14:32,643-0600 ERROR miktex-luatex - output:
2020-04-03 05:14:32,643-0600 ERROR miktex-luatex - 
Sorry, but "MiKTeX Configuration Utility" did not succeed for the following reason:

  Unknown format name/engine: lualatex/luatex

The log file hopefully contains the information to get MiKTeX going again:

  C:\Users\User\AppData\Local\MiKTeX\2.9\miktex\log\initexmf.log

2020-04-03 05:14:32,644-0600 FATAL miktex-luatex - The memory dump file could not be found.
2020-04-03 05:14:32,644-0600 FATAL miktex-luatex - Info: fileName="lualatex.fmt"
2020-04-03 05:14:32,644-0600 FATAL miktex-luatex - Source: Programs\TeXAndFriends\luatex\miktex\miktex.cpp
2020-04-03 05:14:32,644-0600 FATAL miktex-luatex - Line: 74
2020-04-03 05:14:32,644-0600 INFO  miktex-luatex - finishing with exit code 1

我确实尝试过重新安装miktex,实际上大约两次编译都成功了。然后我更新了miktex,结果又无法运行lualatex。我在运行 64 位 miktex 的 Windows 7 上。如果使用 lualatex 以外的引擎,它似乎可以正常工作。不幸的是,我正在使用这个引擎。

哦,是的,我进行了经典更新,重建名称数据库,在 miktex 控制台中重建格式,但显然没有任何作用。

答案1

几天前我也遇到了同样的问题。MikTeX 网站上解释说,他们正在引入一个新的Lua 编译器 (LuaHB)。对于 LuaLaTeX,此编译器位于:“miktex-portable / texmfs / install / miktex / bin / x64 / miktex-luahbtex.exe”

我更新了在 TeXworks 中编译的说明,并且在以下位置找到了 lualatex.fmt(便携式安装):“... \ miktex-portable \ texmfs \ data \ miktex \ data \ le \ luahbtex \ lualatex.fmt”

相关内容