diff --git a/ws/Docbook/CustomLayer/slide/slideHdm.xsl b/ws/Docbook/CustomLayer/slide/slideHdm.xsl index 3115fdaf1561012446c3c7bb7f1c75dbca9f7df3..33220672a15894e8c28f654b9738c5d7199472a7 100644 --- a/ws/Docbook/CustomLayer/slide/slideHdm.xsl +++ b/ws/Docbook/CustomLayer/slide/slideHdm.xsl @@ -121,8 +121,18 @@ </xsl:template> - <!-- Hack: Docbook XSL does not handle @valign in images--> + <!-- Get rid of block object names e.g. "Figure 3.1" --> + <xsl:template match="d:figure"> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="d:figure/d:title"> + <h3> + <xsl:apply-templates/> + </h3> + </xsl:template> + <!-- Hack: Docbook XSL does not handle @valign in images--> <xsl:template match="d:mediaobject[d:imageobject/d:imagedata[@valign]]"> <img src="{d:imageobject/d:imagedata/@fileref}"> <xsl:attribute name="style">