jgm / texmath

A Haskell library for converting LaTeX math to MathML.
GNU General Public License v2.0
314 stars 65 forks source link

OOML Writer: Add low line char ("_") to `isBarChar` #193

Closed Hagb closed 1 year ago

Hagb commented 2 years ago

"_" is used for \underline in symbolMapOverrides. "" should be regarded as bar char, or \underline{xxx} will be written as `\underset{\}{xxx}` in OOML.

Fix jgm/pandoc#8152

jgm commented 2 years ago

Thanks for this. CI tests are failing. Take a look at the failing test cases and make sure the actual output looks correct. If so, you can update the expected test results to the actual results using make TESTARGS=--accept (or pass in --accept to the test suite if you're running cabal test or stack test manually). More on this in README.md.

Hagb commented 2 years ago

Sorry for the late reply. The output looks correct and the test case has been updated.

jgm commented 1 year ago

Great, thanks.