Skip to content

Rendering of Chinese quotation marks in math Mode #1395

@cling7

Description

@cling7

When I enter a Chinese quotation mark, the checkPrimes method in the mo folder of the core folder adds a primes attribute, so that the remapChars of mo in the Wrapper will execute unicodeChars (primes) calculation to obtain a decimal unicode value (8246), which will be 0x2036 when converted to hexadecimal. At this time, it will match 0x2036 in the/renderer/output/svg/fonts/tex/normal.ts file. I understand that this should be a conversion, converting 0x2036 to a character mapping of "\ u2035 \ u2035". However, when I debugged, I found that it was not rendered as "", but as a "". The original "\ u2035 \ u2035", but when tested on the mathjax official website, entering Chinese quotation marks yields the correct result, which is' '. Has any modification been made to this area in the new version of the code?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions