From a04bc527cffd9f09392d0e252e0a66c8279fb1f9 Mon Sep 17 00:00:00 2001 From: Thomas Schraitle Date: Sat, 20 Apr 2013 09:15:28 +0000 Subject: [PATCH] Backported Bob's EPUB3 changes to EPUB2 from r9740 -> r9742 -> r9743: * Implement base.dir/OEBPS using internal chunk.base.dir instead of new param epub.base.dir. * Additional changes, specific to this stylesheet: - Construct parameter epub.metainf.dir from base.dir + 'META-INF/' - Changed parameter epub.cover.filename epub.oebps.dir to chunk.base.dir - Template opf: concat base.dir with epub.opf.filename - Replaced two subsequent xsl:value-of's with concat() --- xsl/epub/docbook.xsl | 41 +++++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/xsl/epub/docbook.xsl b/xsl/epub/docbook.xsl index 92916328b..fca02ad20 100644 --- a/xsl/epub/docbook.xsl +++ b/xsl/epub/docbook.xsl @@ -33,22 +33,48 @@ 4 - - + + + + + + + + ERROR: the $base.dir param must not include the + + directory in its path. Exiting. + + + + + + + + + + + + + + + / + + + + - - + ncxtoc htmltoc - + @@ -246,7 +272,7 @@ - + @@ -299,8 +325,7 @@ - - + -- 2.40.0