From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Markup for export question Date: Thu, 09 Jul 2009 19:47:28 +0200 Message-ID: <871vopsq8f.fsf@kassiopeya.MSHEIMNETZ> References: <87bpntsw6q.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOxeW-00071e-SC for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 13:43:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOxeS-00070H-Fi for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 13:43:24 -0400 Received: from [199.232.76.173] (port=46832 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOxeS-00070E-9l for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 13:43:20 -0400 Received: from mail.gmx.net ([213.165.64.20]:57452) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MOxeR-0008Ff-LI for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 13:43:20 -0400 In-Reply-To: <87bpntsw6q.fsf@kassiopeya.MSHEIMNETZ> (Sebastian Rose's message of "Thu, 09 Jul 2009 17:38:53 +0200") 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: Ulf Stegemann Cc: emacs-orgmode@gnu.org Sebastian Rose writes: > Ulf Stegemann writes: >> When writing documentations I often come across expressions like >> >> doMagic('myVariable') >> >> In an ideal world the HTML code for this after exporting the org file >> would look like this: >> >> doMagic('myVariable') > > > Example: > > > #+MACRO: macname (eval (format "Macro says '%s'" $1)) > > * Some headline > > {{{macname("Something to say here")}}} > > > > It does _not_ work without the `eval'. > > > > See: > > http://orgmode.org/Changes.html#sec-2.1.1 > Can someone here tell me, what I read when looking at the OP's email? This works, but not in #+BEGIN_SRC or ` : ' protected: @doMagic('@myVariable@')@ Sebastian