From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Macros [was: Re: ATTR_HTML for a clickable image, howto?] Date: Sun, 20 May 2012 12:24:04 +0200 Message-ID: <87likncfqz.fsf@gmail.com> References: <86pqbrywgr.fsf@iro.umontreal.ca> <87r4w63602.fsf@gnu.org> <86vclekyqo.fsf@iro.umontreal.ca> <4F7EAED9.2040804@christianmoe.com> <4F803DDC.20808@christianmoe.com> <4F853CCD.4020601@christianmoe.com> <86r4ufr7hx.fsf_-_@mercure.progiciels-bpi.ca> <87txzbcmbm.fsf@gmail.com> <87pq9zz1w6.fsf@okhotsk19.lowtem.hokudai.ac.jp> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SW3Lt-0002uD-5q for emacs-orgmode@gnu.org; Sun, 20 May 2012 06:27:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SW3Lr-00041T-DY for emacs-orgmode@gnu.org; Sun, 20 May 2012 06:27:04 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:35625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SW3Lr-00041M-48 for emacs-orgmode@gnu.org; Sun, 20 May 2012 06:27:03 -0400 Received: by wibhm14 with SMTP id hm14so1136036wib.12 for ; Sun, 20 May 2012 03:27:01 -0700 (PDT) In-Reply-To: <87pq9zz1w6.fsf@okhotsk19.lowtem.hokudai.ac.jp> (Yagnesh Raghava Yakkala's message of "Sun, 20 May 2012 17:34:49 +0900") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Yagnesh Raghava Yakkala Cc: emacs-orgmode@gnu.org Hello, Yagnesh Raghava Yakkala writes: > Nicolas Goaziou writes: >> #+TITLE: Macro test >> #+MACRO: test2 recursive $1 >> #+MACRO: test A {{{test2(inner)}}} macro, $1. >> #+MACRO: html-builder (eval (+ $1 $2)) >> >> >> {{{test(and an outer one)}}} >> >> Some complex macro {{{html-builder(1,2)}}}. > > > out of curiosity I tried to export above snippet. it is working nice except for > new exporter latex option. (org-export-dispatch and d option) You're right. I was protecting dollar signs before replacing arguments. This should be fixed in master. Thank you for the report. Regards, -- Nicolas Goaziou