Texmaker 中的 PdfLaTeX 無法運作:無法啟動指令。 pdflatex -synctex=1 -interaction=nonstopmode %.tex

Texmaker 中的 PdfLaTeX 無法運作:無法啟動指令。 pdflatex -synctex=1 -interaction=nonstopmode %.tex

我在 Windows 10 上安裝了 MiKTeX 2.9,然後安裝了 Texmaker 5.0.3,我正在嘗試「快速建置」一個簡單的檔案來測試它。文件:

\documentclass[11pt]{scrartcl}



\begin{document}
Hello world!
\end{document}

當開啟 CMD 並輸入 pdflatex 時,輸出如下This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6730 64-bit),設定中的兩個命令是:

LaTeX latex -interaction=nonstopmode %.tex
PdfLaTeX pdflatex -synctex=1 -interaction=nonstopmode %.tex

從我從其他帖子中讀到的內容來看,這似乎是正確的。當從快速建置切換到 PDFLaTeX 時,錯誤是Logfile not found!

在CMD中使用時pdflatex -synctex=1 -interaction=nonstopmode einsteiger.tex出現以下錯誤:

This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6730 64-bit)
(Fatal format file error; I'm stymied)

我讀了這篇Texmaker 中的 PdfLaTeX 不起作用:“無法啟動命令”但它不一樣,因為標記為答案的內容已經在我的配置中。我不知道這裡出了什麼問題,如果需要的話我可以提供螢幕。

相關內容