diff --git a/htmlbook-xsl/elements.xsl b/htmlbook-xsl/elements.xsl
index 2efedc64..b347d8ae 100755
--- a/htmlbook-xsl/elements.xsl
+++ b/htmlbook-xsl/elements.xsl
@@ -288,6 +288,7 @@
+
@@ -296,63 +297,67 @@
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Error: Could not find footnote referenced by footnoteref link
-
- . Footnote marker will not be generated.
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+ Error: Could not find footnote referenced by footnoteref link
+
+ . Footnote marker will not be generated.
+
+
@@ -403,19 +408,19 @@
+
-marker
-
-
+
diff --git a/htmlbook-xsl/xspec/elements.xspec b/htmlbook-xsl/xspec/elements.xspec
index 1236aead..1a117998 100755
--- a/htmlbook-xsl/xspec/elements.xspec
+++ b/htmlbook-xsl/xspec/elements.xspec
@@ -1454,9 +1454,9 @@ sect5:1
-
- 1
-
+
+ 1
+
@@ -1502,9 +1502,9 @@ sect5:1
-
- 4
-
+
+ 4
+
@@ -1514,9 +1514,9 @@ sect5:1
-
- 2
-
+
+ 2
+
@@ -1527,7 +1527,7 @@ sect5:1
- 4 Footnote #2 in Chapter #2
+ 4 Footnote #2 in Chapter #2
@@ -1538,7 +1538,7 @@ sect5:1
-
2 Footnote #2 in Chapter #2
+ 2 Footnote #2 in Chapter #2
@@ -1548,9 +1548,9 @@ sect5:1
-
- 8
-
+
+ 8
+
@@ -1560,9 +1560,9 @@ sect5:1
-
- 2
-
+
+ 2
+
@@ -1649,8 +1649,8 @@ sect5:1
-
-
+
+
@@ -1659,9 +1659,9 @@ sect5:1
-
- 2
-
+
+ 2
+
diff --git a/htmlbook-xsl/xspec/epub.xspec b/htmlbook-xsl/xspec/epub.xspec
new file mode 100755
index 00000000..ed08c02f
--- /dev/null
+++ b/htmlbook-xsl/xspec/epub.xspec
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/htmlbook-xsl/xspec/ncx.xspec b/htmlbook-xsl/xspec/ncx.xspec
index 24fb0465..08b1ab35 100755
--- a/htmlbook-xsl/xspec/ncx.xspec
+++ b/htmlbook-xsl/xspec/ncx.xspec
@@ -38,6 +38,14 @@ sect5:none
...
+
+
+
+
+
+
@@ -63,14 +71,7 @@ sect5:none
-
-
-
-
-
-
+
@@ -155,6 +156,10 @@ sect5:none
+
+
+
@@ -186,10 +191,6 @@ sect5:none
test="not(exists(ncx:navPoint/ncx:navLabel/ncx:text/*))"/>
-
-
-
diff --git a/htmlbook-xsl/xspec/opf.xspec b/htmlbook-xsl/xspec/opf.xspec
index c5a62ec7..b1b1e651 100755
--- a/htmlbook-xsl/xspec/opf.xspec
+++ b/htmlbook-xsl/xspec/opf.xspec
@@ -58,12 +58,7 @@ UbuntuMono-Regular.otf
-
-
-
-
-
-
+
+
+
+
+
+
+