From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: my-mini-table(something) Date: Thu, 18 Jun 2009 10:14:25 +0000 (GMT) Message-ID: <53831.25060.qm@web28311.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHEdc-0004Jg-QW for emacs-orgmode@gnu.org; Thu, 18 Jun 2009 06:14:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHEdX-0004BC-Sj for emacs-orgmode@gnu.org; Thu, 18 Jun 2009 06:14:32 -0400 Received: from [199.232.76.173] (port=55231 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHEdX-0004Ae-NI for emacs-orgmode@gnu.org; Thu, 18 Jun 2009 06:14:27 -0400 Received: from web28311.mail.ukl.yahoo.com ([87.248.110.130]:34912) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MHEdX-0004nE-3z for emacs-orgmode@gnu.org; Thu, 18 Jun 2009 06:14:27 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode , Stefan Vollmar --- Gio 18/6/09, Stefan Vollmar ha scritto:=0A> =0A> Fo= r one project, I used several statements like this=0A> (simplified):=0A> = =0A> #+HTML: something
src=3D"./images/icon.png"/>
=0A> =0A> #+HTML: other=0A> =0A> The result looks exactly the way we have planned it,=0A> however= , ideally one would want to write:=0A> =0A> \my-mini-table(something)=0A> \= my-mini-table(other)=0A> =0A=0A+ you can use yasnippet=0A=0Ahttp://code.go= ogle.com/p/yasnippet/=0Ahttp://doc.norang.ca/org-mode.html#sec-15.1=0A=0A= =0A+ Or macros? manual, chapter 12.1 Markup rules=0A=0A Macro replacemen= t=0A -----------------=0A=0A You can define text snippets with=0A=0A = #+MACRO: name replacement text=0A=0A which can be referenced= anywhere in the document (even in code=0A examples) with `{{{name}}}'.= =0A=0A=0A#+MACRO: my-mt-sth #+HTML:
src=3D"./images/icon.png"/>
something
src=3D"./images/= icon.png"/>
=0A=0A=0Acheers= =0AGiovanni=0A=0A=0A=0A