当我编译我的文档时出现以下错误
! Package tikz Error: Sorry, the system call 'pdflatex -shell-escape -halt-on-error -interaction=batchmode -jobname "tikz/myfile-figure1" \def\tikzexternalrealjob{myfile}\input{myfile}"' did NOT
result in a usable output file 'tikz/myfile-figure1' (expected one of .pdf:.jpg:.jpeg:.png:). Please verify that you have enabled system calls. For pdflatex, this is 'pdflatex -shell-escape'. Sometimes it is also named 'writ
e 18' or something like that. Or maybe the command simply failed? Error messages can be found in 'tikz/OReilly_Gerard_Th
esis-figure1.log'. If you continue now, I'll try to typeset the picture.
See the tikz package documentation for explanation.
Type H <return> for immediate help.
我正在使用 TexnicCenter 来编译文档,并且在编译器的路径中有以下内容:
C:\Program Files (x86)\MiKTeX\miktex\bin\pdflatex.exe -shell-escape
这是:
-synctex=-1 -max-print-line=120 -interaction=nonstopmode "%wm"
PDF 文件仍然可以正常生成,但我知道这个错误不应该发生。
我的 LaTeX 技能充其量只能算是还可以,所以希望我在这里只是犯了一个明显的错误。
谢谢。
答案1
我认为我已经解决了这个问题。我在同一台机器上安装了两个版本的 MiKTeX。
危机解除。