Suppose that I want to split the output of my LaTeX document in several .pdf files. Is there something like:
\fromnowwritetofile{foo.pdf}
some part of my document
\fromnowritetofile{foo2.pdf}
some other part
\fromnowwriteagaintofile{foo.pdf} %I don't know it this is asking too much.