Sorry, I don't have an answer for you.. but here are two other 
suggestions:

Generate SVG and use inkscape to generate the Postscript (via command 
line).

Or generate XML and use Passepartout's typesetting engine xml2ps to 
generate your Postscript.

Since you mentioned "small chunks of text" I assume you don't need TeX 
quality typesetting and I think either of these ideas will save time so 
you don't have to recreate new techniques.

By the way, I am also working on something similar. I am generating math 
worksheets. My first tool (based on what I found online a few years ago), 
generates Postscript directly. My second testing program now generates 
HTML and I use html2ps to convert. I think I will next try one of my ideas 
above to better format my output.

  Jeremy C. Reed

Reply via email to