07-12-2022, 10:26 AM | #31 |
Grand Sorcerer
Posts: 27,605
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Most EPUB2 reading systems can handle very simple (text-based, novel-like) EPUB3s with no trouble. But EPUB2 requires an NCX. So most people include a fallback NCX in their basic EPUB3s to ensure compatibility with most rendering engines.
Any EPUB3 rendering engine worth its salt will handle an EPUB3 without an NCX, though. |
07-12-2022, 07:57 PM | #32 | |||||||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
For your very specific case, a single-chapter book with no headings or anything... All you have to do is: 1. Tools > Table of Contents > Edit Table of Contents. 2. Your "Edit Table Of Contents" page looks like this: Code:
TOC Entry | Target _____________|_____________ Start | Text/Section0001.xhtml Change "Start" to whatever you want to appear in the TOC. 4. Double-Click in the 2nd column, 1st row. Change the file to your very first chapter's filename:
Press OK. Done. - - - As I explained before, things are much easier if you use actual headings (<h1>-><h6>) in your files: Code:
<h1>Title of Article</h1> <p>[... Begin your text here.]</p>
But with a single chapter, it's still simple even the "fully manual" way. Side Note: And I'm having a hard time even imagining a book without a heading at all. (Your book has to have some sort of title, right?) Quote:
For your basic Fiction book, there won't be much difference between EPUB2 + EPUB3... Most of these EPUB3-specific things come up when you're dealing with Non-Fiction and more complicated edge cases like:
In bookman156's case, they don't have to worry about those. (And there are still proper ways to handle these which works in EPUB2 AND EPUB3. There's not much reason to use the EPUB3-only way.) Quote:
Creating an NCX makes it fully compatible with EPUB2 devices, and in no way harms the EPUB3. There are no downsides to creating an NCX file. The EPUB3 devices will read the nav.xhtml file. The EPUB2 devices will read the toc.ncx file. And like we keep on saying, simple, basic, Fiction books will work fine. You are imagining tons of complications where there is none. Quote:
EPUB3 books, if you design them properly, will be fully backwards compatible. Imagine EPUB3 like EPUB2+enhancements. (In Web Design, this philosophy is called "Progressive Enhancement".) There are many things you can do in an EPUB3, which will work in more modern/newer devices:
If these enhancements aren't supported, it doesn't harm the book in any way, it just "won't look as pretty". But you HAVE to keep in mind fallback code. You cannot just throw compatibility to the wind by only focusing on the newest/latest-and-greatest/bleeding-edge programs/devices. For example:
Side Note: Similar to the initial iPad. See many of the horror stories of Apple screwing those early users over. iBooks on iPad 1 ≠ iBooks on iPad 2+. Also, see the garbage heaped out of InDesign which "works" and "look good" on the latest version of iBooks, but would completely fail if you tried opening that abysmal code on any other devices. Or see the absolute pile of trash "EPUB"s coming out of Google Docs, which in no way would work on actual ereaders. WOFF (and WOFF2) was invented long after EPUB3 came out. No older devices can support it. Keep using OTF or TTF fonts. This ensures maximum compatibility. See my posts in: Same with Variable Fonts. These things did not even exist when many of the devices came out, and they are barely even supported in newer OSes/programs. Quote:
If the device supports it, great. If not, no big deal. In most use-cases, the smallcaps are things that are decorative only (first word). Very rarely are they essential. For some smallcaps discussion, see my posts in: Quote:
Why isn't everyone using my super duper bleeding edge NVIDIA GPU + 128-core machine + 64 GB or RAM in my $3000 computer? How dare you use a low-powered, 8-year-old, cheap device with low RAM? Why isn't everyone supporting the latest standard that just came out 2 seconds ago? (And is barely even supported across programs.) Even in your favorite font world, there are about 4 competing OpenType implementations for "color in fonts". No single OS handles all of them. I described all of that in the "Variable Fonts" thread above. Multiply that by every other issue under the sun... and the reality of making, producing, maintaining devices... is not as pretty as the theoretical. Quote:
It pretty much just boils down to these main ones: EPUB2 had 1 renderer:
EPUB3 has 3 competing ones:
That covers all the big devices/stores. If you're selling EPUBs in actual storefronts, that's all you really need to test/care about. - - - Side Note: Then you have the piles and piles of non-standards-compliant crap "apps" out there (Moon+ Reader). If you want to read more about that, see my posts in: - - - If you wanted to see what specific HTML/CSS is supported on what devices... EPUBTest.org used to have a lot info. For more details, see the bottom of my post in:
but like I warned, it doesn't matter if the latest bleeding edge font-/image-format is supported on the latest version of iBooks or whatever... 99% of the devices will not—and won't ever—support that, so it wouldn't be smart to use it in your ebooks. Instead of designing an EPUB3-only book that can be "properly read" in 1% of the readers. Screw 99% of your actual customer base. Better to settle into the lowest common denominator, with little EPUB3 enhancements on top. This way EVERYONE can read the book fine. And that 1% on the bleeding edge? Well, they get nice little tweaks on top. Last edited by Tex2002ans; 07-12-2022 at 08:17 PM. |
|||||||
Advert | |
|
07-12-2022, 11:38 PM | #33 | |
Bibliophagist
Posts: 36,710
Karma: 146615420
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Just as an epub3 ebook must have a NAV document. It's part of the epub3 specification. An epub3 ebook can have a NCX document for backwards compatibility but it is not required. Sigil can automagically generate a NCX from the NAV document for when epub2 compatibility is needed. As for web browsers? My experience has been that most web browsers are designed to attempt to work around non-standard code found on too bleeping many web pages. Our corporate web pages are filled with code designed to attempt to allow our web pages to look half decent on Windows, MacOSX, Linus, iOS/iPadOS, various flavours of Android and the mass of different web browsers running on those OS that our web pages are viewed with. |
|
07-12-2022, 11:47 PM | #34 |
Bibliophagist
Posts: 36,710
Karma: 146615420
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
How did you manage to get a 128 core CPU from only $3000? Our 64 core, 128 thread Threadripper machines cost more than that just for the CPU (~$7200 Cdn). BTW, they also make great room heaters.
|
07-13-2022, 01:45 AM | #35 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
(In a few more years, those chips'll drop down in price though. ) Here I am stuck on my ONLY 4-core/8-thread Intel, getting jealous of all the latest bleeding edge benchmarks. .... If only I could get a job like my man, Phoronix, constantly benchmarking and testing the latest stuff:
beautiful... beautiful... - - - And then I keep reading about the bleeding edge Linux stuff, and wonder when the heck that gloriousness will finally be trickling down to the normal humans. Like:
- - - Side Note: Kind of feels like me following the bleeding edge of LibreOffice. The past ~12 months, I've been helping answer questions + write mini-tutorials on the subreddit. (Spreading the good word on Styles, converting lots of people!) I've gotten sucked into QA + submitting bug reports (6 of my bugs have already been fixed within the past few months). I'm constantly updating to the latest versions as they come out. And then you run across the reality of "the public"... where many people are:
bookman156's mind is going to be blown... WEBP images are just now getting support in:
And these are BLEEDING EDGE office programs. Want to guess how many people aren't using these latest-and-greatest versions? Tons. Want to guess how smart it is to use WEBP in ebooks, even though it's "now supported in EPUB3" (as of November 2019)? Very dumb. (Firefox just got WEBP support in January 2019.) Now Google is trying to work towards WEBP2... AV1 + AVIF are just gaining adoption (hardware encoding/decoding making it into this year's flagship smartphone chips)... and you want to be shoving AVIFs into static e-readers from before these formats even existed? lol. Reality is, you convert the images to JPG / PNG, and shove them in your ebook—this would work across 100% of all devices, not <1% that supports WEBP. Last edited by Tex2002ans; 07-13-2022 at 02:29 AM. |
|
Advert | |
|
07-13-2022, 07:15 AM | #36 |
Resident Curmudgeon
Posts: 74,618
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
In order to make sure your ePub 3 eBook works well enough with ePub 2, I suggest you download and install Adobe Digital Editions 2.0.1 and use that to test your eBook.
You can get ADE 2.0.1 for Windows or MAC (32-bit) here. Adobe took down the page, but The Wayback Machine still has it. https://web.archive.org/web/20200619...downloads.html Last edited by JSWolf; 07-13-2022 at 03:21 PM. |
07-13-2022, 09:51 AM | #37 |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
It's here: https://archive.org/details/ade-2.0.1
Is ADE 2.0.1 the last one that was purely EPUB2? I have ADE 4.5 installed currently on my old PC. |
07-13-2022, 09:56 AM | #38 | |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
https://caniuse.com/ |
|
07-13-2022, 10:04 AM | #39 | |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
07-13-2022, 10:12 AM | #40 | |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
OTF is fine for me now I know that WOFF is poorly supported. I simply assumed ereaders were better than they are after all these years, which I won't do again. But certainly readers like BibiReader and even Sigil itself support WOFF, which led me astray. |
|
07-18-2022, 10:59 AM | #41 | |
Bookmaker & Cat Slave
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
AND, that only works if a) the device supports font embedding and b) the user remembers to turn ON publisher fonts. (And on Paperwhites, a shockingly high number of users seem to think that "publisher fonts" is some sort of highly-contagious device STD that is ne'er to be turned on....) Oh and let's not forget what happens with the user changes fonts--say, to Helvetica. Or Bookerly, or...whatever, a typeface that doesn't even have smallcaps. Oooops.... The other alternative is that you create faux small-caps--the dreaded all-caps at 80% of the like. Honestly, talk about hot buttons. Don't get me started about SMALLCAPS, of all the cursed things. I love grand lovely book design as much as the next guy, but...eBooks, and the vast alternative universes between various and sundry eBook readers and software...that's a whole other dimension. Hitch |
|
07-18-2022, 11:06 AM | #42 |
Resident Curmudgeon
Posts: 74,618
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Speaking of smallcaps. I am not a fan of them to start the chapters/section break.
If you use a font that has small caps in it and the program that's displaying the eBook supports font-variant: small-caps; then all is good as the small caps will look good and not simulated. But most books don't use small caps too much so simulated is easy enough to ignore. As to the size, I use 0.8333em. I don't know if that's the correct size or not, but it looks good enough to me. |
07-18-2022, 11:15 AM | #43 | |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
I have done a book with such smallcaps for BCE/CE and though it doesn't satisfy the typographer in me it is better than having full caps. |
|
07-18-2022, 11:45 AM | #44 | |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
07-18-2022, 11:55 AM | #45 |
Resident Curmudgeon
Posts: 74,618
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Publisher Font only is selectable if the eBook you are viewing has at least one embedded font.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table of Contents not being identified as Table of Contents | openletter | Conversion | 2 | 10-19-2012 12:54 AM |
Table of Contents Help | MyLittleTwi | Calibre | 0 | 02-27-2012 03:30 PM |
Table of Contents | stevej46 | Conversion | 0 | 08-06-2011 02:46 PM |
Help with my Table of Contents | Skylinefranc | Calibre | 0 | 03-19-2010 12:55 AM |
Creator Table of Contents | Nate the great | Kindle Formats | 5 | 07-10-2008 05:55 AM |