Thanks Keith,
Aha - I assumed they would be enabled by default. Interestingly, though,
when I set the following:
<xsl:param name="admon.graphics">1</xsl:param>
<xsl:param name="admon.graphics.path">images/colorsvg/</xsl:param>
<xsl:param name="admon.graphics.extension">.svg</xsl:param>
The epub reader (Adobe Digital Editions in my case) is displaying the
admonition graphic indented (as expected) but the admonition text is
centered in the page. It should be next to the admonition graphic.
i.e.
[TAB][image][centeredText]
instead of
[TAB][image][leftAlignedText]
When admon.graphics are disabled, the admonition text is correctly
left-aligned.
Output of the disabled admonition graphics:
<div class="note" title="Note" style="margin-left: 0.5in; margin-right:
0.5in;"><h3 class="title">Note</h3><p>This is a note</p></div>
Output of the enabled admonition graphics:
<div class="note" title="Note" style="margin-left: 0.5in; margin-right:
0.5in;"><table border="0" summary="Note"><tr><td rowspan="2"
align="center" valign="top"><img alt="[Note]"
src="images/colorsvg/note.svg"/></td><th
align="left">Note</th></tr><tr><td align="left" valign="top"><p>This is
a note</p></td></tr></table></div>
Glenn
On 15/07/2010 2:53 PM, Keith Fahlgren wrote:
On Wed, Jul 14, 2010 at 9:21 PM, Glenn McDonald<[email protected]> wrote:
I am using the epub/docbook.xsl from the package docbook-xsl-ns-1.75.2.zip
Are you using a customization layer that sets the admon.graphics parameter to 1?
The OPF manifest does not link to any admonition images:
Yes, that's a known bug:
http://sourceforge.net/tracker/?func=detail&aid=2849681&group_id=21935&atid=373747
Keith
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]