From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Exporting to multiple files Date: Thu, 02 Oct 2014 11:22:05 +0800 Message-ID: <878ukzrw9u.fsf@ericabrahamsen.net> References: <20140309023409.15f5bd11@aga-netbook> <87mw9ghdtk.fsf@wmi.amu.edu.pl> <87oatwtr0i.fsf@ericabrahamsen.net> <87vbo47ydf.fsf@nicolasgoaziou.fr> <87oatv51ek.fsf@wmi.amu.edu.pl> <871tqr96n8.fsf@nicolasgoaziou.fr> <87d2absoa4.fsf@ericabrahamsen.net> <87bnpv8uzu.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZWyC-0007HJ-36 for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 23:22:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZWy3-00089z-Vw for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 23:22:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:41962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZWy3-00089e-Pc for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 23:22:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XZWy1-0008C7-Tc for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 05:22:09 +0200 Received: from 114.248.29.143 ([114.248.29.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2014 05:22:09 +0200 Received: from eric by 114.248.29.143 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2014 05:22:09 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Eric Abrahamsen writes: > >> Not many formats: many files. To be honest, it's not necessary for epub >> to export to many separate files, but it's often done. It is easier to >> deal with, if you're editing the epub afterwards. > > In this case, the back-end can generate multiple files. AFAIK, ox-odt > does something like that, except that the files are eventually zipped. I was already borrowing quite heavily from ox-odt (epub is a zipped directory, too, and has a bunch of the same manifest/metadata stuff), but hadn't yet tackled the problem of preserving inter-file links (I don't think ox-odt splits the actual text into multiple files). If you can think of any more clever approach than just find-and-replace-plus-bookkeeping, please let me know! Eric