--- a/Makefile Thu May 09 23:47:53 2024 +0200
+++ b/Makefile Fri May 10 00:10:08 2024 +0200
@@ -1,5 +1,5 @@
# Sane software manifesto helper tools
-# Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info)
+# Copyright © 2019-2024 František Kučera (Frantovo.cz, GlobalCode.info)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
--- a/templates/ssm.epub.xsl Thu May 09 23:47:53 2024 +0200
+++ b/templates/ssm.epub.xsl Fri May 10 00:10:08 2024 +0200
@@ -128,25 +128,23 @@
<navMap>
<navPoint id="{m:id}_preamble" playOrder="1">
<navLabel>
- <text>
- <xsl:value-of select="m:title"/>
- </text>
+ <text>Preamble</text>
</navLabel>
<content src="index.xhtml"/>
- <xsl:for-each select="m:chapter">
- <navPoint
- id="{m:id}"
- playOrder="{count(preceding::m:chapter)+2}"
- >
- <navLabel>
- <text>
- <xsl:value-of select="m:name"/>
- </text>
- </navLabel>
- <content src="{m:id}.xhtml"/>
- </navPoint>
- </xsl:for-each>
</navPoint>
+ <xsl:for-each select="m:chapter">
+ <navPoint
+ id="{m:id}"
+ playOrder="{count(preceding::m:chapter)+2}"
+ >
+ <navLabel>
+ <text>
+ <xsl:value-of select="m:name"/>
+ </text>
+ </navLabel>
+ <content src="{m:id}.xhtml"/>
+ </navPoint>
+ </xsl:for-each>
</navMap>
</ncx>
</exsl:document>