\comment conflict with tikz externalization
So I was trying to use changes together with tikz-feynman and I was using the tikzexternalize. The code is as following:
\usepackage{shellesc}
\usetikzlibrary{external}
\tikzexternalize[shell escape=-enable-write18,prefix=./,system call={pdflatex \tikzexternalcheckshellescape -halt-on-error -interaction=batchmode -jobname "\image" "\texsource"},up to date check=diff]
The problem is, it takes the comments as a figure to "externalize". So when I used latexmk to compile it, it stucked at those "comment" pictures. The error message is
Rule 'pdflatex': File changes, etc:
Changed files, or newly in use since previous run(s):
'texname-figure1.pdf'
'texname-figure3.pdf'
Latexmk: Maximum runs of pdflatex reached without getting stable files
And texname-figure1/3.pdf are exactly the picture of the comment box.
Edited by Ekkart Kleinod