Generate report containing pdf or ps figures?

David Boddie david at boddie.org.uk
Tue Apr 24 18:11:47 EDT 2007


On Tuesday 24 April 2007 20:42, Cameron Laird wrote:

> I want to make sure we're all keeping up with each other, so
> I'll make explicit a couple of points, despite the risk of
> redundancy:
> A.  Bundling GS is a little touchy, depending on
>     what you mean by that.  Check out its license.
>     My summary:  it's feasible, but not as trans-
>     parent as the technology in isolation might
>     suggest.

I'm surprised you don't have more suggestions, Cameron, given that you
collect links to PDF convertors. ;-)

  http://phaseit.net/claird/comp.text.pdf/PDF_converters.html

> B.  As Steve's already noted, the for-fee ReportLab
>     *does* (at least some of) the things you want.

Another interesting approach might be to look at other members of
ReportLab's family tree:

  http://sping.sourceforge.net/
  http://sping.sourceforge.net/notesPDF/index.html

However, it doesn't seem that either are capable of inserting the kinds of
vector files you are using.

It may be worth writing a quick and dirty PDF writer using an existing
backend library, though I can imagine that the hard work would involve
reading the different input formats you want to use.

Anyway, for future reference, the following projects might prove to be
inspiring:

  http://pyx.sourceforge.net/
  http://pybrary.net/pyPdf/

David



More information about the Python-list mailing list