![TIKZ externalize 不再適用於 MiKTeX](https://rvso.com/image/399831/TIKZ%20externalize%20%E4%B8%8D%E5%86%8D%E9%81%A9%E7%94%A8%E6%96%BC%20MiKTeX.png)
也許在最近更新到win10之後,在TeXWorks中執行TiKZ externalize指令會給出shell指令遺失的錯誤訊息(事實並非如此,並且最近外部化工作了)。日誌檔案中缺少圖形的錯誤訊息包含以下內容:
LaTeX 錯誤:索引類型「預設」未定義。
並以
! ==> Fatal error occurred, no output PDF file produced!
The log file for the master document contains the following:
(BoS.tex
===== 'mode=convert with system call': Invoking 'pdflatex -shell-escape -halt-o
n-error -interaction=batchmode -jobname "epistemics-figure0" "\def\tikzexternal
realjob{epistemics}\input{epistemics}"' ========
\openout3 = `epistemics.auxlock'.
runsystem(pdflatex -shell-escape -halt-on-error -interaction=batchmode -jobname
"epistemics-figure0" "\def\tikzexternalrealjob{epistemics}\input{epistemics}")
...executed.
\openout3 = `epistemics.auxlock'.
! Package tikz Error: Sorry, the system call 'pdflatex -shell-escape -halt-on-e
rror -interaction=batchmode -jobname "epistemics-figure0" "\d
最後,檔案 epistemics.auxlock 包含一行:
\def \tikzexternallocked {0}
我完全困惑了。任何幫助,將不勝感激。