MikTex 安装问题

MikTex 安装问题

由于我的电脑在 Windows 更新期间出现错误,我不得不将其重置为出厂设置并清空所有内存。所以我还必须在电脑上重新安装 MikTeX。我照常进行操作,但现在 MikTex 不允许我使用 LuaLaTex 进行编译。

因此我按照 MikTex 官方网站上描述的程序多次卸载/重新安装了 MikTeX,但问题仍然存在。

有时(并非总是),在安装过程中我会收到以下错误消息: 在此处输入图片描述

miktex conversion from UTF-8 yte sequence to wide character string did not succeed

如上所述,一旦安装了 MikTeX,我会立即从控制台直接从更新 MikTeX。

然后,无论如何,我尝试编译非常简单的文件(使用 TeXwork 或 TeXmaker),使用 PDFLaTeX 可以,但使用 LuaLaTeX 则不行。我得到以下日志文​​件:

2020-04-04 13:05:02,708+0200 INFO  miktex-luatex - starting with command line: "F:\MiKTeX 2.9\miktex\bin\x64\miktex-luatex.exe" -synctex=1 --fmt=lualatex Test.tex
2020-04-04 13:05:02,786+0200 INFO  miktex-luatex - going to create file: lualatex.fmt
2020-04-04 13:05:03,098+0200 ERROR miktex-luatex - F:\MiKTeX 2.9\miktex\bin\x64\initexmf.exe did not succeed; exitCode: 1
2020-04-04 13:05:03,098+0200 ERROR miktex-luatex - output:
2020-04-04 13:05:03,098+0200 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\John\AppData\Local\MiKTeX\2.9\miktex\log\initexmf.log

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

在这个隔离和远程办公的时期,这个问题来得可不是时候!我使用 LuaLaTeX 处理大量文件,我不能落后于我的工作。

我真的需要你的帮助。提前谢谢你。约翰

相关内容