[Top][All Lists]
[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
- [O] Bug: New Exporter macro expansion, Jonathan Leech-Pepin, 2012/10/04
- Re: [O] Bug: New Exporter macro expansion, Nicolas Goaziou, 2012/10/06
- Re: [O] Bug: New Exporter macro expansion,
Sebastien Vauban <=
- Re: [O] Bug: New Exporter macro expansion, Nicolas Goaziou, 2012/10/06
- Re: [O] Bug: New Exporter macro expansion, Jonathan Leech-Pepin, 2012/10/09
- Re: [O] Bug: New Exporter macro expansion, Nicolas Goaziou, 2012/10/10
- Re: [O] Bug: New Exporter macro expansion, Sebastien Vauban, 2012/10/10
- Re: [O] Bug: New Exporter macro expansion, Nicolas Goaziou, 2012/10/10