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
Branches
No related tags found
No related merge requests found
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
<xsl:import href="/usr/share/xmlmind/addon/config/docbook5/xsl/html/docbook.xsl" /> <xsl:import href="/usr/share/xmlmind/addon/config/docbook5/xsl/html/docbook.xsl" />
<xsl:template match="/"> <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>
<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"> <xsl:result-document method="xhtml" encoding="utf-8" href="Slides/{@xml:id}.html" indent="no">
<html lang="en"> <html lang="en">
<head> <head>
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
controls: true, controls: true,
progress: true, progress: true,
history: true, history: true,
center: false, center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom transition: 'slide', // none/fade/slide/convex/concave/zoom
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment