I have started toying around with Martin Scharrer's standalone package because tikz external does not work with todonotes and I feel that the workflow for standalone makes more sense as far as I have understood it.
Now to the problem: It seems that standalone always rebuilds the subfiles that I include, no matter which mode I select. Am I getting confused by the changing filetime and is there only a touch being performed? I have only started using this, so I can't tell if I am saving compile time.
I also observed that the filename for my subfile does come out as 'test3'.pdf with extra apostrophs. If I later switch to mode=image, the files are then not found. Is this related to the always-rebuilding problem?
Current source is as follows:
subfile called: test3.tex
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (1,1);
\end{tikzpicture}
\end{document}
Main file:
\documentclass{article}
\usepackage[mode=buildnew]{standalone}
\usepackage{tikz}
\begin{document}
\begin{figure}
\includestandalone{test3}
\caption{test}
\end{figure}
asdfasdf
\end{document}
-shell-escape
option?standalone
are you using with what LaTeX distribution (TeXLive 20?? or MikTeX ?.?)?