From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Searching for a headline Date: Sun, 26 Feb 2017 13:34:00 -0800 Message-ID: <8737f0zlfb.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> <87y3wsiw94.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ci6SR-0001yF-DM for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 16:34:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ci6SN-0001oV-GM for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 16:34:19 -0500 Received: from [195.159.176.226] (port=36593 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ci6SN-0001nx-B9 for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 16:34:15 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ci6SE-00028P-47 for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 22:34:06 +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 20:32, Eric Abrahamsen wrote: >> 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/ > > Oh, this is nice :) That's a very good use of esxml. I definitely like it. > > I thought about doing the zipping in `org-epub', but had to get some > other stuff working first. But you already wrote the code :) Now's when I admit to having stolen most of the zipping stuff from ox-odt :) And yes, I think keeping everything in sexps until the last possible moment is going to make the whole project much more viable. Anyway, see what you want to do with that. I'm still theoretically interested in having a non-org-related package that can be used for creating and editing Epub files, and then providing a secondary package that publishes a set of Org files into Epub, using the first package. But obviously I've been in no hurry to write this package :) Maybe your work will inspire me to get off my butt; otherwise use the code as you see fit. E