-
Notifications
You must be signed in to change notification settings - Fork 31
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
Not the expected output #420
Comments
Thank for the detailed report.
The choice of the formats was deliberate. There are two parts to the documentation:
For each part of the documentation, a different format was chosen:
I am sorry that the math is displayed incorrectly in your browser. I will be happy to fix it.
The syntax \begin{markdown*}{texMathDollars}
$\sqrt{-1}$ *equals* $i$
\end{markdown*} |
As discussed by @quark67 in <#420 (comment)>.
Yes! It works! Thanks. |
On section 2.1.3 of the manual (at http://mirrors.ctan.org/macros/generic/markdown/markdown.html#latex), I use the provided code:
Expected output (according to the manual):
(yes, this is the display in my browser, see below, at the end!)
Real output:
But the real expected output is (if I understand correctly):
What is wrong? If I misunderstand anything, please add some information in the manual, thanks.
Why is this manual in HTML form? The output of pdfLaTeX (and other engines) is PDF, so PDF is probably a better format for the manual. With PDF output, there is no problem: the PDF is always the same. Here, the Safari browser wrongly display the mathml code (which is strange, because the page https://webkit.org/demos/mathml/MathMLDemo.xhtml is correctly displayed).
In the web inspector:
Comparison on the webkit page:
Perhaps because
<msqrt>
is the right tag for square root, and<mroot>
is for cubic root etc. And embedding in is wrong? See the usage of<mroot>
here: https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mroot, and the usage of<msqrt>
here: https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msqrt.Conclusion: the PDF format is more safe.
But, more important: how to obtain the right output with LaTeX?
The text was updated successfully, but these errors were encountered: