Quote:
Originally Posted by jhowell
I have the latest version of MS word and with that I can highlight an equation in the equation editor, select copy, and then paste it into a text editor (such as notepad). The equation will paste as MathML. I don't know if this works for older versions of Word.
|
1. Can only Copy/Paste out MathML in newer versions of Word (>2007?), when they introduced the newer Equation Editor. I think you can only copy/paste one-at-a-time.......
When you open your DOCX with equations +
Save As HTML, Word exports tiny PNGs. (According to what I know you don't even have control over final image size, etc.)
Toxaris can probably pop in and explain details... (I think automated MathML export is only available via APIs and can't be exported directly within Word? But don't quote me on that. See
"How to parse mathML in output of WordOpenXML?" on Stack Exchange.)
Note: (I highly recommend reading all the
articles by MurrayS3 on Microsoft's Blog about OfficeMath. He's one of the chief engineers for adding/enhancing the Equation Editor over the decades, and has all the technical details.)
2. Toxaris's EPUBTools can also export MathML+SVG for you. This is the easiest/best way I know of currently.
The subpar thing about those two workflows is that all the equations will be numbered sequentially:
- image001.png for Word.
- (I'm assuming equation images will get smushed together with normal images?)
- Equation001.mml + Equation001.svg for EPUBTools
When you fully control the entire workflow from the start, you can give each equation human-readable names (VERY important when going to edit/add/change books in the future), and can control ALL the variables separately:
- Font
- DPI
- Mathematical formatting conventions
- [...].
This allows you to easily regenerate whatever materials you need.
Quote:
Originally Posted by jhowell
The situation on Kindle is unclear. According to the Amazon Kindle Publishing Guidelines section 9.6 (MathML Support): "Enhanced Typesetting supports MathML." That means KFX format. There is no mention of how MathML is treated in the older (MOBI/KF8) formats. I assume a fallback would be needed but there is no information on how to do that.
|
No normal people can get access to it, similar to audio/video enhancements (remember
"Kindle in Motion"... only 28 books actually available). You would have to be one of the huge publishers that can FTP files directly onto Amazon's servers.
It's extremely hard to even get real info from Amazon about MathML (What are the EXACT books that use this? And how is it done?). Here's what the
Digital Reader said about it in April:
Quote:
Yesterday's changelog for the Kindle for PC update mentioned that you could use the app to zoom in on math equations, and now we know why.
[...]
Edit: Actually, it doesn't support MathML at all. Amazon was being misleading when they said it was supported; what Amazon actually does is convert the equation to an image and display that.
Quote:
what a joke to call "we'll run MathJax in an unspecified configuration and the generate jpg out of it" anything like "support". Makes my point from Ebookcraft that you can simply do this yourself and retain better control.
— Peter Krautzberger (@pkrautz) April 20, 2018
|
|
And according to what I've seen, absolutely nothing changed. (Although it is hard to even pin down technical info, because the blogs are FLOODED with parroting Amazon's marketing material about it.)
From what I've gathered over the months, it only works on the Kindle for PC with NVDA installed. And it uses a horrendously outdated/buggy/crippled MathJax.
And there's STILL no way to limit the files to
only modern devices (or even Kindle for PC only). You'll STILL have to code all the fallbacks for normal KF8+KF7.
Overall, I agree with Peter's quote above. To say "it's supported" is a joke.