Is there a way to export a single Org file to a bunch of HTML files, one for each heading of a given level? E.g. the way the Org manual is presented at http://orgmode.org/manual ? (yes, I realize that's Info not org-mode)I thought I remembered that being possible, but now I can't find it. Thanks! -- Avdi Grimm http://avdi.org
On Mon, Feb 27, 2012 at 5:19 PM, Avdi Grimm <groups@inbox.avdi.org> wrote: > Is there a way to export a single Org file to a bunch of HTML files, > one for each heading of a given level? E.g. the way the Org manual is > presented at http://orgmode.org/manual ? (yes, I realize that's Info > not org-mode)I thought I remembered that being possible, but now I > can't find it. > > Thanks! > > -- > Avdi Grimm > http://avdi.org > I don't recall an export to multiple HTML files. Are you thinking of the INFOJS[1] Javascript enhanced export option? [1]: http://orgmode.org/manual/JavaScript-support.html
> On Mon, Feb 27, 2012 at 5:19 PM, Avdi Grimm<groups@inbox.avdi.org> wrote: >> Is there a way to export a single Org file to a bunch of HTML files, >> one for each heading of a given level? E.g. the way the Org manual is >> presented at http://orgmode.org/manual ? (yes, I realize that's Info >> not org-mode)I thought I remembered that being possible, but now I >> can't find it. I don't think there's been any way to do this directly. Would be a neat option to have, though. One roundabout way of doing it might be to export to Docbook, then export from Docbook to 'chunked' html. http://www.sagehill.net/docbookxsl/Chunking.html I haven't tried. Yours, Christian
Hello,
Christian Moe <mail@christianmoe.com> writes:
>> On Mon, Feb 27, 2012 at 5:19 PM, Avdi Grimm<groups@inbox.avdi.org> wrote:
>>> Is there a way to export a single Org file to a bunch of HTML files,
>>> one for each heading of a given level? E.g. the way the Org manual is
>>> presented at http://orgmode.org/manual ? (yes, I realize that's Info
>>> not org-mode)I thought I remembered that being possible, but now I
>>> can't find it.
>
> I don't think there's been any way to do this directly. Would be
> a neat option to have, though.
You can probably achieve this by setting an appropriate publishing
function.
Regards,
--
Nicolas Goaziou
On 3/3/12 9:28 PM, Nicolas Goaziou wrote: (...) > Christian Moe<mail@christianmoe.com> writes: >>> On Mon, Feb 27, 2012 at 5:19 PM, Avdi Grimm<groups@inbox.avdi.org> wrote: >>>> Is there a way to export a single Org file to a bunch of HTML files, >>>> one for each heading of a given level? (...) >> I don't think there's been any way to do this directly. Would be >> a neat option to have, though. > > You can probably achieve this by setting an appropriate publishing > function. But is there such a function ready to use? I don't think so. I've skimmed the manual and the Worg tutorial on publishing, and I've googled for this once or twice in the past. Yours, Christian
Hello,
Christian Moe <mail@christianmoe.com> writes:
> On 3/3/12 9:28 PM, Nicolas Goaziou wrote:
> (...)
>> Christian Moe<mail@christianmoe.com> writes:
>>>> On Mon, Feb 27, 2012 at 5:19 PM, Avdi Grimm<groups@inbox.avdi.org> wrote:
>>>>> Is there a way to export a single Org file to a bunch of HTML files,
>>>>> one for each heading of a given level?
> (...)
>>> I don't think there's been any way to do this directly. Would be
>>> a neat option to have, though.
>>
>> You can probably achieve this by setting an appropriate publishing
>> function.
>
> But is there such a function ready to use? I don't think so.
Ready to use, no. But since you can specify your own publishing
function, it should be doable.
Regards,
--
Nicolas Goaziou
On 02/27/2012 12:19 PM, Avdi Grimm wrote:
> Is there a way to export a single Org file to a bunch of HTML files,
> one for each heading of a given level? E.g. the way the Org manual is
> presented at http://orgmode.org/manual ? (yes, I realize that's Info
> not org-mode)I thought I remembered that being possible, but now I
> can't find it.
This would be a really nice feature to have. I would use it instead of
the convoluted process I use now.
Scott Randby
Nicolas Goaziou <n.goaziou@gmail.com> writes: >> But is there such a function ready to use? I don't think so. > > Ready to use, no. But since you can specify your own publishing > function, it should be doable. Actually if you use the mapping API[1] such a function should be fairly easy to write. Footnotes: [1] http://orgmode.org/manual/Using-the-mapping-API.html#Using-the-mapping-API -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland