04-23-2023, 11:13 PM | #1 |
Member
Posts: 13
Karma: 10
Join Date: Apr 2010
Device: Kindle Oasis 3, Boox Leaf, Kobo Libra 2
|
"Hide Non-linear Fragments" not shown in menu
Hi,
I have a epub3 book with epub3 standard footnote format, also in Sigil, it's reported as Epub3. But in KO menu, "Hide Non-linear Fragments" is not shown, I couldn't hide those footnots. I want to know what will trigger KO to show this option, so I could tweak this book a little. Thanks. |
04-24-2023, 06:28 AM | #2 |
Member
Posts: 13
Karma: 10
Join Date: Apr 2010
Device: Kindle Oasis 3, Boox Leaf, Kobo Libra 2
|
OK, I think I've figured out.
https://github.com/koreader/crengine.../data/epub.css From line 11 to 24 Code:
/* EPUB container of each individual HTML file */ DocFragment { page-break-before: always; } /* Non-linear fragments (hideable) */ DocFragment[NonLinear] { -cr-hint: non-linear; } section[type=footnotes] { -cr-hint: non-linear; } aside[type=footnote] { -cr-hint: non-linear-combining; }
You will have "Hide Non-linear Fragments" option. Of course, your epub must be Epub3 which supports those tags. |
Advert | |
|
04-24-2023, 12:27 PM | #3 |
frumious Bandersnatch
Posts: 7,531
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
The "Hide non-linear fragments" option should appear if there are non-linear fragments in the book. I don't know enough about ePub3, but are those footnotes defined as "linear=no" in the spine? If not, then it's working as expected.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Auxiliary content? (with linear="no" in <spine>) | un_pogaz | Sigil | 2 | 06-13-2018 06:25 AM |
Try to remove : This item was downloaded by caliber from .... and "Section Menu", "Ma | poulardalber | Recipes | 4 | 08-21-2012 05:23 AM |
Convert "Section Menu" in "Main Menu" | zeener | Recipes | 2 | 11-23-2010 10:33 AM |
Creator taking control of the "first page" link in the "content" menu | cyberbaffled | Kindle Formats | 2 | 07-11-2010 04:21 PM |
"Menu" and "Mark" keys does not work | murad | Sony Reader | 4 | 07-11-2009 12:35 PM |