tag:support.markedapp.com,2011-09-11:/discussions/problems/109354-word-count-not-updating-after-a-document-is-first-openedMarked: Discussion 2018-05-21T22:44:56Ztag:support.markedapp.com,2011-09-11:Comment/389612792016-01-19T23:58:18Z2016-01-19T23:58:18ZWord Count Not Updating After A Document is First Opened<div><p>Are you on the MAS or direct version, and what Marked version
number are<br>
you running? This was an issue in a recent version, but should be
solved<br>
now. Unfortunately there's been a hang in getting the MAS
version<br>
updated to 2.5.3, so if you have that one, it may be an issue that
will<br>
be fixed as soon as I can squash a difficult-but-unrelated bug.</p>
<p>Also, MMD works fine with MathJax, you just need to double
escape the<br>
brackets around equations, or add a configuration that recognizes
single<br>
and double $… Let me know what issues you're running into in
that<br>
area, I can try to help.</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/389612792016-01-20T00:17:24Z2018-05-21T22:44:56ZWord Count Not Updating After A Document is First Opened<div><p>It's MAS version 2.5.2. So I'll just play the waiting game on that, thanks!</p>
<p>Ahh, the double escaping seems to do it! I'm not actually too familiar with MathJax, just LaTeX, so I got the need to use the brackets instead of the dollar signs, but I missed the double escape. I think it's just a matter of playing to see where the differences are compared to when I would write everything exclusively in LaTeX. I'm definitely excited to replace \textit{X} with <em>X</em>! :D</p>
<p>I'm still encountering a few instances where the MathJax processor is pickier than the standard LaTeX processor. E.g. in your example code at the bottom of <a href="http://marked2app.com/help/MathJax.html">http://marked2app.com/help/MathJax.html</a>, it doesn't seem to be happy with the spaces between the leading and trailing $$ and the equation, but only when using the MMD processor. Discount doesn't care whether there is a space padding the equation (As an aside, i think you're missing a '\f' from the '\frac' in the last line of that bit of LaTeX on that documentation page).</p>
<p>Connor</p></div>connortag:support.markedapp.com,2011-09-11:Comment/389612792016-01-20T00:59:36Z2016-01-20T00:59:36ZWord Count Not Updating After A Document is First Opened<div><p>Thanks for the documentation pointers. To be honest I don't have
a clue about any of the LaTeX stuff. Just enough to get other
people's code rendering.</p>
<p>And yes, spaces matter for inline equations in mmd. Not sure
offhand how Discount treats them, but mmd uses the same rules as
would apply to italics/bold or link markup, meaning only recognized
if there are adjacent non-whitespace characters.</p>
<p>Thanks,</p>
<p>Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/389612792016-01-20T01:08:29Z2018-05-21T22:44:56ZWord Count Not Updating After A Document is First Opened<div><p>Ah, okay. Sounds good. Thanks for including it; it's definitely a step up for me from writing entirely in LaTeX in a LaTeX IDE. If you want any help with the LaTeX bits, either testing or documentation, let me know! It's a big help for me, and I'd be happy to be involved to make it better!</p>
<p>Hope you're enjoying your cold cold winter :)</p>
<p>Cheers,</p>
<p>Connor</p></div>connor