Hello again, Like many others, I'm adapting my workflow to the new exporter. Like Carsten (but apparently few others), I've been using macros extensively. Though I've spent several days digging through the mailing list and code, I still don't have the answers I need, but hopefully I can ask intelligent questions.
Nicolas Goaziou <n.goaz...@gmail.com> writes: > On that topic, the main difference with the previous exporter is that > macros are now required to be in a context that can be parsed. Thus, for > example, the following is not a macro: > > ~{{{title}}}~ What is meant by "a context that can be parsed"? In my work, it has been very useful to use macros for snippets of text. Then, instead of changing the text everywhere when I want a change, I would just change the macro. So... For instance, I used to be able to do this: #+MACRO: status Draft #+HTML: <p class="status">{{{status}}}</p> And on export to HTML, I would get what you would expect: <p class="status">Draft</p> With the new exporter, the macro is left unexpanded in the output: <p class="status">{{{status}}}</p> Of course, I could also put the {{{status}}} in any ordinary text and have it there as well. In extensive experiments, I have not found any combination of input that would produce the old output using macros. The old behavior had an elegant, one-line solution. Perhaps the functionality could be duplicated with babel, but surely not as simply and directly as with the old macro system. Is there a way to replicate the old behavior in the new export engine? Also, in your response to Carsten's question about macros, you suggested this: #+MACRO: thumbright @@html:<img src="./Content/$2/thumb.jpg" style="float:right;width:$1;margin:0px 20px 0px 20px;" alt="./Content/$2/thumb.jpg" />@@ The "@@" syntax looks new to me. Can you tell me what the function of the "@@" is? Is this documented somewhere? Best regards, Terry -- T.F. Torrey