mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Add ReaderHandmade: support for custom TOC and hidden flows
Checkboxes under TOC>Settings> allow enabling Custom TOC and Custom hidden flows (similar to "Hide non-linear fragments" available with some EPUBs). Handled by a new ReaderHandmade module. Adding and removing TOC chapters is done in PageBrowser with long-press on a page thumbnail, and for chapters also in the popup dialog after selecting some text in a page. ReaderToc: add a symbol in title when the TOC is the alternative TOC or the custom TOC.
This commit is contained in:
@@ -31,14 +31,18 @@ local order = {
|
||||
"go_to_next_location",
|
||||
},
|
||||
navi_settings = {
|
||||
"toc_alt_toc",
|
||||
"----------------------------",
|
||||
"toc_ticks_level_ignore",
|
||||
"----------------------------",
|
||||
"toc_items_per_page",
|
||||
"toc_items_font_size",
|
||||
"toc_items_with_dots",
|
||||
"----------------------------",
|
||||
"toc_alt_toc",
|
||||
"----------------------------",
|
||||
"handmade_toc",
|
||||
"handmade_hidden_flows",
|
||||
"handmade_settings",
|
||||
"----------------------------",
|
||||
"bookmarks_settings",
|
||||
},
|
||||
typeset = {
|
||||
|
||||
Reference in New Issue
Block a user