From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Searching for a headline Date: Sun, 26 Feb 2017 11:32:07 -0800 Message-ID: <87y3wsiw94.fsf@ericabrahamsen.net> References: <87efylt1jg.fsf@nicolasgoaziou.fr> <51288adb-b5c7-5850-6a8e-01aa536c43f5@ofosos.org> <8737f0ucs0.fsf@nicolasgoaziou.fr> <8baa10bf-12ce-04b0-f0fd-b6322909433f@ofosos.org> <874lzgg8tr.fsf@nicolasgoaziou.fr> <573a07d1-1d0f-20e0-fc52-eadf5f46955d@ofosos.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ci4p3-0004CP-UQ for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 14:49:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ci4oz-0002rK-Iv for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 14:49:33 -0500 Received: from [195.159.176.226] (port=50181 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ci4oz-0002rB-CV for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 14:49:29 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ci4YG-0006OM-QE for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 20:32:12 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Mark Meyer writes: > On 02/26/17 18:28, Nicolas Goaziou wrote: >> I don't know the EPUB exporter. You probably could modify the Org source >> itself instead of the output. > > I wrote it yesterday, the code's up at > > https://github.com/ofosos/org-epub > > it's a little crufty, because I did write it for org 8 initially. This is cool to see! It's something I always wanted for Org. A couple of years ago I barely got off the ground with something I was (optimistically) calling epub-mode, which would be a dired-based mode for creating/editing Epub files. The idea was always to later add Org export/publish support, to do what you're doing in this package. I put together just the very beginnings of the package, I think it's capable of unzipping and re-zipping an Epub file, and generating a new (empty) template directory structure. Take a look and see if anything in there is interesting to you -- I think its main strength is using esxml to generate the XML files, so you don't have to do that with strings. The idea was that that would also make it easier to manipulate resources later on, while editing. Anyway, it ain't much: https://github.com/girzel/epub-mode/