|
|
Thread Tools | Search this Thread |
08-30-2020, 10:42 PM | #1 |
Zealot
Posts: 126
Karma: 2167
Join Date: Oct 2005
Location: Houston, Texas
Device: ipad 1, Nook Simple Touch, Kindle 3, ebookwise 1150
|
kindle support for "hidden" HTML element for section --> li?
I notice that the latest epub specification indicates support for the "hidden" HTML element in the navigation document -- see https://www.w3.org/publishing/epub3/...nav-def-hidden
I was wondering: if you use the HIDDEN HTML attribute for li or ol inside the navigation html document, do Kindle reading systems support it? I'm guessing that e-ink kindles don't support HIDDEN in the navigation document. Does anyone know of a fallback technique to prevent individual TOC items from being displayed on e-inks? Thanks. |
08-30-2020, 10:57 PM | #2 |
Zealot
Posts: 126
Karma: 2167
Join Date: Oct 2005
Location: Houston, Texas
Device: ipad 1, Nook Simple Touch, Kindle 3, ebookwise 1150
|
Egad, am I lazy or what? All I had to do was to render it in the Kindle Previewer. It looks fine. I'll test on the paperwhite, but so far it won't be a problem. Horray!
|
09-01-2020, 09:17 AM | #3 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
09-06-2020, 03:17 PM | #4 |
Zealot
Posts: 126
Karma: 2167
Join Date: Oct 2005
Location: Houston, Texas
Device: ipad 1, Nook Simple Touch, Kindle 3, ebookwise 1150
|
Oops, spoke too soon. I may be able to hide the TOC list item in the logical TOC. However, that doesn't hide the entry in the reading system's TOC for current Kindles (and even Adobe DE).
3.2 spec says: To control rendering across all Reading Systems, authors MUST use the [HTML] hidden attribute to indicate which (if any) portions of the navigation data are excluded from rendering in the content flow. The hidden attribute has no effect on how navigation data is rendered outside of the content flow (such as in dedicated navigation user interfaces provided by Reading Systems). MUST is the key word here, but apparently that's not true for Kindle or even for Adobe DE. It's funny, because I can think of multiple situations where I want content to be not visible in the reading system's navigation entries. Looking further, I see that linear=0 doesn't seem to hide the TOC item from the reading system's navigation system. (Maybe that was a legacy way to do it which was not really implemented?) |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Error while parsing file 'element "img" not allowed here" | shotsfromthebar | Editor | 3 | 03-31-2017 03:53 AM |
The element type "p" must be terminated by the matching end-tag "</p>". | uieluck | ePub | 10 | 02-12-2013 07:04 PM |
Try to remove : This item was downloaded by caliber from .... and "Section Menu", "Ma | poulardalber | Recipes | 4 | 08-21-2012 05:23 AM |
Kindle Fire: also missing "section/articles" in all news | mkgtu | Devices | 3 | 11-21-2011 10:14 AM |