bugGNU TeXmacs - Bugs: bug #60491, MathML conversion: some bugs found...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #60491: MathML conversion: some bugs found in Mozilla Torture Test

Submitter:  Jeroen Wouters <jeronim>
Submitted:  Sat 01 May 2021 07:17:00 AM UTC
   
 
Category:  None Priority:  5 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

Sat 07 Jan 2023 06:08:48 PM UTC, comment #1: 

Alas, the original mozilla document is no longer online and it's not possible to recreate the problem reported: I've downloaded a version of it around the time of this bug report from the wayback machine, but importing it into TeXmacs was TOTALLY BROKEN because it's html5 (where the <math> tags have no xlmns attribute)

I've recently fixed this breakage (with commits starting at rev 14093), and perhaps some of the math formating import bugs originally reported. I think now TeXmacs decently imports the Mozilla torture test.

Recent versions of the "mathml torture test" can be found at
https://fred-wang.github.io/MathFonts/mozilla_mathml_test/
http://eyeasme.com/Joe/MathML/MathML_browser_test.html

Leaving open for the moment because I may have introduced some bugs...

Philippe Joyez <pjoyez>
Group Member
Sat 01 May 2021 07:17:00 AM UTC, original submission:  

Please see the attached tm document for a version of Mozilla's MathML Torture test:

https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/MathML_Torture_Test

The converted HTML file shows a few problems:

test #8 and #9: <choose> is not converted (the problem seems to be the <shrink-inline> tag in that macro)

test #14: mathi is converted to ⅈ

test #16: there's a large spacing after the integral sign

test #17: the double integral appears as the text "iint"

test #19 and #22: text underbrace and overbrace result in superscripts and subscripts after the brace, not text over or under the brace

test #28: Three primes are converted separately, but would like much better as a ‴ character.

Jeroen Wouters <jeronim>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #51346:  formula-torture.tm added by jeronim (7KiB - text/x-texmacs.doc)
file #51347:  formula-torture-mml.xhtml added by jeronim (25KiB - application/xhtml+xml)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pjoyez (Posted a comment)
  • -email is unavailable- added by jeronim (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-01 jeronim Attached File- Added formula-torture.tm, #51346
        Attached File- Added formula-torture-mml.xhtml, #51347

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code