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