emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [new-exporter] Macro expansion does not allow for newlines '\n'
@ 2012-12-06 20:15 Jonathan Leech-Pepin
  2012-12-07 11:53 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Leech-Pepin @ 2012-12-06 20:15 UTC (permalink / raw)
  To: Org Mode Mailing List

[-- Attachment #1: Type: text/plain, Size: 338 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 419 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-07 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-06 20:15 [new-exporter] Macro expansion does not allow for newlines '\n' Jonathan Leech-Pepin
2012-12-07 11:53 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).