|
Boost Users : |
Subject: Re: [Boost-users] [boost/Quickbook] Build documentation with severalfiles
From: Carlos Guimarães (asc2.cemg_at_[hidden])
Date: 2010-06-12 07:41:58
Hi,
I managed to get it working with the xslt params that you give. However,
I can't set home and up buttons in navigation to a specific url.
I already try these params and nothing work:
<xsl:param name = "prev" select = "/foo"/>
<xsl:param name = "next" select = "/foo"/>
<xsl:param name = "nav.context"/>
<xsl:variable name = "home" select = "/*[1]"/>
<xsl:variable name = "up" select = "parent::*"/>
<xsl:param name="htmlhelp.button.home.url"></xsl:param>
<xsl:param name="htmlhelp.button.home" select="0"></xsl:param>
*Jamfile:*
xml main : src/main.qbk ;
xml clientXml : src/app/client.qbk ;
boostbook main_base
:
main
:
<xsl:param>boost.image.src="./images/logo.png"
<xsl:param>boost.image.w=100
<xsl:param>boost.image.h=100
<xsl:param>nav.layout=none
<xsl:param>base.dir=../doc/html/
<xsl:param>root.filename=index
<xsl:param>html.stylesheet=./boost.css
<xsl:param>generate.manifest=0
<xsl:param>htmlhelp.button.home=0
<dependency>.//clientXml
<implicit-dependency>.//clientXml
;
boostbook client
:
clientXml
:
<xsl:param>boost.image.src="./../../images/logo.png"
<xsl:param>boost.image.w=100
<xsl:param>boost.image.h=100
<xsl:param>nav.layout=none
<xsl:param>navig.graphics.path="./../../images/"
<xsl:param>base.dir=../doc/html/app/client/
<xsl:param>root.filename=index
<xsl:param>html.stylesheet=./../../boost.css
<xsl:param>generate.manifest=0
;
Thanks
On 02-06-2010 17:35, John Maddock wrote:
>> However, they have been building at the same root folder. That fact
>> left me
>> only one index file, because the previous one have been overwrite.
>>
>> How can I resolve it?
>
> Not sure but I think base.dir and root.filename are the xslt params
> you're looking for, see:
> http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html
>
> John.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net