I use TikZ with the standalone document class to generate figures for a presentation using reveal.js, i.e. outside of LaTeX. Some of these figures undergo a few animation steps, which require little modification to the source code. I would like to automate the generation of all variants. Is there a LaTeX-only way to generate multiple output files in a single run? I have used a python script that repeatedly runs LaTeX and modifies the source in-between, but I would prefer a one-file solution. Could TikZ's externalize library help here?
Asked
Active
Viewed 250 times
6
burnpanck
- 339
lualatex.True, this use lua, but inside the latex file. – JPi Feb 11 '17 at 16:20\includegraphics[page=n]{file.pdf}. Or convert the pdf to gif via imagemagic, as I did to generate the animations :-) – JLDiaz Feb 14 '17 at 19:11tikzpicturesin a single standalone document counts as answer (I didn't know that this works, particularly that the pages are still tight). Maybe we should close this question as a duplicate of the one linked by @JLDiaz ? – burnpanck Feb 15 '17 at 10:37