Rene Rivera wrote:
> John Maddock wrote:
>> I have the patch below that once applied lets you just add:
>>
>> <xsl:param>boost.root=path-to-boost-root
>>
>> to your quickbook/boostbook Jamfile and all the images are then
>> correctly located in boost-root/doc/html/images.  I've verified that
>> it does the right thing if boost.root is not set (as is the case in
>> doc/Jamfile.v2) or if admon.graphics.path is set on the command line.
>
> What's "the right thing"? Sorry if this early in the morning for me I
> have no clue what this is trying to fix :-\

The right thing means "the same as before" :-)

So if you don't specify a boost.root then it defaults to the same as before 
and the images are searched for in ./images/ just as they were before. 
Likewise if you specify admon.graphics.path on the xslt command line then it 
overrides what's in the stylesheet and the generated HTML looks for it's 
images in the location you specify.

There is a problem with this latter feature though: if you put:

<xsl:param>admon.graphics.path=some_path/

in your Jamfile then bjam strips the trailing "/" but the stylesheets 
*require* that the trailing slash is present as it just appends the image 
name to the path :-(

John. 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to