我今天更新了 Miktex,但无法编译。我的最小 tex 代码是:
(文件名:try.tex)
\documentclass[a4paper,10pt]{article}
\begin{document}
\end{document}
我的编译代码是:
latexmk.exe -xelatex try.tex
错误说:
Latexmk: This is Latexmk, John Collins, 26 Dec. 2019, version: 4.67.
Latexmk: applying rule 'xelatex'...
Rule 'xelatex': The following rules & subrules became out-of-date:
'xelatex'
------------
Run number 1 of rule 'xelatex'
------------
------------
Running 'xelatex -no-pdf -recorder "try.tex"'
------------
This is XeTeX, Version 3.14159265-2.6-0.999992 (MiKTeX 2.9.7300 64-bit)
Sorry, but xelatex did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
C:\Users\User Name\AppData\Local\MiKTeX\2.9\miktex\log\xelatex.log
Latexmk: fls file doesn't appear to have been made.
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
xelatex: Command for 'xelatex' gave return code 1
Refer to 'try.log' for details
----------------------
This message may duplicate earlier message.
Latexmk: Failure in processing file 'try.tex':
(Pdf)LaTeX didn't generate the expected log file 'try.log'
----------------------
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs, or warnings treated as errors.
更新:已向 Miktex 团队提交问题,网址:https://github.com/MiKTeX/miktex/issues/474