-
Notifications
You must be signed in to change notification settings - Fork 107
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
"npm run make-custom-tex-extension" is still not working. #30
Comments
This is due to the fact that Windows uses backslashes as directory separators rather than forward slashes like everybody else. So the webpack configuration that looks for shared library files is not recognizing them and including everything rather than patching in the shared versions. I'll have to look into how to make it work with Windows paths as well as unix paths. |
I've made a pull request to MathJax-src that fixers the problem. You could resolve it now by getting the copy of While checking on this, I also found that I had failed to push some updates to the |
Thank you, It works.!!!! I can run "npm run make-custom-tex-extension" on my windows pc. |
Glad to hear that it works for you. Thanks for the confirmation. |
Fix webpack.common.js to handle windows paths correctly (mathjax/MathJax-demos-web#30)
a few months ago, I issued this. and checked that this is resolved, but unfortunately, it is not working.
When I typed this command "npm run make-custom-tex-extension" , I found that the file "mml.min.js" with this logs.
npm run make-custom-tex-extension
Hash: 640e2f14a8f1dd014edf
Version: webpack 4.44.2
Time: 1084ms
Built at: 2020-11-25 8:07:40 ├F10: PM┤
Asset Size Chunks Chunk Names
mml.min.js 113 KiB 0 [emitted] main
Entrypoint main = mml.min.js
[0] E:\ai\nodejs\MathJaxNodeTest\MathJax-demos-web/node_modules/mathjax-full/js/core/MmlTree/MmlNode.js 28.6 KiB {0} [built]
[1] E:\ai\nodejs\MathJaxNodeTest\MathJax-demos-web/node_modules/mathjax-full/js/input/tex/TexError.js 1.68 KiB {0} [built]
.........................................
.........................................
........................................
[23] E:\ai\nodejs\MathJaxNodeTest\MathJax-demos-web/node_modules/mathjax-full/js/input/tex/Stack.js 4.13 KiB {0} [built]
[24] E:\ai\nodejs\MathJaxNodeTest\MathJax-demos-web/node_modules/mathjax-full/js/input/tex/Symbol.js 1.73 KiB {0} [built]
I think that that file "mml.min.js" created is too big to be working compared to original mml.min.js you distributed.
that file's size created was 113KB.
when i opened the mml.html, then i found that paper's not working.
so any guide would you please to suggest to me?
The text was updated successfully, but these errors were encountered: