emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uriel Avalos <amscopub-mail@yahoo.com>
To: Bastien <bastien.guerry@wikimedia.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Insert ampersand in HTML export?
Date: Tue, 22 Feb 2011 11:21:27 -0500	[thread overview]
Message-ID: <18981.1756521978$1298392056@news.gmane.org> (raw)
In-Reply-To: <87oc69g1cb.fsf@gnu.org>

On Fri, 18 Feb 2011 10:04:52 +0100
Bastien <bastien.guerry@wikimedia.fr> wrote:

> Nick Dokos <nicholas.dokos@hp.com> 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	other threads:[~2011-02-22 16:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20110210152542.26383056amscopub-mail@yahoo.com@dove.localdomain>
2011-02-11  8:34 ` Insert ampersand in HTML export? Carsten Dominik
2011-02-11 16:48   ` Uriel Avalos
     [not found]   ` <20110211114831.2a53a9ffamscopub-mail@yahoo.com@dove.localdomain>
2011-02-12 11:51     ` Bastien
2011-02-12 14:08       ` Carsten Dominik
2011-02-12 15:24         ` Bastien
2011-02-12 20:51           ` Uriel Avalos
     [not found]           ` <20110212155103.16e82a76uriavalos@yahoo.com@dove.localdomain>
2011-02-13  9:10             ` Bastien
2011-02-13 18:53               ` Uriel Avalos
     [not found]               ` <20110213135347.58c0c882uriavalos@yahoo.com@dove.localdomain>
2011-02-14  0:04                 ` Bastien
2011-02-17  2:50                   ` Uriel Avalos
     [not found]                   ` <20110216215007.51a0a126uriavalos@yahoo.com@dove.localdomain>
2011-02-17  3:24                     ` Bastien
2011-02-17 18:41                       ` Uriel Avalos
     [not found]                       ` <20110217134138.059f9051amscopub-mail@yahoo.com@dove.localdomain>
2011-02-17 21:57                         ` Nick Dokos
2011-02-18  9:04                           ` Bastien
2011-02-22 16:21                             ` Uriel Avalos [this message]
2011-02-22 16:28                             ` Uriel Avalos
2011-02-12 14:13     ` Carsten Dominik
2011-02-10 20:25 Uriel Avalos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='18981.1756521978$1298392056@news.gmane.org' \
    --to=amscopub-mail@yahoo.com \
    --cc=bastien.guerry@wikimedia.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).