-
Notifications
You must be signed in to change notification settings - Fork 51
Maths Plugin Improvement Suggestion #5
Comments
👍 we're happy to help with any MathJax and MathJax-node questions. |
Since commit eafa018 disabled inline math, I'm wondering how I can use inline math if there's a need? Now my inline formulas don't render any more... |
I think right now double dollar signs e.g. Escaping the TeX notation still works though, although it's not parsed by kramed: However, that means that you will have to escape a lot of characters in your maths formulae, like ampersands, slashes, etc. and you could run into problems like #3 |
Thanks @ErnWong, I reviewed the official documentation at http://docs.mathjax.org/en/latest/start.html#tex-and-latex-input, tried and it works only for inline math, and still found no way to render displayed math. Commit eafa018 removes the
Why |
Find a way to use both inline math and displayed math: Inline math:
Displayed math:
(just start a new line to write displayed math) This works for me :) |
Also, But then that skips kramed preprocessing, meaning that markdown vs maths issues like #3 will creep back. By the way, although the double dollar signs for both inline and display works, it sacrifices the ability to write display maths within paragraphs. I guess you don't need that though, and But then... GitbookIO/kramed#3 |
Thanks @ErnWong for the references to the previous issues! It seems like the decision must be made really carefully to meet so many demands :) At the moment I'll change my content to adopt |
Is it possible to add mhchem extension to MathJax. I really need it for the chemistry book. In mathjax configuration docs the recommendation is to "use this extension in your own configurations, add it to the extensions array in the TeX block: But if try to do it in book.json it just doesn't work. |
Let single dollar sign be supported as inline math delimiter? This could enable converting existing latex files into gitbooks. |
@vasalx It should also be possible to force the extension to load by putting |
Thanks @ErnWong for this great summary of expected improvements, it 's very clearly exposed ! Especially, I will be glad to be able to use another input notation (ASCIIMath). Isn't it possible to enable a full configuration of mathjax by linking some |
+1 for single dollar sign delimiter for maximum compatibility with existing latex |
As @dsoto said it would be great to have compatibility with existing latex |
for block math for inline math |
Right now, I think Mathematics is displayed like this:
(correct me if I'm wrong...)
<script>
tag in the HTML file, (which is good, better than leaving it raw, solving issues such as misunderstand underscore #3, but maybe MathML is better for accessibility and other reasons).Suggestion: Would it be great if it was like this?
SVG is also used as a backup for software that don't support MathML nor MathJax. SVG can be disabled through the option.
Perhaps something like MathJax-Node could help us with generating MathML and SVG?
Summary
What do you guys, @SamyPesse and @AaronO, think?
Plugin options that are possibly great to have:
The text was updated successfully, but these errors were encountered: