Re: [Orgmode] Insert ampersand in HTML export?

2011-02-22 Thread Uriel Avalos
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 Also I found a bug in that version of org-mode. How do I report it or should I r

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-22 Thread Uriel Avalos
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 s

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-18 Thread Bastien
Nick Dokos writes: > #+BIND: org-export-html-protect-char-alist (("&" . "&")) Yes, no quote needed. Thanks Nick for correcting me. -- Bastien ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-17 Thread Nick Dokos
Uriel Avalos wrote: > On Thu, 17 Feb 2011 04:24:58 +0100 > Bastien wrote: > > > Hi uriel, > > > > Uriel Avalos 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: >

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-17 Thread Uriel Avalos
On Thu, 17 Feb 2011 04:24:58 +0100 Bastien wrote: > Hi uriel, > > Uriel Avalos 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

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-16 Thread Bastien
Hi uriel, Uriel Avalos 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 th

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-16 Thread Uriel Avalos
On Mon, 14 Feb 2011 01:04:16 +0100 Bastien wrote: > Uriel Avalos writes: > > > So this new variable is in the bleeding edge version of org-mode? > > Yes it is. > > > Will download and test. Thanks > > Thanks, > > -- > Bastien > > ___ > Emacs-o

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-13 Thread Bastien
Uriel Avalos writes: > So this new variable is in the bleeding edge version of org-mode? Yes it is. > Will download and test. Thanks Thanks, -- Bastien ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgm

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-13 Thread Uriel Avalos
On Sun, 13 Feb 2011 10:10:13 +0100 Bastien wrote: > Hi Uriel, > > Uriel Avalos writes: > > > What about some type of escape character like \&? That way \& is > > exported as & instead of & or \$. Would that work? > > Handling escape characters is quite tricky, I'd better not go that way. > >

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-13 Thread Bastien
Hi Uriel, Uriel Avalos writes: > What about some type of escape character like \&? That way \& is > exported as & instead of & or \$. Would that work? Handling escape characters is quite tricky, I'd better not go that way. > org-export-html-protect-char-alist may work in my case---the MATHML >

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-12 Thread Uriel Avalos
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? > > Fo

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-12 Thread Bastien
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 =...

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-12 Thread Carsten Dominik
Hi Uriel, On Feb 11, 2011, at 5:48 PM, Uriel Avalos wrote: On Fri, 11 Feb 2011 09:34:08 +0100 Carsten Dominik wrote: On Feb 10, 2011, at 9:25 PM, Uriel Avalos wrote: How do you insert the actual & character in an HTML export? I'm trying to write a macro to insert a MATHML snippet but org

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-12 Thread Carsten Dominik
On Feb 12, 2011, at 12:51 PM, Bastien wrote: Uriel Avalos writes: & gets incorrectly converted to & It's what's expected in most cases. 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 =&=

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-12 Thread Bastien
Uriel Avalos writes: > & gets incorrectly converted to & It's what's expected in most cases. But I added a new variable `org-export-html-protect-char-alist' to allow fine tuning of what characters should be HTML proected. You can set this variable per buffer through #+BIND. HTH, -- Bastie

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-11 Thread Uriel Avalos
On Fri, 11 Feb 2011 09:34:08 +0100 Carsten Dominik wrote: > > On Feb 10, 2011, at 9:25 PM, Uriel Avalos wrote: > > > How do you insert the actual & character in an HTML export? > > > > I'm trying to write a macro to insert a MATHML snippet but org-mode > > converts & to &. > > > > How can I p

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-11 Thread Carsten Dominik
On Feb 10, 2011, at 9:25 PM, Uriel Avalos wrote: How do you insert the actual & character in an HTML export? I'm trying to write a macro to insert a MATHML snippet but org-mode converts & to &. How can I prevent that behavior? Hi Uriel, do you really want everyone here to construct thei

[Orgmode] Insert ampersand in HTML export?

2011-02-10 Thread Uriel Avalos
How do you insert the actual & character in an HTML export? I'm trying to write a macro to insert a MATHML snippet but org-mode converts & to &. How can I prevent that behavior? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to