From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uriel Avalos Subject: Re: Insert ampersand in HTML export? Date: Tue, 22 Feb 2011 11:21:27 -0500 Message-ID: <18981.1756521978$1298392056@news.gmane.org> References: <20110210152542.26383056amscopub-mail@yahoo.com@dove.localdomain> <20110211114831.2a53a9ffamscopub-mail@yahoo.com@dove.localdomain> <874o89tmwf.fsf@altern.org> <8623B408-3E2C-4BC2-BF7B-179A7C295A17@gmail.com> <871v3dp97c.fsf@gnu.org> <20110212155103.16e82a76uriavalos@yahoo.com@dove.localdomain> <87aai0pafe.fsf@gnu.org> <20110213135347.58c0c882uriavalos@yahoo.com@dove.localdomain> <8762snjvzi.fsf@altern.org> <20110216215007.51a0a126uriavalos@yahoo.com@dove.localdomain> <8762sjpcl1.fsf@gnu.org> <20110217134138.059f9051amscopub-mail@yahoo.com@dove.localdomain> <4079.1297979862@alphaville> <87oc69g1cb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=33202 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pruzb-000730-Lw for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 11:21:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pruza-00023Z-Fn for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 11:21:39 -0500 Received: from smtp110.prem.mail.sp1.yahoo.com ([98.136.44.55]:30059) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Pruza-000237-9B for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 11:21:38 -0500 In-Reply-To: <87oc69g1cb.fsf@gnu.org> 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: Bastien Cc: emacs-orgmode@gnu.org On Fri, 18 Feb 2011 10:04:52 +0100 Bastien wrote: > Nick Dokos writes: > > > #+BIND: org-export-html-protect-char-alist (("&" . "&")) > > Yes, no quote needed. Thanks Nick for correcting me. > > -- > Bastien OK, finally tried it out. Unfortunately, while the variable works, it doesn't stay local---if you include the file in SETUPFILE, the variable also applies to that file. Is there a way to make sure that variable stays local? Ex: macro.org #+BIND: org-export-html-protect-char-alist (("&" . "&")) #+MACRO: test & should stay as is macro-import.org ##+SETUPFILE: macro.org * Hello World This & should receive the amp treatment. But doesn't. {{{test}}}