12
$\begingroup$

Here is an example. Is there an automatic way for moderators to fix what I imagine are many answers that somehow now display funny, or should we do it manually, one by one?

If the latter, people could use this question to list the answers that need attention (if they rather don't edit them themselves).

$\endgroup$
4

3 Answers 3

7
$\begingroup$

I suspect if we can concoct some regular expressions that catch common sources of LaTeX problems we may be able to get some automatic replacements run on the database.

I'm guessing this is our back-ticking habit coming back to haunt us, now that the interaction of markdown and MathJax has changed slightly.

$\endgroup$
3
  • 4
    $\begingroup$ Ah, that must be, of course! I'll wait then before going through hundreds of answers, despairing, and trying to edit them one-by-one by hand. $\endgroup$ Jun 25, 2013 at 5:04
  • 4
    $\begingroup$ I have removed a majority of the backticks that exists in posts. If you do fine a pattern in the anomalies I'll be happy to fix them up without you having to do any work. $\endgroup$ Jun 25, 2013 at 19:27
  • 1
    $\begingroup$ Thanks, @GeoffDalgas ! $\endgroup$ Jun 26, 2013 at 0:39
2
$\begingroup$

My post at Symmetric subspace of linear operators is broken. Worse yet, I am unable to fix it because (apparently) backticking formulae just makes their LaTeX code verbatim rather than disabling markup. When I try to edit my post, the preview loads fine, but the post itself doesn't!!

$\endgroup$
7
  • 1
    $\begingroup$ I have fixed your post by adding whitespace at the bottom of the post and saving. I'll look at why this happened. $\endgroup$ Jun 25, 2013 at 19:37
  • 2
    $\begingroup$ To follow up - backticks are no longer required for mathjax formulas. $\endgroup$ Jun 25, 2013 at 19:38
  • $\begingroup$ Oh! Was the markup being cached? $\endgroup$ Jun 25, 2013 at 20:03
  • $\begingroup$ @GeoffDalgas OK, it seems that a lot of \{ \} in between $ signs have been replaced with { } and are therefore invisible when compiled. For example, here (the display formula for $\Delta_2$), and here (the definition of $\mathbb T$). $\endgroup$ Jun 26, 2013 at 0:50
  • $\begingroup$ @Geoff: Any update on the white space situation, and why the posts look fine in the previews, but then render incorrectly? $\endgroup$ Jun 26, 2013 at 2:37
  • $\begingroup$ I'm failing to see what you mean - here is what I see: i.stack.imgur.com/wy5Lb.png $\endgroup$ Jun 26, 2013 at 2:55
  • $\begingroup$ @GeoffDalgas Compare line 3 in the actual post (left) with line 3 in the preview (right). After the $\mathbb T=$ on the left there is a $z$, while on the preview on the right there is a $\{z$. Same with the $\}$: It appears on the preview and not on the actual post. (Strange, though: I was sure when I looked at the source earlier, there was only { rather than \{, etc, and I reported accordingly. It appears I was mistaken. Sorry about the confusion.) $\endgroup$ Jun 26, 2013 at 7:11
1
$\begingroup$

Two of my questions (1, 2) are not displaying properly, but they were before the upgrade. Furthermore, when I go to edit the posts, they display correctly.

$\endgroup$
3
  • $\begingroup$ I fixed 2 and 1 is pending peer review. I put {} around the subscripts. $\endgroup$ Jun 26, 2013 at 19:21
  • $\begingroup$ Thank you very much. I think the answer to the second question needs an edit as well. $\endgroup$ Jun 27, 2013 at 3:20
  • $\begingroup$ Fixed the array syntax in the answer. Changed \\` to \cr`. $\endgroup$ Jun 27, 2013 at 4:11

Not the answer you're looking for? Browse other questions tagged .