RE: [docbook-apps] Python to PDF via XSL-FO

2012-05-13 Thread Robert Lucente
I am a newbie to DocBook and so take my comments w/ a grain of salt.

Check out

http://www.reportlab.com/software/opensource/rl-toolkit/

Why not go from Python to PDF directly?

-Original Message-
From: John W. Shipman [mailto:j...@nmt.edu]
Sent: Monday, May 07, 2012 1:54 PM
To: docbook-apps mailing list
Cc: John Shipman
Subject: [docbook-apps] Python to PDF via XSL-FO


As much as I love XSLT (half-kidding here), I have several
applications to generate PDFs from databases, and from other
sources that XSLT can't reach directly.

Since I discovered SQLAlchemy (http://www.sqlalchemy.org), life
is much nicer: In Python, I can pull data from SQL databases
without getting any actual SQL on my paws.

These applications use Python and its wonderful lxml module to
produce XSL-FO files, which I can then run through XEP or FOP.

I've built a little Python module to assist in the generation of
XSL-FO:

 http://www.nmt.edu/tcc/projects/fohelpers

If anyone finds this module useful, or if you have feedback on its
usefulness, I would be delighted to hear from you.

Are there other mailing lists that might reach potential users?

Best regards,
John Shipman (j...@nmt.edu), Applications Specialist, NM Tech Computer
Center,
Speare 146, Socorro, NM 87801, (575) 835-5735, http://www.nmt.edu/~john
   ``Let's go outside and commiserate with nature.''  --Dave Farber

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



[docbook-apps] Python to PDF via XSL-FO

2012-05-07 Thread John W. Shipman

As much as I love XSLT (half-kidding here), I have several
applications to generate PDFs from databases, and from other
sources that XSLT can't reach directly.

Since I discovered SQLAlchemy (http://www.sqlalchemy.org), life
is much nicer: In Python, I can pull data from SQL databases
without getting any actual SQL on my paws.

These applications use Python and its wonderful lxml module to
produce XSL-FO files, which I can then run through XEP or FOP.

I've built a little Python module to assist in the generation of
XSL-FO:

http://www.nmt.edu/tcc/projects/fohelpers

If anyone finds this module useful, or if you have feedback on its
usefulness, I would be delighted to hear from you.

Are there other mailing lists that might reach potential users?

Best regards,
John Shipman (j...@nmt.edu), Applications Specialist, NM Tech Computer Center,
Speare 146, Socorro, NM 87801, (575) 835-5735, http://www.nmt.edu/~john
  ``Let's go outside and commiserate with nature.''  --Dave Farber

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org