Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

436 comments - $$ math reply #452

Open
chipbrock opened this issue Jul 21, 2017 · 18 comments
Open

436 comments - $$ math reply #452

chipbrock opened this issue Jul 21, 2017 · 18 comments

Comments

@chipbrock
Copy link

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

pastedgraphic-1
pastedgraphic-2

On Jul 21, 2017, at 7:18 AM, Antonio Stoilkov <notifications@github.commailto:notifications@github.com> wrote:

Hi Ray,

Latest version of Caret now supports both types of parsing mathematics.

Closing this issue. Thanks for the idea.

@astoilkov
Copy link
Contributor

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?

@chipbrock
Copy link
Author

chipbrock commented Jul 28, 2017 via email

@astoilkov
Copy link
Contributor

Can you share what software products you have used so far? We could research them so we could see their approaches.

Thanks in advance.

@chipbrock
Copy link
Author

chipbrock commented Jul 28, 2017 via email

@noclew
Copy link

noclew commented Aug 6, 2017

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.

@astoilkov
Copy link
Contributor

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.

@noclew
Copy link

noclew commented Aug 7, 2017

screenshot 2017-08-07 15 46 48

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

@astoilkov
Copy link
Contributor

I didn't understand you correctly the first time. Sorry.

What you are currently trying to achieve is not possible. We use 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 here.

@chipbrock
Copy link
Author

chipbrock commented Aug 8, 2017 via email

@noclew
Copy link

noclew commented Aug 8, 2017

Thanks for your feedback. Looking forward to seeing the function will be included soon.

@chipbrock
Copy link
Author

chipbrock commented Jan 27, 2018 via email

@astoilkov
Copy link
Contributor

Yes. We are working on it. Expect MathJax in one of the upcoming beta releases.

@noclew
Copy link

noclew commented Feb 27, 2018

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.

@waka4g
Copy link

waka4g commented Mar 5, 2018

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} $$$

@astoilkov
Copy link
Contributor

@waka4g Yes. You are correct. It works.

@noclew Can you use the solution that @waka4g suggested?

@chipbrock
Copy link
Author

Any progress on MathJax implementation? It's been a couple of months since it was promised. thanks.

@astoilkov
Copy link
Contributor

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.

@chipbrock
Copy link
Author

chipbrock commented Mar 26, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants