emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uriel Avalos <uriavalos@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: Insert ampersand in HTML export?
Date: Sat, 12 Feb 2011 15:51:03 -0500	[thread overview]
Message-ID: <39882.7351782986$1297583904@news.gmane.org> (raw)
In-Reply-To: <871v3dp97c.fsf@gnu.org>

On Sat, 12 Feb 2011 16:24:23 +0100
Bastien <bastien.guerry@wikimedia.fr> wrote:

> Hi Carsten,
> 
> Carsten Dominik <carsten.dominik@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 <code>&amp;</code>
> 
> Do you mean that everything within =...= should not go through
> `org-html-protect'?
> 
> And if so, that org-export-html-protect-char-alist might not be
> necessary anymore?
> 
> 
> PS: Well, I thought about this but couldn't solve Uriel's problem 
> this way...
> 
> -- 
>  Bastien
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

What about some type of escape character like \&? That way \& is
exported as & instead of &amp; or \$. Would that work?

org-export-html-protect-char-alist may work in my case---the MATHML
macros are in a seperate #+SETUPFILE. As long as this variable doesn't
"bubble up" i.e., apply to the file that calls #+SETUPFILE, then it
will work.

  reply	other threads:[~2011-02-12 20:51 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 [this message]
     [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
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='39882.7351782986$1297583904@news.gmane.org' \
    --to=uriavalos@yahoo.com \
    --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).