I've written this document (say it's an article
) with a bunch of float - figures and tables. Some of them are just \includegraphics
, so the figure essentially exists outside as well inside the document, and can be easily made into a PDF if it isn't one already. But some of them depend heavily on code elsewhere in the document - earlier and later.
I'd like to be able see each of the figures and tables as a separate PDF. This is obviously possible theoretically (after all, typesetting into the main document is not so different from typesetting into a separate one) - but can I achieve this practically without writing lots of deep voodoo code?
Note: I don't mind whether this is done ex-post-facto on the final PDF, or as part of the production of that PDF (i.e. the regular execution of pdflatex or xelatex), or as a separate process on the sources.
pdf
's which only contain the objects that you want (in this case figure/tables) … – current_user Aug 4 '18 at 23:12\pagestyle{empty}
for those pages. then the pdf file could be "taken apart", saving each float page as a separate file, and cropping these as appropriate for re-use. – barbara beeton Aug 6 '18 at 14:46