From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Bug: New Exporter macro expansion Date: Thu, 4 Oct 2012 15:44:59 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJrLy-0005Ii-Pc for emacs-orgmode@gnu.org; Thu, 04 Oct 2012 15:45:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJrLw-0000Az-Rd for emacs-orgmode@gnu.org; Thu, 04 Oct 2012 15:45:02 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:40408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJrLw-0000A7-Ky for emacs-orgmode@gnu.org; Thu, 04 Oct 2012 15:45:00 -0400 Received: by mail-wg0-f49.google.com with SMTP id gg4so561864wgb.30 for ; Thu, 04 Oct 2012 12:44:59 -0700 (PDT) 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: Org Mode Mailing List 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. Regards, -- Jon