On Sun, Feb 20, 2011 at 6:53 PM, Achim Gratz
<Stromeko@nexgo.de> wrote:
Christian Moe <
mail@christianmoe.com> writes:
> 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
[...]
That sort of already exists, I've been using that to some good
effect... from the documentation:
--8<---------------cut here---------------start------------->8---
When exporting only a single subtree by selecting it with `C-c @'
before calling an export command, the subtree can overrule some of the
file's export settings with properties `EXPORT_FILE_NAME',
`EXPORT_TITLE', `EXPORT_TEXT', `EXPORT_AUTHOR', `EXPORT_DATE', and
`EXPORT_OPTIONS'.
--8<---------------cut here---------------end--------------->8---
The only thing missing is a function to export all (not excluded)
subtrees one by one and honor the properties slapped onto each subtree.
True. I also use the subtree export function often. I is easy to define a keyboard macro to deal with the problem. If I had to do it more than once, I'm sure that it is not too hard to write an elisp function to do it.
I think that Christian is proably right: for ePub generation, there are other tools that do the job. Two ways that are easy:
org -> html -> tidy -m -asxhtml -> (calibre || sigil)
I have had trouble getting the calibre ePub to validate, but it is more straightforward than Sigil. On the other hand, Sigil is easier to use to add editing to the basic text and always seems to pass the validation tests.
To get proper validation, I have found that the "tidy" step is necessary. Not sure why - tidy always replaces lots of characters, but I haven't had the time to work out what is going on.
Cheers,
Alan
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode