summaryrefslogtreecommitdiff
path: root/doc/src/sgml/stylesheet.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/stylesheet.xsl')
-rw-r--r--doc/src/sgml/stylesheet.xsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/sgml/stylesheet.xsl b/doc/src/sgml/stylesheet.xsl
index b6141303abd..c492dc38e54 100644
--- a/doc/src/sgml/stylesheet.xsl
+++ b/doc/src/sgml/stylesheet.xsl
@@ -29,6 +29,12 @@
</xsl:param>
+<!-- copy images to the output directory, so the output is self contained -->
+<xsl:template match="imageobject">
+ <xsl:call-template name="write-image"/>
+ <xsl:apply-templates select="imagedata"/>
+</xsl:template>
+
<!-- strip directory name from image filerefs -->
<xsl:template match="imagedata/@fileref">
<xsl:value-of select="substring-after(., '/')"/>