Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 12-22-2020, 01:46 PM   #1
carmenchu
Groupie
carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 266070
Join Date: Dec 2010
Device: Win7,Win10,Lubuntu,smartphone
Issue with footnote pop-up (epub3)

First, I love the version 5 viewer--getting ever better!
Now, the issue.
As seen in the attachment, the note shows an additional line--repeated for every last note in each chapter.
Cause: notes in this book are collected in an end-notes page, with a heading separating chapters, as in this code:
Spoiler:
Code:
<p id="c04-ftn19" class="footnote"><a href="Chap_04.xhtml#c04-ftn19a">19.</a> Mallory 1989:145–146; and Anthony 1991a. For Africa, see Nettles 1996.</p>

  <h2 class="section" id="calibre_pb_11"><span class="smcap">Chapter</span> 5. <span class="smcap">Language and Place</span></h2>

  <p id="c05-ftn1" class="footnote"><a href="Chap_05.xhtml#c05-ftn1a">1.</a> For homeland theories, see Mallory 1989, <a href="Chap_06.xhtml">chap. 6</a>. For political uses of the past in the Soviet Union, see Shnirelman 1995, 1999; Chernykh 1995; and Kohl and Tsetskhladze 1995. For the belief in an Aryan-European “race”, see Kühl 1994; and Poliakov 1974.</p>

I tried replacing the original <h2> tags with <p>, with no effect: apparently the involved script uses next class="footnote"
as boundary for 'footnote grabbing'...
Thus, my question: is there any way out, barring removing chapter headings? Maybe <hr/> before each heading...?
It would be simple to introduce (search & replace), and can be given 'display= none'.
Thanks!
Attached Thumbnails
Click image for larger version

Name:	Clipboard01r.png
Views:	240
Size:	62.6 KB
ID:	184195  
carmenchu is offline   Reply With Quote
Old 12-22-2020, 11:35 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,921
Karma: 22669818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The best way is to use the epub footnote markup to denote exactly what is a footnote.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-04-2021, 05:13 PM   #3
carmenchu
Groupie
carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 266070
Join Date: Dec 2010
Device: Win7,Win10,Lubuntu,smartphone
Well, I think I have finally understood what was required--thanks to this thread https://www.mobileread.com/forums/sh...4&postcount=17 (much obliged, Doitsu)
As the page containing all the rear-notes was already identified as such through semantics, I have Converted each
Code:
<p id="..." class="footnote"><a href="...">#</a>...</p>
into
Code:
<aside id="..." epub:type="footnote"><p class="footnote"><a href="...">#</a>...</p></aside>
Now, a footnote and nothing else, seems to be gathered into each pop-up, and no footnote gets clipped--which was another issue with some.(??)
Is there some cheat-sheet, or other usable reference containing such tips? W3C, Daisy, etc., seem directed chiefly to implementers of 'user agents'--tips for 'plain users' aren't so apparent...
carmenchu is offline   Reply With Quote
Old 01-06-2021, 02:40 AM   #4
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 732
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Color PB633, Inkpad Color
In the Amazon Kindle Publishing Guidelines there is a section about footnotes.

I am not expert but the solution indicated seems very similar to the one You have found Yourself ("aside" instead of "apart").

And for Kobo kobolabs/epub-spec on github talks about footnotes but they don't say too much, only the strong advice to use epub:type="footnote"
ps67 is offline   Reply With Quote
Old 01-06-2021, 02:45 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,921
Karma: 22669818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
there are plenty, just google epub footnotes, for instance the first match http://www.theheratik.net/books/tech...8/#:~:text=The ePub 3.,much easier to handle footnotes.&text=The content you link to,some other kind of note.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-06-2021, 04:59 AM   #6
carmenchu
Groupie
carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 266070
Join Date: Dec 2010
Device: Win7,Win10,Lubuntu,smartphone
Thanks! The link is interesting...
Trouble with googling for 'special' information: I usually find the results 'localization-biased'--i.e., only pages in my local (not very useful on some topics) or very general content, like wikipedia or W3C. If there is more. it's very likely ten pages deep... Search engines are sometimes too 'smart & helpful', and I don't know enough to begin with to direct them better.
Thanks again.
carmenchu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paperwhite & footnote pop-ups eFTy Kindle Formats 61 04-07-2020 05:33 PM
How to disable(and handle) the pop-up footnote on e-ink devices? yasteora Kobo Developer's Corner 0 05-17-2016 12:07 AM
EPUB3 footnote validation roger64 Workshop 11 06-03-2015 07:56 AM
Footnote pop-up example dcmst ePub 7 09-22-2014 10:33 PM


All times are GMT -4. The time now is 10:12 AM.


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