I wrote a blog entry to describe all the dynamic tricks I used in the exporting: http://kdr2.com/tech/emacs/orgmode-export-process.html On Wed, Mar 26, 2014 at 7:54 PM, KDr2 wrote: > Thanks very much. > > I use dynamic block now, by adding `org-update-all-dblocks' to > `org-export-before-processing-hook'. > > > On Wed, Mar 26, 2014 at 5:42 PM, Nicolas Goaziou wrote: > >> Nicolas Goaziou writes: >> >> > You can use a macro here: >> > >> > #+MACRO: inc-file #+INCLUDE: /path/to-include-dir/$1 >> > >> > {{{inc-file(a.org)}}} >> >> Err, no. Macros are also expanded after INCLUDE keywords. The only code >> executed before these are handled is >> `org-export-before-processing-hook'. >> > > > > -- > -- > > KDr2, http://kdr2.com > -- -- KDr2, http://kdr2.com