On a related note: I'm looking for a command line utility (*nix) to go the other way. Any recommendations for a tool which extracts text from a PDF?
* I did a sizeable data mining project a while ago which required converting a lot of scientific papers to plain text. pdftotext didn't work well on a lot of them, so I had a script sending click events to Adobe Reader running overnight.