From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: [new-exporter] Macro expansion does not allow for newlines '\n' Date: Thu, 6 Dec 2012 15:15:15 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf302ef99cdd045104d034c19f Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tghqt-0005iV-JK for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 15:15:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tghqn-0006bd-0D for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 15:15:21 -0500 Received: from mail-qa0-f41.google.com ([209.85.216.41]:61845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tghqm-0006bW-Sb for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 15:15:16 -0500 Received: by mail-qa0-f41.google.com with SMTP id o19so1465978qap.0 for ; Thu, 06 Dec 2012 12:15:16 -0800 (PST) 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 --20cf302ef99cdd045104d034c19f Content-Type: text/plain; charset=UTF-8 Hello all, The new exporter does not properly parse \n characters in macro definitions. In the old exporter the following: #+MACRO: test hello\ngoodbye {{{test}}} exports to ASCII as: hello goodbye In the new exporter (e-ascii) it exports as: hello\ngoodbye I've also reproduced this using e-pdf and e-texinfo. Regards, -- Jon --20cf302ef99cdd045104d034c19f Content-Type: text/html; charset=UTF-8 Hello all,

The new exporter does not properly parse \n characters in macro definitions.

In the old exporter the following:

#+MACRO: test hello\ngoodbye

{{{test}}}

exports to ASCII as:

hello
goodbye

In the new exporter (e-ascii) it exports as:

hello\ngoodbye

I've also reproduced this using e-pdf and e-texinfo.

Regards,

--
Jon
--20cf302ef99cdd045104d034c19f--