[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] Org syntax (draft)
From: |
Sebastien Vauban |
Subject: |
Re: [O] [RFC] Org syntax (draft) |
Date: |
Sun, 17 Mar 2013 10:36:23 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (windows-nt) |
Hi Achim,
Achim Gratz wrote:
> Nicolas Goaziou writes:
>> As discussed a few days ago, here is a document describing the complete
>> Org syntax as read by the parser. I also added some comments. I am going
>> to put the Org file on Worg, so anyone can update it and fix mistakes.
>
> after some playing with the Org manual in Org that Tom has been working
> on I am starting to think that there should be a way to define the same
> macro differently for different export backends. That would be mainly
> so that you could have a macro expansion use export snippets tailored to
> that backend where (after stripping the export snippets) the expansion
> makes little or no sense in other backends. What do you think?
This is already possible, as once explained by Nicolas on this ML:
╭────
│ You can also have macros generating raw code geared towards LaTeX or HTML
│ back-ends (through export-snippets). For example:
│
│ #+MACRO: my-mod @@e-latex:\something{$1}@@@@e-html:<div
class="something">$1</div>@@
│
│ This is an example: {{{my-mod(text)}}}.
╰────
Best regards,
Seb
--
Sebastien Vauban
- Re: [O] [RFC] Org syntax (draft), (continued)
- Re: [O] [RFC] Org syntax (draft), Jambunathan K, 2013/03/10
- Re: [O] [RFC] Org syntax (draft), Eric S Fraga, 2013/03/14
- Re: [O] [RFC] Org syntax (draft), Jambunathan K, 2013/03/14
- Re: [O] [RFC] Org syntax (draft), David Engster, 2013/03/14
- [O] [Out-of-Thread] Re: [RFC] Org syntax (draft), Jambunathan K, 2013/03/14
- Re: [O] [Out-of-Thread] Re: [RFC] Org syntax (draft), David Engster, 2013/03/14
- Re: [O] [Out-of-Thread] Re: [RFC] Org syntax (draft), Jambunathan K, 2013/03/14
- Re: [O] [Out-of-Thread] Re: [RFC] Org syntax (draft), David Engster, 2013/03/14
- Re: [O] [Out-of-Thread] Re: [RFC] Org syntax (draft), Jambunathan K, 2013/03/14
Re: [O] [RFC] Org syntax (draft), Achim Gratz, 2013/03/17
- Re: [O] [RFC] Org syntax (draft),
Sebastien Vauban <=
Re: [O] [RFC] Org syntax (draft), orgmode, 2013/03/12