in reply to PDF File Creation
Rather than trying to go straight to PDF, you might consider outputting something like LaTeX instead and then using pdflatex to generate the final output rather than trying to generate PDF yourself.