mathjax / MathJax

Beautiful and accessible math in all browsers
http://www.mathjax.org/
Apache License 2.0
10.17k stars 1.16k forks source link

MathJax Rendering issue #3271

Closed songxingling1 closed 2 months ago

songxingling1 commented 2 months ago

Issue Summary

image

Steps to Reproduce:

  1. Integrate MathJax using a CDN and configure it.
  2. Discover the problem.

I used cnblog to write my blog, utilizing cnblog's JavaScript features.

Technical details:

I am using the following MathJax configuration:

MathJax = {
  tex: {
    inlineMath: [['$', '$'], ['\\(', '\\)']]
  }
};

and loading MathJax via

<script id="MathJax-script" async
  src="https://cdn.jsdelivr.net/gh/mathjax/mathjax@3.2.2/es5/tex-mml-chtml.min.js">
</script>

Supporting information:

image

amrit3874 commented 2 months ago

INDEFINITE INTEGRATION TEST 1 - Google Chrome 13-08-2024 12_26_19

i've been facing this kind of error in my pc and laptop after I reinstalled windows in both of them..

dpvc commented 2 months ago

@amrit3874, your issue seems unrelated to the one in the original post. You should open a new issue for that, with complete details. There is not enough information here to diagnose your issue.

dpvc commented 2 months ago

@songxingling1, I suspect that you are using the Unicode Full-Width characters for the numbers (the ones at U+FF10 to U+FF19) rather than the ASCII numerals. That MathJax fonts don't include these characters, so you are seeing the ones taken from a font installed on your system, and they don't match the MathJax fonts very well. Also, the characters are wider than usual (they are the "full width" characters after all). Can you enter ASCII rather than full-width numbers?

If not, we could perhaps create a TeX input jax pre-filter that will convert the full-width versions to the ASCII equivalents.

songxingling1 commented 2 months ago

Well, actually this issue is caused by CSS style sheets and Markdown escaping, and there is no problem with the Mathjax library.

amrit3874 commented 2 months ago

I tried with other browsers and it only seems to be working with mozilla firefox for some reason.. so I'm using that nowadays..pls let me know if u find any solutions for my problem..

On Sun, 18 Aug, 2024, 10:20 am songxingling1, @.***> wrote:

Well, actually this issue is caused by CSS style sheets and Markdown escaping, and there is no problem with the Mathjax library.

— Reply to this email directly, view it on GitHub https://github.com/mathjax/MathJax/issues/3271#issuecomment-2295112863, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASLRC3AQZBX6CPWTTEHWYQLZSARZRAVCNFSM6AAAAABMLZGRSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGEYTEOBWGM . You are receiving this because you were mentioned.Message ID: @.***>