I am using standalone package by Martin Scharrer in a report. I read in this answer by Martin that if the document loads with a [mode=buildnew]{standalone} package, then for each picture that is included using \includestandalone[<options>]{<filename>}, a compilation using the pdflatex -shell-escape main will compile all \includesstandalone'ed files automatically as graphics and build these graphics if the source file is newer than the existing graphics file.
My question is, is this valid also if the tikzpic.tex file includes plot data from another data file ? Because if the changes are made in the data file, then would the standalone package will still be including the pdf of plot of old data?
externallibrary, you can declare a dependency for a picture on another file, I think. However, I don't think thestandalonestrategy can do this. (I'm not sure as I always externalise rather than using this functionality fromstandaloneand just usestandalonefor its inputting features.)externallibrary. You are less likely to get answers with MWEs when you don't bother to provide an MWE yourself. Anyway, my comment doesn't answer the question because it by-passesstandalone's support for including compiled pictures altogether: if you externalise, the standalone file is just input and TikZ figures out whether to compile eachtikzpicturein the document (whether in another file or not).