From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: New Exporter macro expansion Date: Sat, 06 Oct 2012 10:34:07 +0200 Message-ID: <87txu86lts.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKPtY-0006Vo-6h for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 04:38:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKPtW-00005V-VN for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 04:38:00 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:44386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKPtW-00005N-O2 for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 04:37:58 -0400 Received: by mail-we0-f169.google.com with SMTP id u3so1689622wey.0 for ; Sat, 06 Oct 2012 01:37:57 -0700 (PDT) In-Reply-To: (Jonathan Leech-Pepin's message of "Thu, 4 Oct 2012 15:44:59 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jonathan Leech-Pepin Cc: Org Mode Mailing List Hello, Jonathan Leech-Pepin writes: > Hello all, > > I've found a few issues with the new exporter (tested using > org-e-latex and org-e-ascii) with regards to macro expansion on > export. > > Using the minimal org file below with Org-mode version 7.9.2 > (release_7.9.2-402-ge5e49e @ d:/Apps/Emacs/site-lisp/org/) certain > macros do not expand as expected. > > #+begin_src org > ,#+TITLE: Test > ,#+author: testing > ,#+macro: sample export this text > ,#+macro: sample2 {{{sample}}} and this text > ,#+macro: table | hello | goodbye | > ,#+macro: table2 | hello | {{{sample}}} | > > ,* Sample headline > > {{{title}}} > > | Test | 1 | > | {{{TITLE}}} | {{{sample}}} | > {{{table}}} > {{{table2}}} > #+end_src > > {{{title}}}, as well as {{{author}}} do not expand at all when > exporting. In addition macros within table cells are treated as empty > text. This should be fixed now. Thank you for the report. Regards, -- Nicolas Goaziou