Skip to content
Snippets Groups Projects
Commit 0b3becc4 authored by Goik Martin's avatar Goik Martin
Browse files

Getting rid of block object names in <figure> titles

parent a443ec53
No related branches found
No related tags found
No related merge requests found
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment