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

Allowing chapter container. Center pages for mobile access

parent 6344dbff
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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