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.

OK to commit?

John.


RCS file: /cvsroot/boost/boost/tools/boostbook/xsl/html.xsl,v
retrieving revision 1.30
diff -u -r1.30 html.xsl
--- ../../../tools/boostbook/xsl/html.xsl       3 May 2007 
16:45:24 -00001.30
+++ ../../../tools/boostbook/xsl/html.xsl       6 Jun 2007 11:51:20 -0000
@@ -40,8 +40,13 @@
   <xsl:param name="chunker.output.indent">yes</xsl:param>
   <xsl:param name="toc.max.depth">2</xsl:param>
   <xsl:param name="callout.graphics.number.limit">15</xsl:param>
+  <xsl:param name = "admon.graphics.path"
+            select = "concat($boost.root, '/doc/html/images/')"/>
+  <xsl:param name = "navig.graphics.path"
+            select = "concat($boost.root, '/doc/html/images/')"/>

-<xsl:param name="admon.style">
+
+   <xsl:param name="admon.style">
     <!-- Remove the style. Let the CSS do the styling -->
 </xsl:param> 


-------------------------------------------------------------------------
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