Text-file based document preparation system

Sphinx might do the trick. http://sphinx.pocoo.org/


Are you using some kind of server-side language such as PHP?

if yes you could use the FPDF Library... (http://html2fpdf.sourceforge.net/)

You basically feed it BASIC html and it will output a PDF....