emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: ASCIIMathML or LaTeXMathML for HTML?
Date: Fri, 29 Jan 2010 11:47:48 +0100	[thread overview]
Message-ID: <4b62bcd5.0c11660a.4cff.ffffb0e8@mx.google.com> (raw)
In-Reply-To: <871vh9wnjv.fsf@columbia.edu>


A good alternative for creating web pages with math is using jsMath [1]. It uses
java script to replace latex notation with symbols in some fonts provided by
it. It works really well after everything is setup and does not suffer the
problem of poor mathML support by some browsers, since its only javascript.

Because the replacements are done only when the web page is viewed the publishing
from org-mode is really fast (you need to tell org-mode not to interpret or
replace any latex syntax in the equations). Also, after google chrome was
released and every browser is increasing javascript speed the replacements when
the web page is viewed in a browser are fast even when there are a lot of
equations.

There is a page in worg [2] that explains how to get jsMath working with
org-mode.

 - Darlan

[1] http://www.math.union.edu/~dpvc/jsMath/
[2] http://orgmode.org/worg/org-tutorials/org-jsmath.php

At Thu, 28 Jan 2010 23:19:16 -0500,
Xiao-Yong Jin <xj2106@columbia.edu> wrote:
> 
> Hi,
> 
> Lately I stumbled upon AsciiDoc[1], which uses
> ASCIIMathML[2] or LaTeXMathML[3] to export math formulae in
> XHTML documents.  Both of these two MathML approaches seem
> very nice to me.  I am not sure if anyone has brought this
> up.  But I see org-mode info says
> 
>        (1) Yes, there is MathML, but that is not yet fully supported by
>     many browsers, and there is no decent converter for turning LaTeX or
>     ASCII representations of formulas into MathML. So for the time being,
>     converting formulas into images seems the way to go.
> 
> Admittedly, not all LaTeX functionality are supported, and
> only Mozilla/Firefox supports MathML fully.  But I think it
> is a decent way to support simple formulae in org-mode for
> people who just want to view their notes in Firefox.
> 
> [1] http://www.methods.co.nz/asciidoc/
> [2] http://www1.chapman.edu/~jipsen/mathml/asciimath.html
> [3] http://www.maths.nottingham.ac.uk/personal/drw/lm.html
> -- 
> J    c/*    __o/*
> X    <\     * (__
> Y    */\      <
> 
> 
> _______________________________________________
> 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

  reply	other threads:[~2010-01-29 10:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29  4:19 ASCIIMathML or LaTeXMathML for HTML? Xiao-Yong Jin
2010-01-29 10:47 ` Darlan Cavalcante Moreira [this message]
2010-01-31 16:31   ` Xiao-Yong Jin
2010-01-31 17:03     ` Carsten Dominik
2010-01-31 21:52       ` Xiao-Yong Jin

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=4b62bcd5.0c11660a.4cff.ffffb0e8@mx.google.com \
    --to=darcamo@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).