-
Notifications
You must be signed in to change notification settings - Fork 5
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
Word: Math symbols mistakenly bolded in formulas #876
Comments
What's happening is that in MathML handling, the font shift from normal to italic is being kept as a shift to non-bold italic: the fact that the entire MathML expression is wrapped in bold is not impacting the italic instance, to make it cumulative. |
And Ronald, The Word is wrong here. The PDF and HTML is correct. This is marked up as a preferred expression. Preferred expressions are meant to be bold. So:
Renders as follows: The two terms have the same content in their designations; they differ in italicisation, which MathML correctly does for variables, and in the inheriting of boldface from the surrounding context, which is failing to happen. So HTML and PDF are wrong. Now, as it happens, this is something I fixed in Word, when translating to OOXML, and dealing with its font changes. But it's clear I'm going to have to fix this in Presentation XML, inheriting any boldface from parent nodes into the current MathML expression. I will not inherit italics as well, as that's probably going to introduce more confusion than not. (Italics is already meaningful in mathematical formatting, and I don't want to override that.) |
Fixing this is going to be exceedingly difficult in the general case, such as in headlines, when the boldface is being introduced by the CSS, not by formatting: so the Presentation XML simply does not know that the content of Luckily, though, preferred terms are explicitly boldfaced via |
This has worked in HTML and DOC, but not PDF: |
No, that did not work either. Raising ticket, but satisfied with HTML/DOC treatment. For now reverting to fontweight. Will change markup if instructed to by @Intelligent2013, but all three known ways of doing MathML boldface are ignored on PDF output. |
PDF issue is separate; closing this. |
From ISO/CS on ISO 34000:
In Word output, these variables are mistakenly "bolded":

In PDF output, they are fine:

The source has no bolding:
Document: https://github.com/CalConnect/iso-34000
The text was updated successfully, but these errors were encountered: