From: Christian Moe <mail@christianmoe.com>
To: emacs-orgmode@gnu.org
Subject: Verbatim LaTeX inside delimiters in HTML export with jsMath?
Date: Thu, 17 Jun 2010 09:23:41 +0200 [thread overview]
Message-ID: <4C19CD7D.7050409@christianmoe.com> (raw)
In-Reply-To: <520586D5-F7A3-49DB-ACA8-A7542D1EAE06@gmail.com>
Hi,
To display LaTeX math in Org html export with lovely jsMath, it must be
exported verbatim with
#+OPTIONS: ^:nil TeX:nil
so one cannot use lazy superscripts/subscripts or Org entities in the
rest of the text.
Is there a simple way to turn these options on, but protect LaTeX where
it appears *inside math delimiters* so it's exported verbatim? I.e.
inside $...$, $$...$$, \( ... \), \[ ... \], \begin ... \end ?
I ask because I'm keeping a note file with much text and only a few
equations, but with frequent reference to e.g. CO_2 and m^2. It's
possible to always write $CO_2$ and $m^2$, but less readable, and
irksome when you've got used to an easier way. An inline formula can be
protected by surrounding it with verbatim markup, =$...$=, but then it's
only good for jsMath, not for LaTeX export.
Yours,
Christian
next prev parent reply other threads:[~2010-06-17 7:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-05 0:21 Prevent Org timestamps breaking with paragraph fill? Jeff Kowalczyk
2010-05-14 7:18 ` Carsten Dominik
2010-06-17 7:23 ` Christian Moe [this message]
2010-06-18 7:25 ` Verbatim LaTeX inside delimiters in HTML export with jsMath? Carsten Dominik
2010-06-18 10:58 ` Christian Moe
2010-06-25 10:06 ` Carsten Dominik
2010-07-01 7:18 ` Christian Moe
2010-07-01 8:32 ` Carsten Dominik
2010-07-01 22:22 ` Christian Moe
2010-07-02 2:43 ` Carsten Dominik
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C19CD7D.7050409@christianmoe.com \
--to=mail@christianmoe.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.