Skip to content
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

Nested fractions are not converted correctly to Nemeth #62

Open
NSoiffer opened this issue Aug 13, 2019 · 0 comments
Open

Nested fractions are not converted correctly to Nemeth #62

NSoiffer opened this issue Aug 13, 2019 · 0 comments

Comments

@NSoiffer
Copy link
Contributor

NSoiffer commented Aug 13, 2019

Three nested fraction tests (mathml_nemeth/mfrac_04.test, mathml_nemeth/mfrac_06.test, mathml_nemeth/mfrac_07.test) fail:

Image |
image | image | image
------------ | ------------- | ------------ | -------------
Output | ?A/B^,??3/4#/?5/6#,#"# | ?.P+?X/Y#/<M+N>13]# | ,??.P+?X/Y#/13#/Z#
Expected | ?A/B^,??3/4#,/?5/6#,#"# | ,?.P+?X/Y#,/<M+N>13],# | ,,?,?.P+?X/Y#,/13,#,,/Z,,#

There are some commonalities:

  1. The complex fraction slash indicator ,/ is not used (all three tests)
  2. The complex opening/closing indicator ,?/,# are missing in the second and third tests
  3. The even more nested open/closing indicators ,,?/,,# are missing in the third test

In all these cases, just the simple open/slash/close indicator is used.

It appears that the code is not looking at nesting levels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant