# Do we really want LaTeX/MathJax (right now)?

Update: The decision has been made to deactivate MathJax on the site. This does not reflect the current votes, as these changed significantly after the decision was made.

We've had MathJax support for 3 days now. While it makes our maths challenges look neat, it has also created two problems:

Especially the latter is a fairly big deal around here. So far, only a few questions have adopted MathJax, and these could still be reverted. However, if we wait any longer, too much content on this site will rely on MathJax to be able to revert MathJax support.

Chris has asked me to get a new community consensus on whether we want to keep MathJax. Apparently, fixing the above issues is not a priority (although it might happen some day).

Do we want MathJax to be deactivated until these issues are fixed?

• Note: We might also be able to get away with changing the delimiter instead (ex. using $foo$ instead of $foo$, and similarly $ instead of ), which would give us MathJax and unbroken code blocks for the most part (how often are you going to have $ happen twice in one code block?). The only reason I'm not posting this as an answer is that I still haven't Done the Science™ on a site with $ as their delimiter to make sure that this would actually fix the problem. Apr 10, 2015 at 12:56 • Is there any way to disable it for a certain post? For example, <killjax> in the post body? If so, that would help a lot. I don't have much problem with the search result issue, but snippets and code blocks should probably work right. Alternatively, a tag that enables it on a post, and have it skip others by default. Apr 10, 2015 at 13:00 • @Geobits We are talking about fixes that do not require any code changes. Enabling MathJax is just a per-site setting change; the code that enables/disables it is already there. And similarly (I believe) with the delimiters. But adding support for metatags, that's a whole different thing. Apr 10, 2015 at 13:14 • @ChrisJester-Young I figured that would be the case, but was mainly curious if there was any hidden feature/tag already to do it. Apr 10, 2015 at 13:17 • How about just using <mathjax>, <mj>, or [itex] like we do for strikethroughs? Apr 10, 2015 at 17:32 • @Doorknob /$/ might be popular in string-matching challenges.
– Neil
Jun 30, 2016 at 12:15

# Yes, deactivate MathJax until these issues are fixed

• As much as I really, really wanted MathJax and was excited when it finally happened, in the end it is just icing on the cake, and not truly necessary to the site. Not having broken searches and code blocks, unfortunately, should take precedence. Apr 10, 2015 at 12:49
• This answer should not be accepted, currently. Apr 12, 2015 at 22:12
• @isaacg The decision has been made (and action been taken) two days ago, when the votes on all answers were pretty much tied, so we mods decided we had to make a call. Unfortunately, we can't stop people from voting after the action has already been taken. Maybe we should have waited a few more days before making a decision, but the purpose of a quick decision was to avoid more people using MathJax before the relevant posts grew too many to be reverted any longer. Apr 13, 2015 at 10:28

# No, keep MathJax

• I just changed all my challenges over :( Apr 10, 2015 at 18:21
• @JoeZ. I'm aware of that, and if we do revert this, I'll gladly help you revert the changes. Apr 10, 2015 at 18:43
• oh, -1 from me btw (can't vote) Apr 11, 2015 at 15:47

# Keep MathJax, but change the delimiters

From my comment:

Note: We might also be able to get away with changing the delimiter instead (ex. using $foo$ instead of $foo$, and similarly $ instead of ), which would give us MathJax and unbroken code blocks for the most part (how often are you going to have $ happen twice in one code block?). The only reason I'm not posting this as an answer is that I still haven't Done the Science™ on a site with $ as their delimiter to make sure that this would actually fix the problem. So I tried it: Looks perfect. My suggestion: change the delimiters from  to $, and  to $. Update: Customising the display mode delimiters  is not currently possible. (See Chris's comment.) • Alas, only the  can be customised, the  does not currently have a site setting. Apr 10, 2015 at 15:48 • I'd say this is still not "perfect". Ideally, nothing in code blocks (block or inline) would have anything to do with MathJax. Changing  to $ mitigates the problem but doesn't solve it. Apr 10, 2015 at 20:11
• -1 from me. If we do this I think getting a proper fix will be such low priority we'll never see it.
– orlp
Apr 11, 2015 at 18:32