我在 Windows 10 上安装了 64 位 MikTeX,并尝试再次编译我的 tex 文件。我将其用作luatex
编译器latexmk
和一个简单的latexmkrc
文件。
$pdflatex = 'lualatex %O %S';
$pdf_mode = 1;
$postscript_mode = $dvi_mode = 0;
@default_files = ( 'myfile.tex' );
从命令行调用latexmk
显示以下输出:
$ latexmk.exe
Latexmk: This is Latexmk, John Collins, 5 February 2015, version: 4.43a.
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': Rules & subrules not known to be previously run:
pdflatex
Rule 'pdflatex': The following rules & subrules became out-of-date:
'pdflatex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'lualatex -recorder "myfile.tex"'
------------
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
pdflatex: (Pdf)LaTeX failed to generate the expected log file 'myfile.log'
Latexmk: Did not finish processing file 'projektskizze.tex':
(Pdf)LaTeX failed to generate the expected log file 'myfile.log'
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs of latex/pdflatex.
然后我尝试了以下操作:
$ lualatex -recorder myfile.tex
Segmentation fault
我查看了旧电脑上的旧安装,没有发现任何区别:相同的 MikTex 版本、相同的 perl、latexmk、lualatex 等等……除了操作系统。所以我现在不知道该怎么办了。
你有什么主意吗?
Miktex: 2.9.5800
perl: perl 5, version 22, subversion 1 (v5.22.1)
latexmk: Version 4.43a
lualatex: Version beta-0.80.0 (MiKTeX 2.9 64-bit) (rev 5238)