[quickbook] incorrect image path for note, warning, etc

Hello all, When generating Quickbook docs on a single HTML page `bjam onehtml` the images for notes, warning, etc do not appear because they have the incorrect path: onehtml path (incorrect) images/note.png normal path (correct) ../../../../../doc/src/images/warning.png How do I fix this? Thanks a lot. --Lorenzo -- View this message in context: http://boost.2283326.n4.nabble.com/boost-quickbook-incorrect-image-path-for-... Sent from the Boost - Dev mailing list archive at Nabble.com.

lcaminiti wrote
Hello all,
When generating Quickbook docs on a single HTML page `bjam onehtml` the images for notes, warning, etc do not appear because they have the incorrect path:
onehtml path (incorrect) img alt="[Note]" src="images/note.png"
normal path (correct) img alt="[Warning]" src="../../../../../doc/src/images/warning.png"
How do I fix this?
Any idea? Thanks. --Lorenzo -- View this message in context: http://boost.2283326.n4.nabble.com/boost-quickbook-incorrect-image-path-for-... Sent from the Boost - Dev mailing list archive at Nabble.com.

onehtml path (incorrect) img alt="[Note]" src="images/note.png"
normal path (correct) img alt="[Warning]" src="../../../../../doc/src/images/warning.png"
How do I fix this?
Any idea?
The answer to all questions like this lies here: http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html Looks like admon.graphics.path is the one to set for that one, you may need to set others for stylesheets etc. You can also use the html target, but just turn off chunking to get the same effect - don't ask me how, I remember doing it in the past, but not what I had to set :-( HTH, John.

John Maddock-3 wrote
onehtml path (incorrect) img alt="[Note]" src="images/note.png"
normal path (correct) img alt="[Warning]" src="../../../../../doc/src/images/warning.png"
How do I fix this?
Any idea?
The answer to all questions like this lies here: http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html
Looks like admon.graphics.path is the one to set for that one, you may need
Yes, this worked! <xsl:param>admon.graphics.path=../../doc/src/images/
to set others for stylesheets etc.
I already had this for that: <xsl:param>html.stylesheet=../../doc/src/boostbook.css Thanks a lot! --Lorenzo -- View this message in context: http://boost.2283326.n4.nabble.com/boost-quickbook-incorrect-image-path-for-... Sent from the Boost - Dev mailing list archive at Nabble.com.
participants (2)
-
John Maddock
-
lcaminiti