ASCIIMathML http://www1.chapman.edu/~jipsen/mathml/asciimath.html might also be an alternative, for that you need fonts on the client (Firefox, I don't think IE supports MathML out of the box), and it uses MathML so it is standard compliant.

Regards
Chris.


On 4 August 2010 06:24, Bastien <bastien.guerry@wikimedia.fr> wrote:
Hi Dan,

Dan Davison <davison@stats.ox.ac.uk> writes:

> It's quite convenient already (see below), so what exactly would the
> option involve?  Can the javascript and fonts be located remotely?

From what I understand, no, the javascript and fonts have to be on the
server.

I just installed an instance on orgmode.org:

 http://orgmode.org/mathjax/test/

> - Darlan Cavalcante has written a Worg article[1] on using jsMath with
>   org
> - Basically, to use jsMath all you need is
>
>   #+options: latex:verbatim
>   #+style: <script src="/path/to/jsMath/easy/load.js"></script>

Great!  So to use mathjax on orgmode.org (Worg etc.) :

 #+options: latex:verbatim
 #+style: <script type="text/javascript" src="/mathjax/MathJax.js"></script>

> - Mathjax was considerably slower to render the maths. (I think that
>   under the hood it converts to mathML which jsMath does not do (?))

I'm not sure.  Maybe MathJax is faster once reasonably tweaked.

> As I said the other day[2], one reason I am excited about these
> technologies is that we can produce a pdf with pretty source code
> fontification via htmlize (rather than ugly[3] latex listings output)
> and genuine mathematical fonts rather than ugly dvipng images. I do this
> via CUPS print to file under linux, which allows the web browser to
> produce a .ps or .pdf. I'd be interested to know how we can make this a
> more "genuine" org export path.

You mean org -> HTML -> ps?

Is it not possible to call firefox (or Xulrunner) in batch mode to
convert an HTML page into .ps?

If so, we can have two ways of producing org->pdf, one through LaTeX,
one through HTML...

--
 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



--
Postdoctoral Research Fellow
Molecular Imaging Group
Leibniz-Institut für Molekulare Pharmakologie (FMP)
Campus Berlin-Buch
Robert-Roessle-Str. 10
13125 Berlin, Germany
Phone: 00493094793-279