Open chipbrock opened 7 years ago
Hi @chipbrock,
Regarding the \nonumber
: We use KaTeX to display math which currently doesn't support \nonumber
.
Regarding the $
parsing: We require characters at the start and end of the math expressions because otherwise the parsing algorithm could detect false positives like: This should cost between $10 and $20
. Is there any particular reason you need math expressions to end or start with a space?
hi in-line:
On Jul 26, 2017, at 1:45 AM, Antonio Stoilkov notifications@github.com<mailto:notifications@github.com> wrote:
Hi @chipbrockhttps://github.com/chipbrock,
Regarding the \nonumber: We use KaTeXhttps://github.com/Khan/KaTeX to display math which currently doesn't support \nonumber.
That’s unfortunate. KaTeX is fast, but a subset of the more robust MathJax and hence useful for professional physicists and mathematicians. I strongly urge you to include MathJax as an alternative as some apps do… One could pay the modest lag in order to have a more complete math suite.
Regarding the $ parsing: We require characters at the start and end of the math expressions because otherwise the parsing algorithm could detect false positives like: This should cost between $10 and $20. Is there any particular reason you need math expressions to end or start with a space?
Well, most of us who grew up writing in LaTeX fence off our equation environments, like align or aligned with
$$ \begin{align}
etc \end{align} $$
It makes working in the raw “code” easier. It’s also very standard in the tools that I’m aware of and use so not being able to move among them, or even start is a killer. Also I happen to be filtering actual LaTeX to markdown for further processing for the web and none of my math works.
As for escaping $… don’t some do this with \$10 ?
thanks Ray
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/careteditor/caret/issues/452#issuecomment-317963722, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AETlzVQd_i7AG59vkBrrf7V6WczwPYi4ks5sRuBzgaJpZM4Ofyco.
Raymond Brock University Distinguished Professor Department of Physics and Astronomy 3210 BPS Building Michigan State University East Lansing, MI 48824 sent from: raymond.brock@gmail.commailto:raymond.brock@gmail.com brock@pa.msu.edumailto:brock@pa.msu.edu
MSU office: (517)353-1693/884-5579 open fax: (517)355-6661 secure fax: (517)351-0688 Vidyo personal room: http://goo.gl/AgiDJ4 CERN Office: 32 2-B03 * 76-71756
Twitter: @chipbrock Home: http://www.pa.msu.edu/~brock/ ISP220: http://www.pa.msu.edu/courses/ISP220/ ISP213H: http://www.pa.msu.edu/courses/2007spring/ISP213H/ Facebook: http://msu.facebook.com/profile.php?id=2312233
Can you share what software products you have used so far? We could research them so we could see their approaches.
Thanks in advance.
Hi Sure.
Atom, macdown, Typora, and then sometimes just sublime 2 and a browser. Typora is very interesting.
Best Ray
Chip On Jul 28, 2017, at 3:14 AM, Antonio Stoilkov notifications@github.com<mailto:notifications@github.com> wrote:
Can you share what software products you have used so far? We could research them so we could see their approaches.
Thanks in advance.
- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/careteditor/caret/issues/452#issuecomment-318590664, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AETlzQ8rWY1zgmsO4R0rdBdXZKzUO-8Qks5sSZhUgaJpZM4Ofyco.
Hello, is it not possible to make a new line in the math block, e.g., $$ a = 3 \ b =5 $$ ? Whenever there is "\" in the math block, equations do not appear as math.
Hi @noclew,
You could add new lines to block level math. You just have to follow the syntax for block level math:
$$$
a = 3
b = 5
$$$
Regarding "\" - What do you mean by that? I can't replicate this.
On my computer, I don't think I can change the line in the math block. I tried your syntax and "//", which is the latex way, but none worked. Please check the image attached. Am I doing somtehing wrong? I am using caret 3.4.1 on Mac OS 10.12.6
hi I really hope you include MathJax as at least an option. These issues will go away and the added flexibility will support many of us.
On Aug 8, 2017, at 2:42 AM, Antonio Stoilkov notifications@github.com<mailto:notifications@github.com> wrote:
I didn't understand you correctly the first time. Sorry.
What you are currently trying to achieve is not possible. We use KaTeXhttps://github.com/Khan/KaTeX which doesn't have support for new lines. However, there are being discussed and would probably get supported in the future. You could take a look at the discussion herehttps://github.com/Khan/KaTeX/issues/171.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/careteditor/caret/issues/452#issuecomment-320865231, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AETlzTGjvQYs2C1eld4hxfjJWTR5ESXuks5sWANagaJpZM4Ofyco.
Raymond Brock University Distinguished Professor Department of Physics and Astronomy 3210 BPS Building Michigan State University East Lansing, MI 48824 sent from: raymond.brock@gmail.commailto:raymond.brock@gmail.com brock@pa.msu.edumailto:brock@pa.msu.edu
MSU office: (517)353-1693/884-5579 open fax: (517)355-6661 secure fax: (517)351-0688 Vidyo personal room: http://goo.gl/AgiDJ4 CERN Office: 32 2-B03 * 76-71756
Twitter: @chipbrock Home: http://www.pa.msu.edu/~brock/ ISP220: http://www.pa.msu.edu/courses/ISP220/ ISP213H: http://www.pa.msu.edu/courses/2007spring/ISP213H/ Facebook: http://msu.facebook.com/profile.php?id=2312233
Thanks for your feedback. Looking forward to seeing the function will be included soon.
hi again,
The writing experience in Caret is superior to almost all others and I’m really eager to use it.
But without MathJax, I simply cannot.
Are you close to adding this? Can I beta test?
thanks Ray Brock
On Aug 8, 2017, at 7:47 AM, Raymond Brock brock@pa.msu.edu<mailto:brock@pa.msu.edu> wrote:
hi I really hope you include MathJax as at least an option. These issues will go away and the added flexibility will support many of us.
On Aug 8, 2017, at 2:42 AM, Antonio Stoilkov notifications@github.com<mailto:notifications@github.com> wrote:
I didn't understand you correctly the first time. Sorry.
What you are currently trying to achieve is not possible. We use KaTeXhttps://github.com/Khan/KaTeX which doesn't have support for new lines. However, there are being discussed and would probably get supported in the future. You could take a look at the discussion herehttps://github.com/Khan/KaTeX/issues/171.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/careteditor/caret/issues/452#issuecomment-320865231, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AETlzTGjvQYs2C1eld4hxfjJWTR5ESXuks5sWANagaJpZM4Ofyco.
Raymond Brock University Distinguished Professor Department of Physics and Astronomy 3210 BPS Building Michigan State University East Lansing, MI 48824 sent from: raymond.brock@gmail.commailto:raymond.brock@gmail.com brock@pa.msu.edumailto:brock@pa.msu.edu
MSU office: (517)353-1693/884-5579 open fax: (517)355-6661 secure fax: (517)351-0688 Vidyo personal room: http://goo.gl/AgiDJ4 CERN Office: 32 2-B03 * 76-71756
Twitter: @chipbrock Home: http://www.pa.msu.edu/~brock/ ISP220: http://www.pa.msu.edu/courses/ISP220/ ISP213H: http://www.pa.msu.edu/courses/2007spring/ISP213H/ Facebook: http://msu.facebook.com/profile.php?id=2312233
Raymond Brock * University Distinguished Professor Department of Physics and Astronomy Michigan State University Biomedical Physical Sciences 567 WIlson Road, Room 3210 East Lansing, MI 48824 sent from: brock@pa.msu.edumailto:brock@pa.msu.edu
MSU office: (517)353-1693 open fax: (517)355-6661 Vidyo personal room: http://goo.gl/AgiDJ4 CERN Office: 32 2-B03 * 76-71756
Twitter: @chipbrock Home: http://www.pa.msu.edu/~brock/ Facebook: http://msu.facebook.com/profile.php?id=2312233
Yes. We are working on it. Expect MathJax in one of the upcoming beta releases.
Can you estimate the date for this update? I am eager to use Caret, but this new line thing is the only reason that I cannot.
KaTex seems to have its own multi line function. The below code works fine with Caret, at least for me.
$$$ \begin{aligned} a &= 3 \\ b &= 5 \end{aligned} $$$
@waka4g Yes. You are correct. It works.
@noclew Can you use the solution that @waka4g suggested?
Any progress on MathJax implementation? It's been a couple of months since it was promised. thanks.
Hi @chipbrock,
We discovered it is harder to implement MathJax than we thought. This made us think once again if we should switch to MathJax and we decided to suspend the work on integrating MathJax for now. We will gather more information from other users in order to finally decide if we should move to MathJax.
Sorry for the inconvenience.
That’s a shame. Non starter for me without MathJax… Kramdown is non-standard Latex and so I can’t go there.
On Mar 26, 2018, at 12:11 PM, Antonio Stoilkov notifications@github.com<mailto:notifications@github.com> wrote:
Hi @chipbrockhttps://github.com/chipbrock,
We discovered it is harder to implement MathJax than we thought. This made us think once again if we should switch to MathJax and we decided to suspend the work on integrating MathJax for now. We will gather more information from other users in order to finally decide if we should move to MathJax.
Sorry for the inconvenience.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/careteditor/caret/issues/452#issuecomment-376221953, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AETlzZBa5bR3kAQ1brRxjt93jna0a8Tcks5tiRM1gaJpZM4Ofyco.
Raymond Brock * University Distinguished Professor Department of Physics and Astronomy Michigan State University Biomedical Physical Sciences 567 WIlson Road, Room 3210 East Lansing, MI 48824 sent from: brock@pa.msu.edumailto:brock@pa.msu.edu
MSU office: (517)353-1693 open fax: (517)355-6661 Vidyo personal room: http://goo.gl/AgiDJ4 CERN Office: 32 2-B03 * 76-71756
Twitter: @chipbrock Home: http://www.pa.msu.edu/~brock/ Facebook: http://msu.facebook.com/profile.php?id=2312233
Issue 436 had a comment after it was closed:
hi
Version 3.3.1, right?
Thanks. I am still finding some anomalous behavior with math. See the two screen shots…
Inside of display math, “\nonumber” is not processed and the standard "align" environment is not processed. I also found that if I don’t have the $ $ snuggled up against the enclosed equation with no spaces, that it is not rendered.
I don’t have these issues in Atom or Typora…that is, MathJax has no problem with this inherently and these render properly in a browser.
Thanks for responding!
Ray
On Jul 21, 2017, at 7:18 AM, Antonio Stoilkov notifications@github.com<mailto:notifications@github.com> wrote:
Hi Ray,
Latest version of Caret now supports both types of parsing mathematics.
Closing this issue. Thanks for the idea.