Re: PDF Export

Kit BLAKE <[email protected]> Thu, 26 Aug 2010 12:01:49 +0200
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
On 22 Aug 2010, at 13:50, Roman Joost wrote:
>>> I wonder if there is any facility available to export Silva
>>> Documents to
>>> PDF. I rember that used DocmaPDF for quite a while, but I lost
>>> track if
>>> it's still maintained or not.
>>
>> Docma2PDF still works for Silva 2.1. But we haven't (yet) attempted
>> to make it work with 2.2/trunk.
> I had a quick peak today. I'm impressed that this piece of software
> still works - unbelievable. It took me a bit to get it installed. The
> search paths for the views and the stylesheet are calculated in an old
> fashioned "Zope2" way. Nothing major.
>
> The only glitch I ran into is a font problem with reportlab. The egg
> release of reportlab looks in now deprecated font paths for truetype
> fonts on linux.

That's annoying.

>> If you're interested in trying it, let us know, because I think it's
>> actually a branch that works.
> I checked and tried with Docma trunk.

We're using it internally, but I'm pretty sure we're using a branch,  =

and if so that would be the roman-infraelayout-branch/ which is still  =

working fine.

> I'm wondering - would you still consider this a valuable product for
> Silva?  Perhaps there are more ways to generate a PDF nowadays, like  =

> the
> way through z3c.rml instead of all the python code. Just thinking ...

We now have export to ODF in Silva, and we've pretty much decided to  =

let PDF exports happen via that. Maintaining the ReportLab integration  =

is pretty low on our todo list, but it's also a question of how much  =

investment it takes. Tough call. In these cases we usually let the  =

market decide.

Kit


-- =

Kit BLAKE =B7 Infrae =B7 http://infrae.com/ + 31 10 243 7051