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

Fix processing of texClass for multi-character <mi> elements. #503

Merged
merged 1 commit into from Jun 15, 2020

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented May 29, 2020

When porting of mo.adjustTeXClass() to v3, I messed up these lines. I used the wrong property, (it is capitalized in the two other places it is used), so the if-then was never satisfied. But even if it had been, I set the wrong object's TeX class. This fixes both issues and makes the results consistent with v2.

@dpvc dpvc requested a review from zorkow May 29, 2020 17:59
@dpvc dpvc added this to the v3.1.0 milestone May 29, 2020
Copy link
Member

@zorkow zorkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe at some point we should have a standard way to spell: options, properties, attributes, etc.

@dpvc
Copy link
Member Author

dpvc commented Jun 15, 2020

Maybe at some point we should have a standard way to spell: options, properties, attributes, etc.

Agreed. In fact, this typo was because I thought we were going to camel case, but the TeX input jax retained the original capitalization. Something for the next round of global updates.

@dpvc dpvc merged commit 6651a23 into develop Jun 15, 2020
@dpvc dpvc deleted the mo-texclass branch June 15, 2020 16:57
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

Successfully merging this pull request may close these issues.

None yet

2 participants