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 06-27-2021, 09:38 PM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,558
Karma: 2999999
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Displaying links: endnotes and others

Hi

Forgive me if my report is a little fuzzy.

Since it was implemented in late 2019, I use nearly always the inline display for notes with ePub3 books and set this as a permanent option.

However, I just observed today what could be a not-so-good side-effect of this option.

I have an ePub3 with some hundreds of inline notes nicely displayed. Very fine.
This book has also about ten images, listed in a page. I linked each entry of the list with the corresponding image further in the book.

When I read the book with Koreader, I realize that it displays the image link as a pop-up endnote (with text) but does not display the image.

So it seems that I have to choose between
1. - a classical display of endnotes / good display of images from the list
2. - a nice display of inline notes / faulty display of images from the list

Here is the code I am using:

for inline notes
<a class="noteanchor" epub:type="noteref" href="chapitre20.xhtml#ftn1" id="bodyftn1">[1]</a>

<aside class="ntb" epub:type="footnote" id="ftn1">
<p class="note"><a class="notesymbol" href="chapitre9.xhtml#bodyftn1">1</a> text of the inline note.</p>
</aside>

for plain images in the list
<p class="Biblio"><a href="chapitre9.xhtml#Image1graphic">1. Title of the image</a></p>

<div style="text-align:center">
<img alt="Image1" id="Image1graphic" class="frameGraphics" src="images/image003.png" style="width: 97.0%; height: auto;"/>
</div>
<p class="Caption">Map 1. Legend</p>

Calibre displays properly the link to the image and its viewer displays the notes as pop-ups.

Last edited by roger64; 06-27-2021 at 10:12 PM. Reason: replace table with list
roger64 is offline   Reply With Quote
Old 06-27-2021, 10:48 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 11,888
Karma: 21070416
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
You'll have better luck pinging @poire-z on GitHub .
NiLuJe is offline   Reply With Quote
Old 06-27-2021, 11:51 PM   #3
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,558
Karma: 2999999
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
I'll dutifully ping him. I posted here first because some other people may face this.
roger64 is offline   Reply With Quote
Old 06-28-2021, 05:59 AM   #4
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,558
Karma: 2999999
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
This question has been solved. It was not a Koreader bug.

The above code is correct. Koreader can display it like it should.

but

There are two menus dealing with notes in Koreader, and I was only aware of the first one, the one you find with Style tweaks (Ajustements de style).

The second menu dealing with notes can be found on the adresses given on screenshot1. Not only I did not know it existed, but it had two values ticked by default. The second value must be unticked (like in screenshot 2) if you wish to get a correct display of image links.
Attached Thumbnails
Click image for larger version

Name:	koreader2.png
Views:	33
Size:	25.5 KB
ID:	187907   Click image for larger version

Name:	koreader1.png
Views:	25
Size:	28.6 KB
ID:	187908  

Last edited by roger64; 06-28-2021 at 06:19 AM.
roger64 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automate the HTML links for footnotes - endnotes reinsley Editor 7 11-11-2020 08:41 AM
Footnotes, endnotes and links Sissinghurst Calibre 0 07-17-2019 04:30 PM
To correct endnotes links: a proposal roger64 Editor 1 02-25-2016 09:59 AM
Touch Gotta Improve Links to Endnotes SCION Kobo Reader 9 07-17-2011 08:48 AM
File splitting and endnotes links mtrahan ePub 11 05-01-2011 04:07 PM


All times are GMT -4. The time now is 01:35 PM.


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