From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: New exporter macro question Date: Mon, 11 Feb 2013 14:45:24 +0100 Message-ID: <25A6F4AE-47C2-4D7E-9C84-3CC890B3937E@gmail.com> References: <8312EEB6-F657-449E-B025-167031ECACAC@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4thV-0003jo-Rk for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 08:45:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4thQ-0001qp-Tv for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 08:45:41 -0500 Received: from mail-wi0-f182.google.com ([209.85.212.182]:44613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4thQ-0001qT-O5 for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 08:45:36 -0500 Received: by mail-wi0-f182.google.com with SMTP id hi18so3112163wib.9 for ; Mon, 11 Feb 2013 05:45:35 -0800 (PST) In-Reply-To: <8312EEB6-F657-449E-B025-167031ECACAC@gmail.com> 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: "emacs-orgmode@gnu.org List" On 11 feb. 2013, at 13:48, Carsten Dominik = wrote: >=20 > Hi, >=20 > I am porting my websites to the new exporter, finally. Much is very = smooth. I do have a problem with macros: >=20 >=20 > * Macro definition >=20 >=20 > #+MACRO: thumbright #+ATTR_HTML: = style=3D"float:right;width:$1;margin:0px 20px 0px 20px;" \n = [[./Content/$2/thumb.jpg]] >=20 >=20 >=20 > * Macro call >=20 > {{{thumbright(300px,Wiskunde)}}} >=20 >=20 >=20 >=20 > * This used to expand to >=20 > >=20 >=20 > * But now it expands to nothing > I am sure I am missing something basic. Thanks! OK, I see, this seems to be because the "\n" is no longer interpreted as = a newline character upon macro expansion, so the entire text ends up in = the ATTR_HTML line and is treated as a comment. Is there a way to get what I meant? Thanks - Carsten=