Re: [O] Exporting to multiple files

2014-10-01 Thread Rasmus
Marcin Borkowski mb...@wmi.amu.edu.pl writes: On 2014-03-09, at 02:34, Marcin Borkowski wrote: Hi all, I'd like to export an Org-mode file to /multiple/ HTML files. For instance, I might want to convert all first and second level headings to files, and third-level headings to h1,

Re: [O] Exporting to multiple files

2014-10-01 Thread Nicolas Goaziou
Hello, Eric Abrahamsen e...@ericabrahamsen.net writes: I thought about using Org publishing mechanism instead of exporting, but the two systems seem pretty locked in their paradigms: publishing is many-to-many, exporting is one-to-one (or many-to-one, with includes). There's no built-in

Re: [O] Exporting to multiple files

2014-10-01 Thread Marcin Borkowski
On 2014-10-01, at 14:44, Nicolas Goaziou wrote: Hello, Eric Abrahamsen e...@ericabrahamsen.net writes: I thought about using Org publishing mechanism instead of exporting, but the two systems seem pretty locked in their paradigms: publishing is many-to-many, exporting is one-to-one (or

Re: [O] Exporting to multiple files

2014-10-01 Thread Nicolas Goaziou
Hello, Marcin Borkowski mb...@wmi.amu.edu.pl writes: Is it a bad idea to write an /export/ backend with one-to-many functionality? (Epub is probably the most obvious use case, but there are others.) I don't know if that is a bad idea, but it sounds odd. In particular, I don't get why it is

Re: [O] Exporting to multiple files

2014-10-01 Thread Eric Abrahamsen
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Marcin Borkowski mb...@wmi.amu.edu.pl writes: Is it a bad idea to write an /export/ backend with one-to-many functionality? (Epub is probably the most obvious use case, but there are others.) I don't know if that is a bad idea, but

Re: [O] Exporting to multiple files

2014-10-01 Thread Nicolas Goaziou
Eric Abrahamsen e...@ericabrahamsen.net writes: Not many formats: many files. To be honest, it's not necessary for epub to export to many separate files, but it's often done. It is easier to deal with, if you're editing the epub afterwards. In this case, the back-end can generate multiple

Re: [O] Exporting to multiple files

2014-10-01 Thread Eric Abrahamsen
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Eric Abrahamsen e...@ericabrahamsen.net writes: Not many formats: many files. To be honest, it's not necessary for epub to export to many separate files, but it's often done. It is easier to deal with, if you're editing the epub afterwards.

Re: [O] Exporting to multiple files

2014-09-30 Thread Marcin Borkowski
On 2014-03-09, at 02:34, Marcin Borkowski wrote: Hi all, I'd like to export an Org-mode file to /multiple/ HTML files. For instance, I might want to convert all first and second level headings to files, and third-level headings to h1, fourth-level ones to h2 inside these files etc. Is

Re: [O] Exporting to multiple files

2014-09-30 Thread Eric Abrahamsen
Marcin Borkowski mb...@wmi.amu.edu.pl writes: On 2014-03-09, at 02:34, Marcin Borkowski wrote: Hi all, I'd like to export an Org-mode file to /multiple/ HTML files. For instance, I might want to convert all first and second level headings to files, and third-level headings to h1,

Re: [O] Exporting to multiple files

2014-04-07 Thread Iannis Zannos
Hello Sacha and other Emacs people, thanks for pointing this out, org-publish-meta is my child. It is now in early beta. I hope to start test-driving it soon. Iannis On Sun, Apr 6, 2014 at 11:45 PM, Sacha Chua sa...@sachachua.com wrote: Marcin Borkowski mb...@wmi.amu.edu.pl writes:

Re: [O] Exporting to multiple files

2014-04-06 Thread Sacha Chua
Marcin Borkowski mb...@wmi.amu.edu.pl writes: Hello, Marcin, all! I'd like to export an Org-mode file to /multiple/ HTML files. For instance, I might want to convert all first and second level ... Thanks a lot! Your code seems inspiring - I've only skimmed through it now, but e.g. the

Re: [O] Exporting to multiple files

2014-03-15 Thread Marcin Borkowski
Dnia 2014-03-13, o godz. 12:59:42 Bastien b...@gnu.org napisał(a): Hi Marcin, Marcin Borkowski mb...@wmi.amu.edu.pl writes: It occurred to me that I could just walk through the file, creating temporary buffers with my subtrees, demote them and export them one by one to HTML. This

Re: [O] Exporting to multiple files

2014-03-15 Thread Marcin Borkowski
Dnia 2014-03-13, o godz. 10:38:37 Richard Lawrence richard.lawre...@berkeley.edu napisał(a): Hi Marcin, Marcin Borkowski mb...@wmi.amu.edu.pl writes: I'd like to export an Org-mode file to /multiple/ HTML files. For instance, I might want to convert all first and second level

Re: [O] Exporting to multiple files

2014-03-13 Thread Bastien
Hi Marcin, Marcin Borkowski mb...@wmi.amu.edu.pl writes: It occurred to me that I could just walk through the file, creating temporary buffers with my subtrees, demote them and export them one by one to HTML. This seems doable (and even not too complicated), but is there a better/simpler

Re: [O] Exporting to multiple files

2014-03-13 Thread Fabrice Popineau
You could have a look at o-blog for example. It does something which is not too far from what you want (IIUC). It does it in a way similar to what you describe. Regards, Fabrice 2014-03-09 10:34 GMT+01:00 Marcin Borkowski mb...@wmi.amu.edu.pl: Dnia 2014-03-09, o godz. 02:34:09 Marcin

Re: [O] Exporting to multiple files

2014-03-13 Thread Richard Lawrence
Hi Marcin, Marcin Borkowski mb...@wmi.amu.edu.pl writes: I'd like to export an Org-mode file to /multiple/ HTML files. For instance, I might want to convert all first and second level headings to files, and third-level headings to h1, fourth-level ones to h2 inside these files etc. Is that

Re: [O] Exporting to multiple files

2014-03-09 Thread Marcin Borkowski
Dnia 2014-03-09, o godz. 02:34:09 Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a): Hi all, I'd like to export an Org-mode file to /multiple/ HTML files. For instance, I might want to convert all first and second level headings to files, and third-level headings to h1, fourth-level ones to

[O] Exporting to multiple files

2014-03-08 Thread Marcin Borkowski
Hi all, I'd like to export an Org-mode file to /multiple/ HTML files. For instance, I might want to convert all first and second level headings to files, and third-level headings to h1, fourth-level ones to h2 inside these files etc. Is that possible? I looked into the docs, but didn't find