[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Macro expansion in included files
From: |
Carsten Dominik |
Subject: |
Re: [O] Macro expansion in included files |
Date: |
Fri, 8 Apr 2011 12:36:53 +0200 |
Applied, thanks.
- Carsten
On Mar 14, 2011, at 11:01 PM, Benny Simonsen wrote:
> Hi
>
> Some time ago I was posting about a problem with macros in included
> files - they will not expand.
>
> Example with two files top.org and sub.org: macro in the included file
> sub.org isn't expanded during export.
> See the content of the example files below.
>
> The patch fixes this so that the macro is expanded in both top.org and
> sub.org.
>
> Setup:
> org-mode: git master (head)
> export top.org with org-export-as-html
>
> I hope that the patch format is ok ("git diff" output) attached.
>
> Best regards
> Benny Simonsen
>
> ### top.org ############################################################
> #+TITLE: Debug org file
> #+MACRO: testmacro Expanded
>
> {{{testmacro}}}
>
> #+INCLUDE: "sub.org"
> ########################################################################
>
> ### sub.org ############################################################
> #+TITLE: Included debug org file
>
> {{{testmacro}}}
> ########################################################################
> <macro-expansion-in-included-files.patch>
- Carsten
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] Macro expansion in included files,
Carsten Dominik <=