I have a paper that has a quite a few TikZ figures as well as quite a few PDF figures (generated in exactly the right size by some Matplotlib scripts). The journal we ended up wanting to submit to has some pretty ridiculous (§) requirements, including the demand that every figure be submitted separately as a TIFF.
Does anyone have any suggestions for automatically splitting out all included PDFs and all generated TikZ pictures in a way that allows me to automate this? I would prefer if the entire figure environment, except the caption, is output, so this answer does not quite apply.
(§) And I quote their "advice" (I'm not joking):
- Compile the LaTeX files into a PDF.
- Open the PDF in Photoshop, GIMP, or another graphics program that enables TIFF.
- Crop out the figure and export as TIFF.