Hi John,

John Tait wrote:
> I'm trying to create a macro like this:
>
> #+MACRO: contactme #+INCLUDE: "./chunks/contactme.org"
>
> This would enable me to construct a website in a modular way.
>
> (The second level of abstraction, i.e. not using a direct include, would
> make maintaining the website much easier because if I rearrange the site I
> only have to worry about the macro reference.)
>
> I can't get it to work however. Is there a way to do this?

The execution order for the steps done on the buffer being exported is:

...
2. Include files through `#+INCLUDE:' keywords
3. Expand macros
...

So, I don't think that's possible -- at least no without changing the function
`org-export-as'.

Best regards,
  Seb

-- 
Sebastien Vauban


Reply via email to