Quote:
Originally Posted by codychan
The solution is: split the html files
- add "page-break-before: always;" in stylesheet, for header tag or for just the footnote content part which lists all the footnote content.
- convert the epub file, the html will be split into multiple html files
- send the converted file to kobo
|
Sorry for resurrecting the thread, but this was the most fitting thread I've found in MR.
I've converted a pdf I own into an epub (v2, then to device as kepub with the extended driver) so I can read it in my Clara, which is BTW still at firmware 4.26. After lots of Word and Sigil, I ended up with a nice book which has had only one issue: footnotes. This is a rather technical book and has lots of them, some of which are very long.
After lots of googling and trial and error, the procedure I quoted above works and almost every note is now shown as a popup in the reader.
There are, however, some notes that keep being handled as a regular links, so after tapping them I end up in the html document containing the note. Every note is, of course, called through the same code and has the same format, but I found that those notes not being displayed as a popup after using the aforementioned procedure are the few ones which, because of their lenght, must be displayed in more one page (one screen, actually).
I tried trimming the text on one of them just to make it fit in one "page" and it was indeed showing as a popup.
Quote:
Originally Posted by DNSB
If the number of characters between the start of the footnote and the end of the file the footnote is in, exceeds 5000 characters, it will be treated as you would expect a link in a HTML ToC to be treated.
|
This might be a hardcoded limitation for popups, but it looks like the display-as-regular-html behavior is triggered even before hitting that limit when the device detects that the text can't be shown in a single screen.
Maybe this behavior has been improved in recent firmware versions. Is there any known workaround? Does this happen also with epub3 books, which AFAIK have proper support for notes?