Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 02:53 PM   #1
Buhaj
Groupie
Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.
 
Buhaj's Avatar
 
Posts: 156
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kobo Libra 2, Kindle PW3
Set footnotes to show by default

In last few books I read, I was only able to see footnotes when clicking on a hyperlink, see images 1 and 2.

I want to be able to set footnotes in such a way that they will be displayed on the same page by default. See image 3.

I have converted all ebooks with Calibre, to remove potential unnecessary formatting. In this chapter's xhtml file, the code is

Code:
<a id="footnote-226-backlink" class="footnote" href="naglowki_001_0014.xhtml#footnote-226">1</a><span class="reset">
The code on the file with the footnote content is

Code:
<div class="footnote1">
    <p class="calibre9"><a id="footnote-226" href="naglowki_001.xhtml#footnote-226-backlink" class="calibre14">1</a> Nick Miller, ‘<i class="calibre15">Why are they giving us the money?’ Behind China’s plans to ‘rescue’ a*decrepit rail link</i>, „The Sunday Morning Herald”, 20.07.2018, <a href="https://www.smh.com.au/world/europe/why-are-they-giving-us-the-money-behind-china-s-plans-to-rescue-a-decrepit-rail-link-20180606-p4zjwk.html" class="calibre14">https://www.smh.com.au/world/europe/why-are-they-giving-us-the-money-behind-china-s-plans-to-rescue-a-decrepit-rail-link-20180606-p4zjwk.html</a> (dostęp: 21.05.2022).</p>
Why are footnotes not displaying properly, and what custom code should I add to enable it (if possible)? Can it be Calibre that broke the formatting?

Also, in Calibre, I have EPUB output set to EPUB2. Shall I change it to EPUB3? I read in a post that default on-page footnotes require EPUB3, can this be true?
Attached Thumbnails
Click image for larger version

Name:	1. text.jpg
Views:	10
Size:	183.7 KB
ID:	217190   Click image for larger version

Name:	2. footnote.jpg
Views:	9
Size:	188.4 KB
ID:	217191   Click image for larger version

Name:	3. settings.jpg
Views:	10
Size:	93.0 KB
ID:	217192  

Last edited by Buhaj; Yesterday at 02:55 PM. Reason: Included attachments, links were not working
Buhaj is online now   Reply With Quote
Old Yesterday, 04:53 PM   #2
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,754
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Quote:
I read in a post that default on-page footnotes require EPUB3, can this be true?
By default yes, you'd need for example epub:type="footnote" on your footnote content. I'm not really sure why you didn't try it already?

Enabling classic classname footnotes does implement .footnote but not .footnote1. Though which process did this classname come into existence? Converted from what to what?
Frenzie is offline   Reply With Quote
Advert
Reply

Tags
footnote, footnotes, koreader

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set default value of a custom column laszlopanaflex Library Management 2 12-01-2018 02:54 PM
Why does Firefox keep getting set to Non-default? Darqref Lounge 2 11-27-2017 08:29 PM
Can't set Calibre as default for epub sespr Devices 5 09-24-2016 08:35 PM
Default font set? brainycat PocketBook 13 06-03-2010 03:19 AM
Set default font for LRF? daruking Calibre 15 03-03-2009 06:26 PM


All times are GMT -4. The time now is 01:57 AM.


MobileRead.com is a privately owned, operated and funded community.