em...@vergauwen.me writes: > Different export types, or different user included packages, generate > different > metafiles. This makes an automated cleanup process afterwards a bit more > complicated I think, if not impossible. > > The temporary file makes it hard to add files to the working directory.
Not too hard I'd say. All we need is (1) record the directory files before running LaTeX; (2) Run LaTeX; (3) Remove all the added files but the generated output file. Best, Ihor