This is probably going to sound like a strange request (trust me that there's a good reason for it), but is it possible to have LaTeX compile straight to an image file instead of to something like PDF, PostScript, or DVI? I know there are probably good ways to convert those formats to an image instead, but I figured I would see if there was a more direct route.
Some requirements:
- The image format can be either PNG or JPG.
- I'm not looking just for a single expression or something (I'm aware of tools like
tex2im). I want to compile an entire document. - There should be one image for each page in the corresponding PDF, with the same resolution, margins, etc. It should be identical to just converting each page faithfully.
In case this turns out to be impossible for some reason, I would also be happy with a simple conversion routine to accomplish this with a PDF generated by pdflatex.
Thanks!
standaloneclass, see e.g. Compile a LaTeX document into a PNG image that's as short as possible. However, this is intendend for smaller things, like picture environments and not for whole documents. – Martin Scharrer Feb 05 '13 at 22:21