emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: New Exporter macro expansion


From: Sebastien Vauban
Subject: Re: [O] Bug: New Exporter macro expansion
Date: Sat, 06 Oct 2012 10:53:29 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (windows-nt)

Hi Nicolas,

Nicolas Goaziou wrote:
> Hello,
>
> Jonathan Leech-Pepin <address@hidden> 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.

Did you go further in the thinking about what the macros will support in the
future?  Such as: multiline macros, recursive macros, Babel blocks, etc.

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]