emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] #+INCLUDE: file in code block results does not work?


From: KDr2
Subject: Re: [O] #+INCLUDE: file in code block results does not work?
Date: Wed, 26 Mar 2014 22:04:44 +0800

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 <address@hidden> 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 <address@hidden> wrote:
Nicolas Goaziou <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]