Re: [Orgmode] Insert ampersand in HTML export?

2011-02-22 Thread Uriel Avalos
On Fri, 18 Feb 2011 10:04:52 +0100 Bastien bastien.gue...@wikimedia.fr wrote: Nick Dokos nicholas.do...@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

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-22 Thread Uriel Avalos
On Fri, 18 Feb 2011 10:04:52 +0100 Bastien bastien.gue...@wikimedia.fr wrote: Nick Dokos nicholas.do...@hp.com 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

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-18 Thread Bastien
Nick Dokos nicholas.do...@hp.com 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.

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-17 Thread Uriel Avalos
On Thu, 17 Feb 2011 04:24:58 +0100 Bastien bastien.gue...@wikimedia.fr wrote: Hi uriel, Uriel Avalos uriava...@yahoo.com 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:

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-17 Thread Nick Dokos
Uriel Avalos amscopub-m...@yahoo.com wrote: On Thu, 17 Feb 2011 04:24:58 +0100 Bastien bastien.gue...@wikimedia.fr wrote: Hi uriel, Uriel Avalos uriava...@yahoo.com writes: #+BIND: org-export-html-protect-char-alist '( . ) That's telling me I'm using the wrong type

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-16 Thread Uriel Avalos
On Mon, 14 Feb 2011 01:04:16 +0100 Bastien bastien.gue...@wikimedia.fr wrote: Uriel Avalos uriava...@yahoo.com writes: So this new variable is in the bleeding edge version of org-mode? Yes it is. Will download and test. Thanks Thanks, -- Bastien

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-16 Thread Bastien
Hi uriel, Uriel Avalos uriava...@yahoo.com 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

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-13 Thread Bastien
Hi Uriel, Uriel Avalos uriava...@yahoo.com writes: What about some type of escape character like \? That way \ is exported as instead of amp; 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

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-13 Thread Uriel Avalos
On Sun, 13 Feb 2011 10:10:13 +0100 Bastien bastien.gue...@wikimedia.fr wrote: Hi Uriel, Uriel Avalos uriava...@yahoo.com writes: What about some type of escape character like \? That way \ is exported as instead of amp; or \$. Would that work? Handling escape characters is quite

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-13 Thread Bastien
Uriel Avalos uriava...@yahoo.com 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

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-12 Thread Bastien
Uriel Avalos amscopub-m...@yahoo.com writes: gets incorrectly converted to amp; 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

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 amscopub-m...@yahoo.com writes: gets incorrectly converted to amp; 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

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 carsten.domi...@gmail.com 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

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-12 Thread Bastien
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com 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 codeamp;/code Do you

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-12 Thread Uriel Avalos
On Sat, 12 Feb 2011 16:24:23 +0100 Bastien bastien.gue...@wikimedia.fr wrote: Hi Carsten, Carsten Dominik carsten.domi...@gmail.com 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

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 amp;. How can I prevent that behavior? Hi Uriel, do you really want everyone here to construct

Re: [Orgmode] Insert ampersand in HTML export?

2011-02-11 Thread Uriel Avalos
On Fri, 11 Feb 2011 09:34:08 +0100 Carsten Dominik carsten.domi...@gmail.com 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 amp;.

[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 amp;. How can I prevent that behavior? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies