On Fri, 2007-11-30 at 11:12 +1000, Jeff Fearn wrote:
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
ISTR using the xmlto "-m" option to provide some parameter tweaking via
XSL. It's certainly not as simple as using the xsltproc "--param" or
"--stringparam" options, but it might get one by in a pinch.
--
Paul W. Frields, RHCE
http://paul.frields.org/
gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717
Fedora Project:
http://pfrields.fedorapeople.org/
irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug