01-06-2018, 11:06 AM | #16 |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
I can fix it, but it is a very large site, and there is, unfortunately, all the books are equally converted
And so, thanks, prompted, to convert fb2->epub yourself, to try it Last edited by Semwize; 01-06-2018 at 11:11 AM. |
01-06-2018, 11:50 AM | #18 |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
Converted to kepub, there is no popup footnote
|
01-06-2018, 12:07 PM | #19 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@Semwize,
In addition to 3 minor problems (according to calibre's Check Book) with your epub there is one major problem which is causing so many errors in epubcheck. This major problem is that throughout the epub (but mostly in ch2.xhtml the footnote file) the HTML has >200 occurrences of <span> tags which contain <div> and <p> tags. The good news is the simple solution (for this particular epub) is to use an epub editor to change all those <span ...> and </span> tags to <div ...> and </div> tags. You then only have the 3 minor warning errors to clear up. If you are familiar with epub clean-ups you should be able to do all this in a few minutes. The bad news is that even once the epub is clean I don't think the HTML footnote links are coded in a way that will cause the kepub to display them as pop-ups, because each footnote does not contain a matching backlink to where you came from. |
01-07-2018, 06:04 AM | #20 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
But, I've been playing with Semwize's book and I cannot get the footnote popups to display. I have changed the links to use sup tags and removed the classes. I've fiddled with the destinations to be the paragraph, an anchor, added the backlinks and cleaned up the code a bit. looking at other books that use footnotes and work, I cannot see what the difference is. |
|
Advert | |
|
01-07-2018, 06:25 AM | #21 | |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
Quote:
"page-break-after: always" does not work. |
|
01-07-2018, 09:03 AM | #22 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Here's an example: Before - main body HTML (ie ch1-2.xhtml):: Code:
<p ...>some text<a href="ch2.xhtml#id49" class="a">[1]</a></p> Code:
<span id="id49"> <div class="title1"> <p class="p">1</p> </div> ... </span> Code:
<p ...>some text<a href="ch2.xhtml#fn1" class="a" id="back1">[1]</a></p> Code:
<div id="id49"> <div class="title1"> <p class="p"><a id="fn1" href="ch1-2.xhtml#back1">1</a></p> </div> ... </div> Last edited by jackie_w; 01-07-2018 at 09:07 AM. |
|
01-07-2018, 09:31 AM | #23 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
The KOReader cr3 "Links" menu:
a "Go back to previous location" selection (Greyed out if not in a linked location) Then Check boxes for: Tap to follow links Swipe to go back Swipe to follow first link on page Swipe to follow nearest link Swipe to jump to latest bookmark I am still on version 1423, so there might be some changes/additions to the above. Luck; Ken P.S.; KOReader has also enlarged the touch area for links. Last edited by Ken Maltby; 01-07-2018 at 09:34 AM. |
01-07-2018, 05:56 PM | #24 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
01-07-2018, 06:30 PM | #25 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Here are 2 screenshots. First is the pop-up footnote, second is a view of the full footnote via the 'See more' button on the pop-up.
BTW, I know it's normal to lose all the footnote formatting when popped-up but I don't know why the Cyrillic letter-spacing is so wide. Pop-ups in my English books have normal letter-spacing. |
01-07-2018, 09:24 PM | #26 | |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
Quote:
KBJ-TsukuMinPr6N-RB.ttf KBJ-UDKakugoPr6N-M.ttf If you remove them, the interval will become normal. jackie_w, Thanks, your option works. P.S. but as you have with non-breaking space, for some reason it does not work in kepub I wanted to convert my entire library to kepub, but it stops ... Last edited by Semwize; 01-07-2018 at 10:32 PM. |
|
01-08-2018, 08:26 AM | #27 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Are you saying you did a full conversion and it "broke" something? Good. It sounds like you have been able to fix your device to avoid this. |
|
01-08-2018, 08:52 AM | #28 |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
jackie_w
No, I have everything working) I'm writing about a non-working in Kepub non-breaking space And I ask, why so Last edited by Semwize; 01-13-2019 at 03:00 AM. |
01-08-2018, 09:14 AM | #29 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Following up on davidfor's suggestion that the backlinks are not actually required for footnotes to pop-up in kepubs. My earlier suggested footnote HTML coding can be simplified to:
After v2 - main body HTML (ie ch1-2.xhtml): Code:
<p ...>some text<a href="ch2.xhtml#fn1" class="a">[1]</a></p>
Code:
<div id="id49"> <div class="title1"> <p class="p"><a id="fn1">1</a></p> </div> ... </div> |
01-08-2018, 09:21 AM | #30 |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Footnote question Kobo Aura One | Stingo | Kobo Reader | 7 | 09-10-2016 04:17 PM |
Glo hide the footnote / endnote text shown in note preview | fxp33 | Kobo Reader | 3 | 05-04-2013 08:11 PM |
Footnote/Endnote debate | John123 | Workshop | 15 | 01-31-2013 08:55 AM |
Footnote/Endnote Links Not Working | William5 | Conversion | 1 | 08-31-2012 06:39 AM |
Will footnote/endnote links work with the Kobo Touch? | djloewen | Kobo Reader | 11 | 09-03-2011 09:45 AM |