Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-05 05:44:15


On Friday 05 October 2007 13:39:20 John Maddock wrote:
> Vladimir Prus wrote:
> > On Monday 24 September 2007 14:42:08 John Maddock wrote:
> >> Rene,
> >>
> >> While I've got your attention I've two more Boostbook bbv2 niggles,
> >> sorry!
> >>
> >> 1) Is there a way to restrict xslt param's to specific build-types
> >> only - so I can have different pdf and html settings: .png's for one
> >> and .svg's for the other for example? I've tried adding
> >>
> >> <toolset>pdf:<xsl:param>admon.graphics.extension=".svg"
> >
> > Try
> >
> > <format>pdf:<xsl:param>admon.graphics.extension=".svg"
> >
> > As 'format' is the real name of that feature.
>
> Ahah! Thanks, that works, how should I have figured that out for myself?

By looking at boostbook.jam, I'm afraid :-(

> > Is it possible to specify 'include' path for FOP?
>
> Ahhhh, now that gives me an idea: I've always resisted going down this path
> because it didn't work for other reasons (bjam strips trailing /'s from
> paths), but now that Rene has fixed that, I can declare a path constant to
> the images location and then use that as an <format>pdf:<xsl:param>, so
> maybe this is fixed now as well. Seems to be working anyway...

Good.

- Volodoya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk