diff --git a/ws/Docbook/Extensions/Xsl/docbook2slides.xsl b/ws/Docbook/Extensions/Xsl/docbook2slides.xsl index 1f846f2930074c595e186261382cdb5459f9bdd0..5cad426c7ab00d9d77896e99fb840a6d6cea38bd 100644 --- a/ws/Docbook/Extensions/Xsl/docbook2slides.xsl +++ b/ws/Docbook/Extensions/Xsl/docbook2slides.xsl @@ -28,7 +28,7 @@ <div class="reveal"> <!-- Wrap all slides in a single "slides" class --> <div class="slides"> - <section> + <section id="{@xml:id}"> <!-- <xsl:apply-templates select="*[not(name(.)='db:section')]"/> --> @@ -47,6 +47,8 @@ progress: true, history: true, center: true, + width: '80%', + height: '80%', transition: 'slide', // none/fade/slide/convex/concave/zoom @@ -67,12 +69,12 @@ </xsl:template> <xsl:template match="d:section"> - <section> + <section id="{@xml:id}"> <xsl:apply-templates/> </section> </xsl:template> - <xsl:template match="d:section/d:title"> + <xsl:template match="d:chapter/d:title|d:section/d:title"> <h3> <xsl:value-of select="."/> </h3>