我在 Windows 上,安装了最新且完全更新的 MiKTeX。我尝试编译一个文档,其中lualatex test.tex
test.tex 位于
\documentclass{scrartcl}
\usepackage{fontspec}
\begin{document}
code
\end{document}
LuaTeX 停止,没有任何错误消息。控制台中显示
("D:/Program Files/MiKTeX 2.9/tex/luatex/luaotfload/luaotfload.sty"(using cache:
C:/Users/Márton/AppData/Local/MiKTeX/2.9/luatex-cache/generic)
Sorry, but lualatex did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
C:/Users/Márton/AppData/Local/MiKTeX/2.9/miktex/log/lualatex.log
但由于我的用户名中有重音符号,因此提到的日志文件实际上是
C:/Users/Márton/AppData/Local/MiKTeX/2.9/miktex/log/lualatex.log
其内容为
2016-04-28 19:51:39,822+0200 FATAL lualatex - MultiByteToWideChar() did not succeed; last error code is 1113
2016-04-28 19:51:59,022+0200 FATAL lualatex - MultiByteToWideChar() did not succeed; last error code is 1113
2016-04-28 20:04:06,131+0200 FATAL lualatex - MultiByteToWideChar() did not succeed; last error code is 1113
2016-04-28 20:10:33,633+0200 FATAL lualatex - MultiByteToWideChar() did not succeed; last error code is 1113
2016-04-28 20:10:45,353+0200 FATAL lualatex - MultiByteToWideChar() did not succeed; last error code is 1113
2016-04-28 20:10:58,151+0200 FATAL lualatex - MultiByteToWideChar() did not succeed; last error code is 1113
2016-04-28 20:11:19,169+0200 FATAL lualatex - MultiByteToWideChar() did not succeed; last error code is 1113
2016-04-28 20:11:52,976+0200 FATAL lualatex - MultiByteToWideChar() did not succeed; last error code is 1113
答案1
MiKTeX 的最新 LuaTeX 中似乎已修复该错误。