{"action":"created","issue":{"url":"https://api.github.com/repos/mathjax/MathJax/issues/1266","labels_url":"https://api.github.com/repos/mathjax/MathJax/issues/1266/labels{/name}","comments_url":"https://api.github.com/repos/mathjax/MathJax/issues/1266/comments","events_url":"https://api.github.com/repos/mathjax/MathJax/issues/1266/events","html_url":"https://github.com/mathjax/MathJax/issues/1266","id":106652402,"number":1266,"title":"Render images as MathJax","user":{"login":"thenoncoder","id":8101669,"avatar_url":"https://avatars.githubusercontent.com/u/8101669?v=3","gravatar_id":"","url":"https://api.github.com/users/thenoncoder","html_url":"https://github.com/thenoncoder","followers_url":"https://api.github.com/users/thenoncoder/followers","following_url":"https://api.github.com/users/thenoncoder/following{/other_user}","gists_url":"https://api.github.com/users/thenoncoder/gists{/gist_id}","starred_url":"https://api.github.com/users/thenoncoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thenoncoder/subscriptions","organizations_url":"https://api.github.com/users/thenoncoder/orgs","repos_url":"https://api.github.com/users/thenoncoder/repos","events_url":"https://api.github.com/users/thenoncoder/events{/privacy}","received_events_url":"https://api.github.com/users/thenoncoder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mathjax/MathJax/labels/Expected%20Behavior","name":"Expected Behavior","color":"3463b3"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-15T21:31:10Z","updated_at":"2015-09-17T10:20:39Z","closed_at":null,"body":"My scripting skills aren't that good, so I'm looking for someone to kindly provide a userscript for this.\r\n\r\nI've noticed that websites have latex in the alt text of their maths images, so I thought that it could be possible for someone to make a userscript that converts that latex to MathJax.\r\n\r\nI *really* hate those blurry maths png images, that's why!\r\n\r\nThe advantage of such a userscript is that it would work on virtually almost *all* sorts of websites, instead of having to make a special userscript for every single website.\r\n\r\nThe only thing though is that if the alt text turns out to be *not* latex, then the unserscript should be able to understand that, and not break the page trying to convert an ordinary image into MathJax.\r\n\r\nThanks a lot! :)"},"comment":{"url":"https://api.github.com/repos/mathjax/MathJax/issues/comments/141037080","html_url":"https://github.com/mathjax/MathJax/issues/1266#issuecomment-141037080","issue_url":"https://api.github.com/repos/mathjax/MathJax/issues/1266","id":141037080,"user":{"login":"dpvc","id":432782,"avatar_url":"https://avatars.githubusercontent.com/u/432782?v=3","gravatar_id":"","url":"https://api.github.com/users/dpvc","html_url":"https://github.com/dpvc","followers_url":"https://api.github.com/users/dpvc/followers","following_url":"https://api.github.com/users/dpvc/following{/other_user}","gists_url":"https://api.github.com/users/dpvc/gists{/gist_id}","starred_url":"https://api.github.com/users/dpvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpvc/subscriptions","organizations_url":"https://api.github.com/users/dpvc/orgs","repos_url":"https://api.github.com/users/dpvc/repos","events_url":"https://api.github.com/users/dpvc/events{/privacy}","received_events_url":"https://api.github.com/users/dpvc/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T10:20:39Z","updated_at":"2015-09-17T10:20:39Z","body":"There is also a [Greasemonkey script](http://docs.mathjax.org/en/latest/dynamic.html#mathjax-and-greasemonkey) that does the same sort of thing, but that doesn't use jQuery (I worry about inserting jQuery into an arbitrary page, as it might interfere with the page's own copy of jQuery, especially if it is a different version of jQuery).\r\n\r\nYou could have the script add configuration that sets the zoom scaling to 200.  Adding `MathJax.Hub.Config({menuSettings:zoom:200})` would do it, I think."}}