Re: [O] org-export-handle-include-files

2012-12-08 Thread Tony Day
On 9 Dec 2012, at 02:24, Nick Dokos wrote: > > >> Is there a method where you can use >> #+INCLUDE without overwriting the current buffer? >> > > You can do what org-export-preprocess-string does: create a temp > buffer, insert the contents of the original buffer and call > org-export-handle

Re: [O] org-export-handle-include-files

2012-12-08 Thread Nick Dokos
Tony Day wrote: > In the current buffer, org-export-handle-include-file overwrites: > > #+INCLUDE: "./some-other-file.org" > > with contents of the other file. For example, > > #+BEGIN_EXAMPLE > * other file header > :PROPERTIES: > :OTHER_PROPS: yes > :END: > > Contents of the other file. >

[O] org-export-handle-include-files

2012-12-07 Thread Tony Day
In the current buffer, org-export-handle-include-file overwrites: #+INCLUDE: "./some-other-file.org" with contents of the other file. For example, #+BEGIN_EXAMPLE * other file header :PROPERTIES: :OTHER_PROPS: yes :END: Contents of the other file. #+END_EXAMPLE Is this the intended behaviour?