Uttered "Paul W. Frields" <stickster(a)gmail.com>, spake thus:
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.
> > I've just requested that Tommy's way old patch be renewed and applied:
> > 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?
> 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.
You should be able to use the ${XSLT_PROCESSOR} environment variable
to invoke a short shell script that does what you want.
Cheers