GithubHelp home page GithubHelp logo

bhanditz / wiki-mathjax Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bgromov/wiki-mathjax

0.0 1.0 0.0 638 KB

Chrome extension that renders Wikipedia equations with MathJax

License: Other

JavaScript 100.00%

wiki-mathjax's Introduction

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.

wiki-mathjax's People

Contributors

bgromov avatar came88 avatar jordanwade90 avatar pkra avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.