Nicolas Goaziou <n.goaz...@gmail.com> 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'.