emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Export to multiple HTML files?
@ 2012-02-27 17:19 Avdi Grimm
  2012-03-03 17:25 ` Sean O'Halpin
  2012-03-04 16:03 ` Scott Randby
  0 siblings, 2 replies; 8+ messages in thread
From: Avdi Grimm @ 2012-02-27 17:19 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Export to multiple HTML files?
  2012-02-27 17:19 Export to multiple HTML files? Avdi Grimm
@ 2012-03-03 17:25 ` Sean O'Halpin
  2012-03-03 19:45   ` Christian Moe
  2012-03-04 16:03 ` Scott Randby
  1 sibling, 1 reply; 8+ messages in thread
From: Sean O'Halpin @ 2012-03-03 17:25 UTC (permalink / raw)
  To: avdi; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Export to multiple HTML files?
  2012-03-03 17:25 ` Sean O'Halpin
@ 2012-03-03 19:45   ` Christian Moe
  2012-03-03 20:28     ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Moe @ 2012-03-03 19:45 UTC (permalink / raw)
  To: avdi; +Cc: emacs-orgmode


> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Export to multiple HTML files?
  2012-03-03 19:45   ` Christian Moe
@ 2012-03-03 20:28     ` Nicolas Goaziou
  2012-03-04  7:57       ` Christian Moe
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2012-03-03 20:28 UTC (permalink / raw)
  To: mail; +Cc: emacs-orgmode, avdi

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Export to multiple HTML files?
  2012-03-03 20:28     ` Nicolas Goaziou
@ 2012-03-04  7:57       ` Christian Moe
  2012-03-04  9:20         ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Moe @ 2012-03-04  7:57 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode, avdi

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Export to multiple HTML files?
  2012-03-04  7:57       ` Christian Moe
@ 2012-03-04  9:20         ` Nicolas Goaziou
  2012-03-05 12:46           ` Christian Egli
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2012-03-04  9:20 UTC (permalink / raw)
  To: mail; +Cc: emacs-orgmode, avdi

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Export to multiple HTML files?
  2012-02-27 17:19 Export to multiple HTML files? Avdi Grimm
  2012-03-03 17:25 ` Sean O'Halpin
@ 2012-03-04 16:03 ` Scott Randby
  1 sibling, 0 replies; 8+ messages in thread
From: Scott Randby @ 2012-03-04 16:03 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Export to multiple HTML files?
  2012-03-04  9:20         ` Nicolas Goaziou
@ 2012-03-05 12:46           ` Christian Egli
  0 siblings, 0 replies; 8+ messages in thread
From: Christian Egli @ 2012-03-05 12:46 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-05 12:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 17:19 Export to multiple HTML files? Avdi Grimm
2012-03-03 17:25 ` Sean O'Halpin
2012-03-03 19:45   ` Christian Moe
2012-03-03 20:28     ` Nicolas Goaziou
2012-03-04  7:57       ` Christian Moe
2012-03-04  9:20         ` Nicolas Goaziou
2012-03-05 12:46           ` Christian Egli
2012-03-04 16:03 ` Scott Randby

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).