[Fwd: fop built]

Jeff Fearn jfearn at redhat.com
Fri Nov 30 01:12:58 UTC 2007


Karsten Wade wrote:
> On Thu, 2007-11-29 at 11:24 -0500, Paul W. Frields wrote:
>
>   
>> It's in the repos now, so you should be able to just set up a Rawhide
>> box (virt or otherwise), install the "fop" package, and go to town.
>>     
>
> OK, here's the moment where we have to acknowledge the manual situation
> here.  We can't use our current toolchain as it stands because 'xmlto'
> doesn't support FOP.
>
> I've just requested that Tommy's way old patch be renewed and applied:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=147472
>
> That would allow us to use our toolchain with rawhide to test the full
> stack.
>
> Otherwise, we need to process manually, and, uh ... I'm forgetting how
> to do that.  Anyone know how, off-hand?
>
> - Karsten
>   
The basics are:

xmlto fo Book.xml
fop -fo Book.fo -pdf Book.pdf

Limitations of this approach:

xmlto doesn't allow you to pass useful parameters to xsltproc
The default DocBook style sheets produce ugly PDFs

Cheers, Jeff.

-- 
Jeff Fearn <jfearn at redhat.com>
Software Engineer
Engineering Operations
Red Hat, Inc





More information about the fedora-docs-list mailing list