Hi Nicolas,

(sorry for repeat- resending reply to list)

Thanks for the clarification. Do you think there could be a way to achieve what I need (basically what was shown in my question). I would to build a summary file with links and selected paragraphs from multiple other files in the same directory (use case: I want to automate the creation of README.org at https://github.com/zzamboni/elvish-modules/, among others). I can do the headline/include by hand (or using YAsnippets maybe), but I thought it would be much easier to just automate this with macros.

Thanks for any ideas.
--Diego


On Wed, Jun 27, 2018 at 10:01 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Diego Zamboni <diego@zzamboni.org> writes:

> Is it possible to use "#+include" from within a macro?

No, it isn't. Include keywords are expanded before macros.

Regards,

--
Nicolas Goaziou