Re: [O] Export to multiple HTML files

2015-02-27 Thread Pete Ley
> This: https://github.com/mbork/org-one-to-many may be a starting point.
> It is a small library which splits an org file into many smaller ones.
> (Bug reports/feature requests welcome, btw.)  The main function returns
> the list of generated files, so you could #'mapc some export function
> over it.

Thanks! I'll check this out. It makes it a lot easier for another
project I'm working on involving Gopher, too.



Re: [O] Export to multiple HTML files?

2012-03-05 Thread Christian Egli
Nicolas Goaziou  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




Re: [O] Export to multiple HTML files?

2012-03-04 Thread Scott Randby
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



Re: [O] Export to multiple HTML files?

2012-03-04 Thread Nicolas Goaziou
Hello,

Christian Moe  writes:

> On 3/3/12 9:28 PM, Nicolas Goaziou wrote:
> (...)
>> Christian Moe  writes:
 On Mon, Feb 27, 2012 at 5: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?
> (...)
>>> 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



Re: [O] Export to multiple HTML files?

2012-03-03 Thread Christian Moe

On 3/3/12 9:28 PM, Nicolas Goaziou wrote:
(...)

Christian Moe  writes:

On Mon, Feb 27, 2012 at 5: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?

(...)

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



Re: [O] Export to multiple HTML files?

2012-03-03 Thread Nicolas Goaziou
Hello,

Christian Moe  writes:

>> On Mon, Feb 27, 2012 at 5: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.
>
> 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



Re: [O] Export to multiple HTML files?

2012-03-03 Thread Christian Moe



On Mon, Feb 27, 2012 at 5: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.


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



Re: [O] Export to multiple HTML files?

2012-03-03 Thread Sean O'Halpin
On Mon, Feb 27, 2012 at 5: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.
>
> 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