WARNING: BoostBook build change..

In response to the whole, using Boost logo outside of real Boost Libraries, I changed the BoostBook XSL slightly to: * Default to not including a navbar. * Default to not including the Boost logo in the navbar, when one expressly asks to include the navbar. I changed the Boost Jamroot to include the two options one needs to get back the standard Boost navbar+logo: <xsl:param>nav.layout=horizontal <xsl:param>boost.image=Boost The "boost.image" param is new and lets one specify: none (for no logo image), Boost (for the boost.png image), or anything else (for your own custom image. So.. WARNING: You may have to change your doc builds if you previously assumed that the navbar or logo would show up outside of Boost to include the above options (or some version thereof). -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

Rene Rivera wrote:
In response to the whole, using Boost logo outside of real Boost Libraries, I changed the BoostBook XSL slightly to:
* Default to not including a navbar. * Default to not including the Boost logo in the navbar, when one expressly asks to include the navbar.
I changed the Boost Jamroot to include the two options one needs to get back the standard Boost navbar+logo:
<xsl:param>nav.layout=horizontal <xsl:param>boost.image=Boost
The "boost.image" param is new and lets one specify: none (for no logo image), Boost (for the boost.png image), or anything else (for your own custom image. So..
WARNING: You may have to change your doc builds if you previously assumed that the navbar or logo would show up outside of Boost to include the above options (or some version thereof).
I've been using this for some time now: <xsl:param>boost.image.src=images/my_logo.png <xsl:param>boost.image.w=89 <xsl:param>boost.image.h=150 <xsl:param>nav.layout=none Will your change affect setting the image in this manner? regards - michael -- ---------------------------------- Michael Caisse Object Modeling Designs www.objectmodelingdesigns.com

On 13 February 2010 00:59, Michael Caisse <boost@objectmodelingdesigns.com> wrote:
I've been using this for some time now:
<xsl:param>boost.image.src=images/my_logo.png <xsl:param>boost.image.w=89 <xsl:param>boost.image.h=150 <xsl:param>nav.layout=none
Will your change affect setting the image in this manner?
nav.layout is now none by default so you don't need to set that. But at the moment, you'll need to add '<xsl:param>boost.image=custom'. Rene, it might be better if it displays an image if 'boost.image.src' is set. So boost.image would be custom by default (and have no 'none' setting) but an image would only display if boost.image is set explicitly. That way, this example would work without any changes. Maybe instead of 'boost.image' we could have 'boost.defaults' so that one parameter would instruct other parameters (eg. the stylesheet location) to have sensible defaults for boost, but require explicit settings outside of boost. Daniel
participants (3)
-
Daniel James
-
Michael Caisse
-
Rene Rivera