emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: Alan L Tyree <alantyree@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: ePub and Org mode
Date: Sat, 19 Feb 2011 22:46:02 +0100	[thread overview]
Message-ID: <4D603A1A.9020601@christianmoe.com> (raw)
In-Reply-To: <20110219202502.decc3e3e.alantyree@gmail.com>

Hi,

I agree exporting 'chapters' in a single Org document to separate html 
files would be a nice option to have.

Pending someone writing an export function for this, you could

- post-process the HTML with one of the scripts out there for 
splitting up web pages, like htsplit available on CPAN;

- or go the Org -> DocBook -> `chunked' HTML route?

But just out of curiosity, why would you like this for the purpose of 
making an ePub book? Are you using a tool that requires it? (Unlike, 
e.g., Calibre, which takes a single HTML file as input, with TOC built 
from e.g. H2 as chapter headings.)

Yours,
Christian


On 2/19/11 10:25 AM, Alan L Tyree wrote:
> Greetings from Down Under,
> I am constructing an ePub formatted book. It came to me in plain text and I have formatted in org-mode.
>
> It is easy to export to XHTML, the first step in ePub construction, but I would like every chapter to be a separate file. It is easy enough to do this with a macro or a simple function (even though I am no elisp guru). Is there an export function that does this? I didn't see it in the docs and I don't see anything about it doing a Google search.
>
> What would really be nice, is a single command to create the ePub file.
>
> Any help appreciated.
>
> Cheers,
> Alan
>

  parent reply	other threads:[~2011-02-19 21:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-19  9:25 ePub and Org mode Alan L Tyree
2011-02-19 10:54 ` Bastien
2011-02-19 19:14   ` Alan L Tyree
2011-02-19 21:46 ` Christian Moe [this message]
2011-02-19 22:15   ` Alan L Tyree
2011-02-20  7:53   ` Achim Gratz
2011-02-20  8:17     ` Eric Schulte
2011-02-21  1:34       ` Richard Lawrence
2011-02-20  9:54     ` Alan Tyree

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D603A1A.9020601@christianmoe.com \
    --to=mail@christianmoe.com \
    --cc=alantyree@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).