[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Insert ampersand in HTML export?
From: |
Nick Dokos |
Subject: |
Re: [Orgmode] Insert ampersand in HTML export? |
Date: |
Thu, 17 Feb 2011 16:57:42 -0500 |
Uriel Avalos <address@hidden> wrote:
> On Thu, 17 Feb 2011 04:24:58 +0100
> Bastien <address@hidden> wrote:
>
> > Hi uriel,
> >
> > Uriel Avalos <address@hidden> writes:
> >
> > > #+BIND: org-export-html-protect-char-alist '("&" . "&")
> > >
> > > That's telling me I'm using the "wrong type argument: listp, quote"
> >
> > It must be this:
> >
> > #+BIND: org-export-html-protect-char-alist '(("&" . "&"))
> >
> > The "-alist" suffix means it should be an alist -- see the Info node for
> > Association lists in the Elisp manual.
> >
> > --
> > Bastien
> >
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Please use `Reply All' to send replies to the list.
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> Nope. It still doesn't work. This is my test file:
>
> #+BIND: org-export-html-protect-char-alist '(("&" . "&"))
> #+MACRO test & should stay as is
>
> Hello world &
>
> I get the same error when I try to export: "wrong type argument: listp, quote"
>
[Sent a terser reply earlier, but it never made it to the list: mail
problem on my end.]
Lose the quote (that will cure the emacs error) and add a header: the
<title> element in HTML still gets the & treatment:
--8<---------------cut here---------------start------------->8---
#+BIND: org-export-html-protect-char-alist (("&" . "&"))
#+MACRO test & should stay as is
* foo & bar
Hello world &
--8<---------------cut here---------------end--------------->8---
Nick
- Re: [Orgmode] Insert ampersand in HTML export?, (continued)
- Re: [Orgmode] Insert ampersand in HTML export?, Bastien, 2011/02/12
- Re: [Orgmode] Insert ampersand in HTML export?, Carsten Dominik, 2011/02/12
- Re: [Orgmode] Insert ampersand in HTML export?, Bastien, 2011/02/12
- Re: [Orgmode] Insert ampersand in HTML export?, Uriel Avalos, 2011/02/13
- Re: [Orgmode] Insert ampersand in HTML export?, Bastien, 2011/02/13
- Re: [Orgmode] Insert ampersand in HTML export?, Uriel Avalos, 2011/02/13
- Re: [Orgmode] Insert ampersand in HTML export?, Bastien, 2011/02/13
- Re: [Orgmode] Insert ampersand in HTML export?, Uriel Avalos, 2011/02/16
- Re: [Orgmode] Insert ampersand in HTML export?, Bastien, 2011/02/16
- Re: [Orgmode] Insert ampersand in HTML export?, Uriel Avalos, 2011/02/17
- Re: [Orgmode] Insert ampersand in HTML export?,
Nick Dokos <=
- Re: [Orgmode] Insert ampersand in HTML export?, Bastien, 2011/02/18
- Re: [Orgmode] Insert ampersand in HTML export?, Uriel Avalos, 2011/02/22
- Re: [Orgmode] Insert ampersand in HTML export?, Uriel Avalos, 2011/02/22
- Re: [Orgmode] Insert ampersand in HTML export?, Carsten Dominik, 2011/02/12