/wiki-mathjax

Chrome extension that renders Wikipedia equations with MathJax

Primary LanguageJavaScriptOtherNOASSERTION

Wikipedia with MathJax (Chrome extesion)

Extension replaces Wikipedia bitmap equations with HTML-CSS ones by re-rendering them with an open source MathJax library. In effect, this allows to scale Wikipedia pages without loosing in equation quality.

Left-Click on equation to instantly zoom it to 200% (can be changed via MathJax menu).

Right-Click on equation to show MathJax's context menu with additional options, e.g. "Scale All Math..." to instantly scale all equations on a page, "TeX commands" to see the source TeX equation etc.

Extension is now published under New BSD License with the source code available here.

For bug reports and feature requests, please use Issue tracker.

INSTALLATION:

Official release available at Chrome Web Store.

UPDATES:

v.0.0.13:

  • Change MathJax CDN to CDNJS (Thanks to Lorenzo Cameroni and Peter Krautzberger).

v.0.0.12:

  • Add support for chemical equations (Thanks to Jordan Wade).

v.0.0.11:

Improvements and bug fixes (Thanks to Lorenzo Cameroni):

  • Adapt to recent Wikimedia math engine changes.

  • Improve work-around for unbalanced braces bug on Wikiwand.

  • Add missed symbols to MathJax config.

v.0.0.10:

  • Finally fix the problem with descriptive annotations for equations (some equations have textual descriptions instead of TeX code, perhaps for accessibility reasons). Now the math is loaded from corresponding source pages (edit pages).

  • Update jQuery to v1.12.3. Extension seems to work a bit better with Wikiwand now.

v.0.0.9:

  • Add support for Wikiwand (wikiwand.com). Quick and hackish implementation, that tries to fix broken equations on Wikiwand pages.

v.0.0.8:

  • Add support for WikiBooks (wikibooks.org).

v.0.0.7:

  • Extension now uses official Wikimedia MathJax config. Still, there are some glitches, so the local copy is used for now.

v.0.0.6:

  • Fix MathJax CDN URL (Thanks to Thomas Kriechbaumer).

v.0.0.5:

  • Add MathJax Preview feature. For smoother user experience original images replaced only after MathJax typesetting is ready (Thanks to Peter Krautzberger).

  • Fix: by default MathJax using different from LaTeX \color macro. That makes certain equations unable to render (for example, see Extended Kalman Filter). The problem is solved by MathJax' color extension.

v.0.0.4:

  • Fix the fix: extension now works on secured (https) version of Wikipedia.

v.0.0.3:

  • Fix: extension now works on secured (https) version of Wikipedia.

v.0.0.2:

  • Now supports some non-standard LaTeX commands specific to Wikipedia markup language.

  • Inline equations are scaled down to 100% (previously were same as display equations, i.e. 125%).

KNOWN ISSUES:

  • Some symbols may not render properly (instead, formula source is shown in red) if you are logged in to Wikipedia and the math rendering option is not set to 'LaTeX'. See issue #20 for details (Thanks to Florian Pfaff).

  • Symbols which are not a part of display equation, i.e. not typed in between ..., but right after it, will be displayed from the next line. This is along with LaTeX markup rules and won't be fixed.

  • (Fixed) Fraction bar is oversized on scaled pages in recent versions of Chrome (e.g. 21.0.1180.75), this is a bug in MathJax/Chrome and not related to extension. See this.