Commits

Shlomi Fish committed 6fa8343

Got the English DocBook 5 to compile to epub.

See the makefile for the changes. Now to make it more DocBooky and write an
introduction.

Comments (0)

Files changed (2)

 DOCBOOK5_XSL_STYLESHEETS_FO_PATH := $(DOCBOOK5_XSL_STYLESHEETS_PATH)/fo
 DOCBOOK5_XSL_CUSTOM_XSLT_STYLESHEET := $(HOMEPAGE)/lib/sgml/shlomif-docbook/xsl-5-stylesheets/shlomif-essays-5-xhtml.xsl
 
-all: $(DOCS_FICTION_XHTML)
+all: $(DOCS_FICTION_XHTML) intermediate/The-Enemy-English.epub
 
 odt: $(DOCS_FICTION_ODT)
 
 
 $(DOCS_FICTION_ODT): $(DOCS_FICTION_DB5)
 	docbook2odf $< -o $@
+
+intermediate/The-Enemy-English.epub : intermediate/The-Enemy-English.db5.xml
+	ruby $(HOME)/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/dbtoepub -o $@ $<

intermediate/The-Enemy-English.db5.xml

 <?xml version="1.0"?>
 <article xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="index" xmlns:xlink="http://www.w3.org/1999/xlink">
-    <info><title>The Enemy and How I Helped to Fight it</title></info>
+    <info><title>The Enemy and How I Helped to Fight it</title>
     <authorgroup>
         <authorgroup>
             <author><personname><firstname>Shlomi</firstname><surname>Fish</surname></personname><affiliation>
   <para>"Damn it!" I said to myself "I was just beginning to warm up&#x2026;"</para>
   <para>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; -- End --</para>
 </section>
+</article>