MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   KOReader (https://www.mobileread.com/forums/forumdisplay.php?f=276)
-   -   Displaying links: endnotes and others (https://www.mobileread.com/forums/showthread.php?t=340308)

roger64 06-27-2021 10:38 PM

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.

NiLuJe 06-27-2021 11:48 PM

You'll have better luck pinging @poire-z on GitHub ;).

roger64 06-28-2021 12:51 AM

I'll dutifully ping him. I posted here first because some other people may face this.

roger64 06-28-2021 06:59 AM

2 Attachment(s)
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.


All times are GMT -4. The time now is 09:08 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.