tea.mathoverflow.net - Discussion Feed (What are our options for getting LaTeX support?) 2018-11-04T13:08:01-08:00 http://mathoverflow.tqft.net/ Lussumo Vanilla & 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 2009-10-27T13:23:31-07:00 2018-11-04T13:08:01-08:00 jp http://mathoverflow.tqft.net/account/20/ Is there a change to get support for jsMath? 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 2009-10-21T11:29:39-07:00 2018-11-04T13:08:01-08:00 Andrew Stacey http://mathoverflow.tqft.net/account/4/ 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. 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 2009-10-21T11:16:17-07:00 2018-11-04T13:08:01-08:00 Andrew Stacey http://mathoverflow.tqft.net/account/4/ 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 ... 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 2009-10-21T10:46:54-07:00 2018-11-04T13:08:01-08:00 Anton Geraschenko http://mathoverflow.tqft.net/account/2/ 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 ... 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 2009-10-21T10:06:10-07:00 2018-11-04T13:08:01-08:00 Scott Morrison http://mathoverflow.tqft.net/account/3/ I think the main candidate is to hope that once StackExchange is out of beta, FogCreek allows us to add plugins to the MarkDown engine. If we can do that, it should be easy to render LaTeX by using a ...