From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uriel Avalos Subject: Re: Insert ampersand in HTML export? Date: Sat, 12 Feb 2011 15:51:03 -0500 Message-ID: <39882.7351782986$1297583904@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> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=49368 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoMQt-0005fw-Ox for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 15:51:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PoMQs-0005cx-HW for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 15:51:07 -0500 Received: from smtp105.prem.mail.ac4.yahoo.com ([76.13.13.44]:43019) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PoMQs-0005cE-Ba for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 15:51:06 -0500 In-Reply-To: <871v3dp97c.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: emacs-orgmode@gnu.org On Sat, 12 Feb 2011 16:24:23 +0100 Bastien wrote: > Hi Carsten, > > Carsten Dominik writes: > > >> But I added a new variable `org-export-html-protect-char-alist' > >> to allow fine tuning of what characters should be HTML proected. > > > > Can't we just use =&= or something like this? > > For now =&= will be exported as & > > Do you mean that everything within =...= should not go through > `org-html-protect'? > > And if so, that org-export-html-protect-char-alist might not be > necessary anymore? > > > PS: Well, I thought about this but couldn't solve Uriel's problem > this way... > > -- > Bastien > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode What about some type of escape character like \&? That way \& is exported as & instead of & or \$. Would that work? org-export-html-protect-char-alist may work in my case---the MATHML macros are in a seperate #+SETUPFILE. As long as this variable doesn't "bubble up" i.e., apply to the file that calls #+SETUPFILE, then it will work.