![]() |
#46 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 10216666
Join Date: Jul 2017
Device: Boox Nova 2
|
Quote:
In LaTeX this can be written as: Code:
f(x)=\sum_{k=0}^\infty f^{(k)}(a)\frac{(x-a)^k}{k!} Code:
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mrow><mo stretchy="true" form="prefix">(</mo><mi>x</mi><mo stretchy="true" form="postfix">)</mo></mrow><mo>=</mo><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mo accent="false">∞</mo></munderover><msup><mi>f</mi><mrow><mo stretchy="true" form="prefix">(</mo><mi>k</mi><mo stretchy="true" form="postfix">)</mo></mrow></msup><mrow><mo stretchy="true" form="prefix">(</mo><mi>a</mi><mo stretchy="true" form="postfix">)</mo></mrow><mfrac><msup><mrow><mo stretchy="true" form="prefix">(</mo><mi>x</mi><mo>−</mo><mi>a</mi><mo stretchy="true" form="postfix">)</mo></mrow><mi>k</mi></msup><mrow><mi>k</mi><mi>!</mi></mrow></mfrac></mrow><annotation encoding="application/x-tex">f(x)=\sum_{k=0}^\infty f^{(k)}(a)\frac{(x-a)^k}{k!}</annotation></semantics></math>< Assuming 1 character is 1 byte which isn't quite accurate the LaTeX version 0.05KB, the MathML version is 0.85KB and the SVG version is 27.95KB. And the PNG version I made that's tolerable is 1.3KB. |
|
![]() |
![]() |
![]() |
#47 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,131
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
Thanks for the info! |
|
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,114
Karma: 131686272
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The problem being that MathML is not as supported as SVG. So if you are unsure if you can get away with MathML, you'd have a better chance with SVG.
|
![]() |
![]() |
![]() |
#49 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,878
Karma: 5449552
Join Date: Nov 2009
Device: many
|
To be fair, the version of mathml you used includes a full copy of the latex equation in the annotations, and lots of attributes settings that are in fact default and not needed.
You can write that equation in mathml with 485 characters. The nice thing is that with MathJax, you can automatically create the svg (or css and html) from the mathml on the fly so that only one form is needed (mathml) in the epub saving space. Of course Mathjax will work with Latex input as well and happily convert that on the fly to svg or css and html too. Unfortunately, the epub3 spec went with html5/mathml not the latex format, and of course only Firefox and Safari even include some native mathml support. Chrome's Blink and therefore QtWebEngine decided to toss all of mathml instead relying on MathJax for support. Because of Chrome's decision, mathml has faced huge adoption issues. It has all become quite the mess. Last edited by KevinH; 03-05-2022 at 01:02 PM. |
![]() |
![]() |
![]() |
#50 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,468
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
![]() ![]() ![]() Amen, brother. Nobody here has said it better. Hitch |
|
![]() |
![]() |
Advert | |
|
![]() |
#51 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,114
Karma: 131686272
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Forgetting the larger size of SVG, would it be better for better comparability to use SVG instead of MathML?
|
![]() |
![]() |
![]() |
#52 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,468
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
![]() |
![]() |
![]() |
#53 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,114
Karma: 131686272
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I know the eBook would be a nightmare to have all the SVG and then all the fallback JPG for Mobi. IF only Amazon could allow you not to have Mobi if the eBook would not work well with Mobi.
|
![]() |
![]() |
![]() |
#54 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,468
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Yup, it's been nearly 11 years and I'm still livid over them screwing me over on my damned brand-new first-gen iPad, turning it into a $1600 brick pretty quickly. I'm not going to forget that, ever. I'm fortunate--I could afford it, and all that but I cannot imagine what someone would do who couldn't have afforded to address it some other way. (To this day, if I need any Apple product for testing, of any kind, I buy used directly from people who aren't paying Apple for anything. No refurbs, reconditioned, none of that. No ducats to Apple from me in any way I can manage. ) Hitch |
|
![]() |
![]() |
![]() |
#55 | ||
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,114
Karma: 131686272
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#56 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,468
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
![]() |
![]() |
![]() |
#57 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,114
Karma: 131686272
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The original iPad was so bad that a lot of apps that were said to un on a version of iOS that it ran did not run properly.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does this happen to anyone else? | Sydney's Mom | Calibre | 2 | 01-05-2014 05:03 AM |
How often does this happen to you? | kazbates | Lounge | 29 | 02-22-2010 11:51 AM |
hello from happen | Happen | Introduce Yourself | 15 | 08-28-2009 02:29 AM |