--- Gio 18/6/09, Stefan Vollmar <voll...@nf.mpg.de> ha scritto: > > For one project, I used several statements like this > (simplified): > > #+HTML: <table><tr><td><img > src="./images/icon.png"/></td><td<code>something</code></td></tr></table> > > #+HTML: <table><tr><td><img > src="./images/icon.png"/></td><td<code>other</code></td></tr></table> > > The result looks exactly the way we have planned it, > however, ideally one would want to write: > > \my-mini-table(something) > \my-mini-table(other) >
+ you can use yasnippet http://code.google.com/p/yasnippet/ http://doc.norang.ca/org-mode.html#sec-15.1 + Or macros? manual, chapter 12.1 Markup rules Macro replacement ----------------- You can define text snippets with #+MACRO: name replacement text which can be referenced anywhere in the document (even in code examples) with `{{{name}}}'. #+MACRO: my-mt-sth #+HTML: <table><tr><td><img> src="./images/icon.png"/></td><td<code>something</code></td></tr></table> cheers Giovanni _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode