Yeah, sorry, we are currently importing your post directly as HTML. We don’t do code-injection, we figure out what the right HTML for displaying the LaTeX is server-side, and then store that directly in the HTML for the post.
The reason why it isn’t working out of the box is that we don’t support single-dollar-sign delimiters for LaTeX in HTML, because they have too many false-positives with people just trying to use dollar signs in normal contexts. Everything would actually work out by default if you used the MathJax \( and \) delimiters instead, which are much less ambiguous.
I will convert this one manually for now, not sure what the best way moving forward is. Maybe there is a way you can configure your blog to use the \( and \) delimiters instead, or maybe we can adjust our script to get better at detecting when people want to use the single-dollar-delimiter for MathJax purposes, versus other purposes.
I just did some tests… it works if you go to settings and click “Activate Markdown Editor”. Then convert to Markdown and re-save (note, you may want to back up before this, there’s a chance footnotes and stuff could get messed up).
$stuff$ for inline math and double dollar signs for single line math work when in Markdown mode. When using the normal editor, inline math doesn’t work, but $$ works (but puts the equation on a new line).
@Mods: Looks like the LaTeX isn’t rendering. I’m not sure what the right way to do that is on LessWrong. On my website, I do it with code injection. You can see the result here, where the LaTeX all renders in MathJax: https://bounded-regret.ghost.io/ml-systems-will-have-weird-failure-modes-2/
Yeah, sorry, we are currently importing your post directly as HTML. We don’t do code-injection, we figure out what the right HTML for displaying the LaTeX is server-side, and then store that directly in the HTML for the post.
The reason why it isn’t working out of the box is that we don’t support single-dollar-sign delimiters for LaTeX in HTML, because they have too many false-positives with people just trying to use dollar signs in normal contexts. Everything would actually work out by default if you used the MathJax
\(
and\)
delimiters instead, which are much less ambiguous.I will convert this one manually for now, not sure what the best way moving forward is. Maybe there is a way you can configure your blog to use the
\(
and\)
delimiters instead, or maybe we can adjust our script to get better at detecting when people want to use the single-dollar-delimiter for MathJax purposes, versus other purposes.I think latex renders if you’re using the markdown editor, but if you’re using the other editor then it only works if you use the equation editor.
I just did some tests… it works if you go to settings and click “Activate Markdown Editor”. Then convert to Markdown and re-save (note, you may want to back up before this, there’s a chance footnotes and stuff could get messed up).
$stuff$ for inline math and double dollar signs for single line math work when in Markdown mode. When using the normal editor, inline math doesn’t work, but $$ works (but puts the equation on a new line).