emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: LaTeX in HTML export [8.3.2 (release_8.3.2-380-g64aee4 @ /home/dominik/.emacs.d/org-mode/lisp/)]
Date: Fri, 11 Dec 2015 18:42:50 +0100	[thread overview]
Message-ID: <87mvtgj2zp.fsf@gmx.us> (raw)
In-Reply-To: 87oadx56c1.fsf@gmail.com

Hi Dominik,

Thanks for investigating this further.

Dominik Schrempf <dominik.schrempf@gmail.com> writes:

> thanks for your answer.  I asked the people from MathJax and the problem
> is HTML related. =<i= is interpreted as an HTML tag by the browser.
>
> This behavior is well known and explained in the MathJax
> Documentation.
>
> http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents

Thanks for the link.

> Maybe Org mode HTML export should take this into account, especially
> because =<i= is used quite often?  I understand if this is not feasible.

So you are advocating that Org tries to work around limitations in
html/MathJax?  Is this the *only* known case of mathjax not fully
supporting LaTeX?

It seems easy to fix in org-html-format-latex, but I’m not sure it’s the
right way to go (touching people’s math seems like a bad idea).  Does
e.g. KaTeX have this limitation as well?  Presumably, ’yes’.

Another option is simply documenting this behavior.

I’m not sure what is the right approach is here.

Rasmus

-- 
ツ

      reply	other threads:[~2015-12-11 17:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11 13:45 Bug: LaTeX in HTML export [8.3.2 (release_8.3.2-380-g64aee4 @ /home/dominik/.emacs.d/org-mode/lisp/)] Dominik Schrempf
2015-12-11 14:58 ` Rasmus
2015-12-11 15:54   ` Dominik Schrempf
2015-12-11 17:42     ` Rasmus [this message]

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=87mvtgj2zp.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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).