tea.mathoverflow.net - Discussion Feed (What are our options for getting LaTeX support?) Sun, 04 Nov 2018 13:08:01 -0800 http://mathoverflow.tqft.net/ Lussumo Vanilla 1.1.9 & Feed Publisher jp comments on "What are our options for getting LaTeX support?" (53) http://mathoverflow.tqft.net/discussion/3/what-are-our-options-for-getting-latex-support/?Focus=53#Comment_53 http://mathoverflow.tqft.net/discussion/3/what-are-our-options-for-getting-latex-support/?Focus=53#Comment_53 Tue, 27 Oct 2009 13:23:31 -0700 jp Is there a change to get support for jsMath?

]]>
Andrew Stacey comments on "What are our options for getting LaTeX support?" (11) http://mathoverflow.tqft.net/discussion/3/what-are-our-options-for-getting-latex-support/?Focus=11#Comment_11 http://mathoverflow.tqft.net/discussion/3/what-are-our-options-for-getting-latex-support/?Focus=11#Comment_11 Wed, 21 Oct 2009 11:29:39 -0700 Andrew Stacey Incidentally, you don't actually want - and you won't get - LaTeX support. What you want, and will get, is something that looks enough like LaTeX equations that no-one will complain too much.

]]>
Andrew Stacey comments on "What are our options for getting LaTeX support?" (8) http://mathoverflow.tqft.net/discussion/3/what-are-our-options-for-getting-latex-support/?Focus=8#Comment_8 http://mathoverflow.tqft.net/discussion/3/what-are-our-options-for-getting-latex-support/?Focus=8#Comment_8 Wed, 21 Oct 2009 11:16:17 -0700 Andrew Stacey There are various "flavours" of markdown. There's the original Markdown, this was then extended in PHPMarkdown, and further extended in Maruku. There are probably others with other extensions.

Maruku does allow for mathematical syntax. It does this via plugins which it calls on mathematics script, which is designated as being between single dollars, double dollars, or \[, \]. The current implementation has three plugins: blahtex, itex2mml, and ritex (never actually heard of the last one). Each has a slightly different format for it's input. The n-crowd use itex2mml which produces MathML output.

There are MathML->picture parsers which could convert MathML to pictures (which would then be cached) so that browsers unable to cope with MathML could be sent the pictures instead. That's the route that I would take by preference.

Maruku is written in ruby. I don't know if that's a problem. If it is, it is possible to get itex2mml working under PHP, either natively or by calling an external binary, in which case one could adapt PHPMarkdown to parse mathematics using itex2mml. Again, this could be converted to pictures for browsers without MathML capability.

Basically, it depends on: a) how much control you have, and b) what language you're allowed to use. Do you have any sense of what the answers to those will be?

]]>
Anton Geraschenko comments on "What are our options for getting LaTeX support?" (6) http://mathoverflow.tqft.net/discussion/3/what-are-our-options-for-getting-latex-support/?Focus=6#Comment_6 http://mathoverflow.tqft.net/discussion/3/what-are-our-options-for-getting-latex-support/?Focus=6#Comment_6 Wed, 21 Oct 2009 10:46:54 -0700 Anton Geraschenko Ari Stern tells me

Are you aware of Maruku (http://maruku.rubyforge.org/), which is a markdown interpreter that supports LaTeX?
This is used for math typesetting in Jacques Distler's branch of Instiki (http://golem.ph.utexas.edu/wiki/instiki/show/HomePage), and it works very well.

This looks very good if we decide to go with MathML.

I really like the option of a user preference for LaTeX->image or LaTeX->MathML, but that's probably beyond the horizon at this point.

]]>
Scott Morrison comments on "What are our options for getting LaTeX support?" (3) http://mathoverflow.tqft.net/discussion/3/what-are-our-options-for-getting-latex-support/?Focus=3#Comment_3 http://mathoverflow.tqft.net/discussion/3/what-are-our-options-for-getting-latex-support/?Focus=3#Comment_3 Wed, 21 Oct 2009 10:06:10 -0700 Scott Morrison