From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Fran=C3=A7ois_Pinard?= Subject: Re: ATTR_HTML for a clickable image, howto? Date: Sat, 19 May 2012 20:39:01 -0400 Message-ID: <86vcjrr8ii.fsf@mercure.progiciels-bpi.ca> References: <86pqbrywgr.fsf@iro.umontreal.ca> <87r4w63602.fsf@gnu.org> <86vclekyqo.fsf@iro.umontreal.ca> <4F7EAED9.2040804@christianmoe.com> <4F803DDC.20808@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVuAs-0005mx-5u for emacs-orgmode@gnu.org; Sat, 19 May 2012 20:39:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVuAq-0008UB-Bk for emacs-orgmode@gnu.org; Sat, 19 May 2012 20:39:05 -0400 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:60554 helo=mercure.progiciels-bpi.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVuAq-0008Tw-5w for emacs-orgmode@gnu.org; Sat, 19 May 2012 20:39:04 -0400 In-Reply-To: <4F803DDC.20808@christianmoe.com> (Christian Moe's message of "Sat, 07 Apr 2012 15:15:08 +0200") 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 Christian Moe writes: > - You can simplify repeated use with macros. See the manual, section=20 > 11.6. Use the @ notation (section 12.5.3) for literal html tags within=20 > the macros. E.g.: > #+MACRO: mycolor @ #f4a460">$1@ > {{{mycolor(Here I'd like some black text on an orange background.)}}} Hi, Christian, and everybody. Just curious... Would the mere need of the comma in a text ruin the idea? Commas are pretty common, aren't they? Can they be quoted? Fran=C3=A7ois P.S. Proper quoting in Org is a bit of a mystery to me. How does one quote one or more =3D within =3D's, or * within *'s, etc.? Backslashes sometimes help, sometimes go through. I never was in control, and whenever I have an unusual need in that area, may feel miserable. :-)