Rendering LaTeX on third-party websites
Posted
by A. Rex
on Stack Overflow
See other posts from Stack Overflow
or by A. Rex
Published on 2010-04-22T20:28:42Z
Indexed on
2010/04/22
20:33 UTC
Read the original article
Hit count: 446
There are some sites on the web that render LaTeX into some more readable form, such as Wikipedia, some Wordpress blogs, and MathOverflow. They may use images, MathML, jsMath, or something like that.
There are other sites on the web where LaTeX appears inline and is not rendered, such as the arXiv, various math forums, or my email. In fact, it is quite common to see an arXiv paper's abstract with raw LaTeX in it, e.g. this paper.
Is there a plugin available for Firefox, or would it be possible to write one, that renders LaTeX within pages that do not provide a rendering mechanism themselves?
Some notes:
It may be impossible to render some of the code, because authors often copy-paste code directly from their source TeX files, which may contain things like "\cite{foo}" or undefined commands. These should be left alone.
This question is a repost of a question from MathOverflow that was closed for not being related to math.
I program a lot, but Javascript is not my specialty, so comments along the lines of "look at this library" are not particularly helpful to me (but may be to others).
© Stack Overflow or respective owner