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:
poire-z
2018-06-14 00:46:52 +02:00
committed by GitHub
parent 901a1e46da
commit c3a938aad6
6 changed files with 85 additions and 5 deletions

View File

@@ -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