C:\Users\Emre\MathJax-demos-node>node -r esm direct/mml2svg "<math><mi>x</mi></math>" > x90.svg
it works when i write this.
I could see the x in the browser. But when i try to get MathML code from the file math.mml ------------>
C:\Users\Emre\MathJax-demos-node>node -r esm direct/mml2svg "math.mml" > x990.svg
ERRORS --------------->
Error: MathML must be formed by a <math> element, not <#text>
at MathML.error (C:\Users\Emre\MathJax-demos-node\node_modules\mathjax-full\js\input\mathml.js:96:15)
at MathML.compile (C:\Users\Emre\MathJax-demos-node\node_modules\mathjax-full\js\input\mathml.js:79:22)
at HTMLMathItem.AbstractMathItem.compile (C:\Users\Emre\MathJax-demos-node\node_modules\mathjax-full\js\core\MathItem.js:56:39)
at Object.renderMath (C:\Users\Emre\MathJax-demos-node\node_modules\mathjax-full\js\core\MathDocument.js:119:65)
at RenderList.renderConvert (C:\Users\Emre\MathJax-demos-node\node_modules\mathjax-full\js\core\MathDocument.js:171:35)
at HTMLMathItem.AbstractMathItem.convert (C:\Users\Emre\MathJax-demos-node\node_modules\mathjax-full\js\core\MathItem.js:52:32)
at HTMLDocument.AbstractMathDocument.convert (C:\Users\Emre\MathJax-demos-node\node_modules\mathjax-full\js\core\MathDocument.js:329:15)
at Object.<anonymous> (C:\Users\Emre\MathJax-demos-node\direct\mml2svg:111:19)
I got this errors:
Do you have any idea to solve it?
C:\Users\Emre\MathJax-demos-node>node -r esm component/mml2svg "<math><mi>x</mi></math>" > x90.svg
No version information available for component input/mml/entities
i got this error.... (with double quotes)
C:\Users\Emre\MathJax-demos-node>node -r esm component/mml2svg '<math><mi>x</mi></math>' > x90.svg
< was unexpected at this time.
with single quotte
1 Temmuz 2022 Cuma tarihinde saat 22:18:05 UTC+3 itibarıyla Davide Cervone şunları yazdı: