<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I plan to release a beta of this for testing in the next couple of
days.<br>
<br>
What works:<br>
- (:epub-book:) [or just (:epub:)] on a trail page produces an
e-book (cover page, copyright notice, chapters, backmatter)<br>
<br>
- (:epub-article:) on a trail page produces an e-article (title,
optional abstract, sections); the abstract shows the {$Description}<br>
<br>
- table of contents based on chapters (books) or sections (articles)<br>
<br>
- trail autonumbering (1, 2, 3, ...), including alphabetised
appendices (A, B, C, ...)<br>
<br>
- unnumbered chapters (eg prologue or epilogue)<br>
<br>
- chapter aphorisms (quotation after the chapter heading)<br>
<br>
- first paragraph not indented, subsequent paragraphs indented, no
inter-paragraph spacing<br>
<br>
- list of links as endnotes<br>
<br>
- trail nesting is preserved and books can be divided into parts<br>
<br>
What doesn't yet work:<br>
<br>
- book metadata and other frontmatter (ISBN, publisher, dedication,
epigraph, etc)<br>
<br>
- custom book cover page (for now, it's the Calibre default)<br>
<br>
- custom chapter heading styles (eg a $ChapterHeadingFmt variable)
[*]<br>
<br>
- autonumber !!+ markup if used in a numbered chapter or section<br>
<br>
- testing all possible markup rules and css<br>
<br>
- LaTeX-style floating images (avoid whitespace when an image
doesn't fit on the current page)<br>
<br>
- generate epub from a (:pagelist:) rather than a trail<br>
<br>
As noted earlier, the recipe uses <a
href="http://calibre-ebook.com/download">Calibre</a>.<br>
<br>
<br>
[*] This is a bit tricky. Something like <h2>Chapter
1</h2><h1 class="chapter">Chapter heading
text</h1> causes Calibre to insert a page break between the h2
and h1 tags.<br>
<br>
JR<br>
<a href="http://calibre-ebook.com/download"></a>
<pre class="moz-signature" cols="72">--
John Rankin
Affinity Limited
T +64 4 495 3737
M +64 21 726 546</pre>
</body>
</html>