Hi Andrea,

Le 12/09/2014 02:45, Andrea Rossetti a écrit :
Xavier Garrido <xavier.garr...@gmail.com> writes:
Of course, I can achieve that by using =:lines= and calculating how many
lines embeds the given headline.

   Hi Xavier, another possible approach (maybe less handy, but in
some cases it might fit): the user could keep one .org file
per headline, and #+INCLUDE one headline (= one entire file)
when needed.


This is something I use when dealing with a book or report with basically one big file per chapter. Here the problem is slightly different : I have 4 org/Beamer presentations that almost 80% of them are the same. So instead of maintening this 80% in 4 different places, I'd like to write them and change them in one place and then include the needed headlines at the right place in each of the 4 presentations.

I know this can't be done with #+INCLUDE maybe with a nice babel function or a bit of elisp. So maybe someone already did that. Otherwise this may be a nice addition for further release of org ;)

Cheers,
Xavier


Reply via email to