emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: html-encode in mathjax latex fragments
Date: Sun, 29 Jun 2014 23:12:42 -0400	[thread overview]
Message-ID: <878uofm6ol.fsf@gmail.com> (raw)
In-Reply-To: 87zjgvv6q5.fsf@nicolasgoaziou.fr

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Eric Schulte <schulte.eric@gmail.com> writes:
>
>> I noticed equations with "<"'s weren't displaying correctly in HTML
>> export using mathjax.  The attached patch fixes this by html-encoding
>> latex fragments for mathjax HTML export.  I imagine this change would be
>> generally useful and could be applied to master.
>
> I am a bit puzzled. I just tried exporting the following buffer:
>
>   \(1 < 2\)
>
> and the result looked good. Could you provide an example of a failed
> export?
>
>

See 

   http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents

for some gotchas.

-- 
Nick

  reply	other threads:[~2014-06-30  3:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-29 18:41 html-encode in mathjax latex fragments Eric Schulte
2014-06-29 19:46 ` Nicolas Goaziou
2014-06-30  3:12   ` Nick Dokos [this message]
2014-06-30  9:47     ` Eric Schulte
2014-06-30 10:54       ` Nicolas Goaziou
2014-07-01 14:08         ` Rick Frankel
2014-07-27 17:56           ` Bastien
2014-06-30 10:55     ` Nicolas Goaziou

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=878uofm6ol.fsf@gmail.com \
    --to=ndokos@gmail.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).