CodeCogs LaTeX generator is broken => TeX the world is broken

I have had the TeX the World extension for Chrome installed for a while, and I recently noticed that it started generating broken images for even very simple statements like [; q \in X;] (q \in X). First of all, is this displayed as a broken image for everyone else? As far as I can tell, it should be.

If that's the case, then the culprit is not the Chrome plugin but rather http://www.codecogs.com/gif.latex where the extension sends LaTeX for processing. There's an interactive mode here: http://www.codecogs.com/latex/eqneditor.php

So, barring a solution to the problem, do any of you scholars have an alternate way of rendering LaTeX in Chrome? I haven't been able to find a good one.

Posted Dec 15, 2013, 10:44 PM UTC

1010
error792•

At some point I modified the Greasemonkey plugin here to use MathJax instead of TeX the World. I asked the mods to make it the official plugin but don't know if I ever heard back from them. Mine and a few others like it are on userscripts.org

3
amdpoxMODGeometric Analysis•

I've put a link to a similar userscript in the sidebar - was going to do this a month ago but forgot about it. Stuck with just the TTW delimiters for now.

1
Considered_HarmfulOPTopology•

I think I found the answer, and I don't think it's broken for everyone. It seems they're rate limiting me as per their usage policy: http://www.codecogs.com/latex/usage.php

The good news is that any of the equations that were rendered before I hit the limit are cached and are being displayed, along with short equations.

2
[deleted]•

I've got the same issue, is there any long term fix?

2
Considered_HarmfulOPTopology•

Well, not for the TeX the World plugin, likely, because making a server call to render each equation on a page is wrong. Rendering should be a client side operation.

MathJax seems to work quite well. u/error792 made a plugin for Firefox. There is a MathJax for Chrome plugin that kind of works. It only process equations present in the original DOM, though, not anything loaded by other AJAX calls.

I've never made a Chrome extension before, but a quick wrapper around MathJax might be a nice project for the holiday break.

3
kthow•

Is there anything stopping r/math from using mathjax?

2
amdpoxMODGeometric Analysis•

Subreddit customization does not give us the ability to embed javascript, so unfortunately we can't use mathjax in the usual fashion unless reddit itself adds support.

It is, however, possible to enable mathjax for reddit.com yourself via a browser plugin/userscript. I've added a userscript that does just this to the sidebar.

2
johnnymo1Mathematical Physics•

I've been having the issue as well. Not sure why it would be affecting us all at once if it's just rate-limiting specific users.

1
[deleted]•

[deleted]

1
[deleted]•

[deleted]

1
GOD_Over_Djinn•

One day this was happening to me and I noticed that if I double click on the broken image, it turns into LaTeX source code, and if I double click the source code, it turns into a non-broken image.

1
amdpoxMODGeometric Analysis•

I will most likely update the sidebar soon to link to a userscript that uses MathJax instead of codecogs/Google Charts. This should be faster for most users (the exception being slow mobile devices) and more reliable.

Edit: Done.

1