<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ofosos.org (Posts about ox-epub)</title><link>https://ofosos.org/</link><description></description><atom:link href="https://ofosos.org/categories/ox-epub.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2025 &lt;a href="mailto:mark@ofosos.org"&gt;Mark Meyer&lt;/a&gt; </copyright><lastBuildDate>Sun, 13 Apr 2025 16:19:22 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Next steps for ox-epub</title><link>https://ofosos.org/posts/2017/12/04/next-steps-for-ox-epub/</link><dc:creator>Mark Meyer</dc:creator><description>&lt;h2&gt;About &lt;code&gt;ox-epub&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;I'm the author of &lt;a href="https://github.com/ofosos/ox-epub"&gt;ox-epub&lt;/a&gt; an &lt;a href="https://orgmode.org"&gt;org mode&lt;/a&gt; extension that let's you export your org files in EPUB format. This allows you to easily get your notes or plans onto a Kindle or other ebook device. Documents formatted with org-epub display well on limited capability devices like phones and e-readers.&lt;/p&gt;
&lt;p&gt;This week I'm preparing &lt;code&gt;ox-epub&lt;/code&gt; version 0.3.0. This version will come with baked in support for mathematical formulae. On the project side, this version also now includes a basic CI pipeline using Travis CI. The documentation has been expanded to include actual sample code, besides the reference-oriented README file.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ox-epub&lt;/code&gt; is a niche mode, there were a total of 48 downloads on MELPA during the 8 month lifetime of the project. But reception on Github was more welcome, all counted, it received 25 stars and has already two other contributors, besides me. Every few weeks or so, somebody pops in to report an issue or request help.&lt;/p&gt;
&lt;p&gt;So what are the next steps for &lt;code&gt;ox-epub&lt;/code&gt;?&lt;/p&gt;
&lt;h2&gt;Parity with &lt;code&gt;ox-html&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;One of the earlier issues &lt;code&gt;ox-epub&lt;/code&gt; faced was the bulging feature set of &lt;code&gt;ox-html&lt;/code&gt;. Fortunately most of these translate well into the epub format. It was necessary to adapt ox-epub for image export, formula export and linking.&lt;/p&gt;
&lt;p&gt;In this category, most of the time will be spent on reviewing &lt;code&gt;ox-html&lt;/code&gt; and writing test/sample code to verify that those features actually work with &lt;code&gt;ox-epub&lt;/code&gt; and translate well into the EPUB format.&lt;/p&gt;
&lt;p&gt;This point will take up most of the time. This should be time well invested. Future-proofing &lt;code&gt;ox-epub&lt;/code&gt; and enabling people to use the features they expect to be there.&lt;/p&gt;
&lt;h2&gt;Better ebooks&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;ox-epub&lt;/code&gt; already supports title pages with custom images, as well as custom stylesheets for your books. It also has support for setting the most common metadata defined in the EPUB specification&lt;/p&gt;
&lt;p&gt;There's also baked in support for automatically generating the table of contents. The outline is directly taken from the headings of your &lt;code&gt;org&lt;/code&gt; document. This table of contents is then specially treated by an ebook reader and presented out of band to the user, to facilitate document navigation.&lt;/p&gt;
&lt;p&gt;Some options for the future are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Fine grained table of contens inclusion&lt;/li&gt;
&lt;li&gt;Support for footnotes&lt;/li&gt;
&lt;li&gt;Preview function from &lt;code&gt;C-c C-e&lt;/code&gt; menu&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Nowadays the EPUB 3 specification has been out for some time, adoption however remains laggard. In essence we're limited to create EPUB 2 books. These however will convert well into MOBI or any other format that you could imagine, because of their limited functionality.&lt;/p&gt;
&lt;p&gt;I've mixed feelings about EPUB 3. While it allows to use JavaScript and HTML in a more convenient way, I don't see these as essential elements of the EPUB experience. For me an EPUB is basically about getting electronic text into a form that I can easily digest in longer sessions. Something that seems elusive, when sitting in front of a Laptop.&lt;/p&gt;</description><category>emacs</category><category>org</category><category>ox-epub</category><guid>https://ofosos.org/posts/2017/12/04/next-steps-for-ox-epub/</guid><pubDate>Mon, 04 Dec 2017 08:51:29 GMT</pubDate></item></channel></rss>