emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Insert ampersand in HTML export?


From: Uriel Avalos
Subject: Re: [Orgmode] Insert ampersand in HTML export?
Date: Tue, 22 Feb 2011 11:21:27 -0500

On Fri, 18 Feb 2011 10:04:52 +0100
Bastien <address@hidden> wrote:

> Nick Dokos <address@hidden> 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}}}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]