templates/ssm.epub.xsl
branchv_0
changeset 82 a11239f9f9e7
parent 81 47717a4ed4bb
--- 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>