On 5/11/13 9:22 AM, Robert J. Cordingley wrote:
I want to server-side generate a report from a database, automatically
paginate it and prepare a table of contents ready for printing. I'm
scripting in PHP against a MySQL database. I already generate the
report in HTML/CSS for presentation on a web page where browser
printing leaves much to be desired anyway. Content includes styled
text and images. I don't know ahead of time how much text will be
provided by the database or the sizes of any images which are served
by URLs. The final document can be of the order of 100-200 pages.
If LaTeX is too unstructured, DocBook might work for you.
http://www.docbook.org/tdg5/en/html/docbook.html
Pandoc is a powerful converter from there..
http://johnmacfarlane.net/pandoc/
It might be too optimistic to convert your existing HTML to LaTeX, but
it might be worth a try.
Marcus
============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com