Hello,

Jonathan Leech-Pepin <jonathan.leechpe...@gmail.com> writes:

> 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.

Indeed. There is no support anymore for that feature. Macros are
a simple tool for simple tasks. Anything more complicated would overlap
with Babel functionalities. There's no point in providing that.

As a side note, the old exporter is wrong anyway, since only line breaks
should ensure to keep a real line break in the output.

Also, a macro can be replaced with a more complicated Babel call, if
needed.


Regards,

-- 
Nicolas Goaziou

Reply via email to