mirror of
https://github.com/koreader/koreader.git
synced 2025-12-24 12:14:05 +01:00
bump crengine: alternative TOC, no page break on borders (#4011)
Includes: - Avoid page break between a node and its borders - Allow building an alternative TOC from document headings On CRE documents, allows toggling between original TOC and an alternative TOC with long-press on the "Table of content" menu item. Also update the Wikipedia stylesheet to further avoid page-breaks between images and their caption, so a full bordered wikipedia thumbnail is always full on a single page.
This commit is contained in:
@@ -254,6 +254,14 @@ function Document:getToc()
|
||||
return self._document:getToc()
|
||||
end
|
||||
|
||||
function Document:canHaveAlternativeToc()
|
||||
return false
|
||||
end
|
||||
|
||||
function Document:isTocAlternativeToc()
|
||||
return false
|
||||
end
|
||||
|
||||
function Document:getPageLinks(pageno)
|
||||
return nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user