[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: New Exporter macro expansion
From: |
Sebastien Vauban |
Subject: |
Re: [O] Bug: New Exporter macro expansion |
Date: |
Wed, 10 Oct 2012 21:10:34 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (windows-nt) |
Nicolas and Jonathan,
Nicolas Goaziou wrote:
> Jonathan Leech-Pepin <address@hidden> writes:
>
>> I do however have one other issue that I seem to recall working in the
>> previous
>> exporter.
>>
>> If I use #+INCLUDE: "./macros.org" to store a list of common macros for
>> several files they will not appear in the exported document. Is this
>> intended?
>
> Not really intended. That's because include keywords expansion was
> happening after macro expansion (see `org-export-as').
Shouldn't macros be included via SETUPFILE? I've always considered that
INCLUDE was for the (sort of) text part, while SETUPFILE for the keywords
part.
Are there constraints on what we can include via which mechanism?
Best regards,
Seb
--
Sebastien Vauban