diff --git a/ws/Docbook/Extensions/Xsl/docbook2slides.xsl b/ws/Docbook/Extensions/Xsl/docbook2slides.xsl index 5a338e9f628878649ae9578c298ccb01e662a9e3..1f846f2930074c595e186261382cdb5459f9bdd0 100644 --- a/ws/Docbook/Extensions/Xsl/docbook2slides.xsl +++ b/ws/Docbook/Extensions/Xsl/docbook2slides.xsl @@ -5,10 +5,10 @@ <xsl:import href="/usr/share/xmlmind/addon/config/docbook5/xsl/html/docbook.xsl" /> <xsl:template match="/"> - <xsl:apply-templates select="//d:section[d:annotation[@role='slide']]" mode='entry'/> + <xsl:apply-templates select="//d:chapter[d:annotation[@role='slide']] | //d:section[d:annotation[@role='slide']]" mode='entry'/> </xsl:template> - <xsl:template match="d:section" mode='entry'> + <xsl:template match="d:chapter | d:section" mode='entry'> <xsl:result-document method="xhtml" encoding="utf-8" href="Slides/{@xml:id}.html" indent="no"> <html lang="en"> <head> @@ -46,7 +46,7 @@ controls: true, progress: true, history: true, - center: false, + center: true, transition: 'slide', // none/fade/slide/convex/concave/zoom