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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-28-2019, 08:26 PM   #31
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 4583858
Join Date: Jul 2012
Device: Palm Pilot M105
Hmm, I do like that suggestion for [Note 1] instead. Less obtrusive than [Footnote 1]. Thanks!
lumpynose is offline   Reply With Quote
Old 08-29-2019, 05:27 AM   #32
Vroni
Banned
Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'
 
Posts: 168
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
I'm using [=> 1] to have a bigger tap area and to indicate that the reader will leave his current positiion in the book.
Vroni is offline   Reply With Quote
Advert
Old 08-29-2019, 05:34 AM   #33
Vroni
Banned
Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'
 
Posts: 168
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
Quote:
Originally Posted by KevinH View Post
Hi Toxaris,

You mean for fixed layout, pre-paginated ebooks, right? I am not sure how this could be handled in a reflowable without knowing the size of the page (so to speak).

KevinH
But the rendered does know the size of the page. IIf there is noit enoughj room for an image the image is displayed on the next "page". So the renderer does know that there is mor space left.

Its not a simple task to do it and changing font size may result in a longer rerendering phase, buit i wouldnt say its impossible.
Vroni is offline   Reply With Quote
Old 08-29-2019, 11:55 AM   #34
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 4,161
Karma: 2620702
Join Date: Nov 2009
Device: many
You re replying to a comment made in 2016. I had to re-read the entire thread to see what if anything you were referring to.

All I can say is Sigil is for editing epubs, and is not an epub reading system. So how footnotes are created from an editing perspective is what we focus on and not how a particular reader decides to implement that (ala iBooks or not).

I believe DiapDealer expressed similar thoughts in his answers, so I think we are on the same page.

What brought this topic back up?
KevinH is offline   Reply With Quote
Old 08-29-2019, 12:23 PM   #35
Vroni
Banned
Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'
 
Posts: 168
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
Oops, the thread has been digging out of the past here:

https://www.mobileread.com/forums/sh...6&postcount=27

So i started to read back a little bit and didnt noticed that it was so old.
Sorry
Vroni is offline   Reply With Quote
Advert
Old 08-29-2019, 12:32 PM   #36
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 5,270
Karma: 12221060
Join Date: Sep 2009
Location: UK
Device: PRS-350, Kobo: Aura6", H2O, GloHD, KA1, ClaraHD, Forma
Quote:
Originally Posted by lumpynose View Post

Criticisms, thoughts?
FWIW this is a 'thought' not a 'criticism' regarding the following line of your code:

Code:
      <li id="ref1">Hannibal, Missouri. (<a href="#backref1">Return to previous place.</a>)</li>
Before you put a lot of effort into coding them this way I'd be inclined to double-check whether splitting the id="..." and href="..." attributes across 2 different tags messes up some devices' ability to display footnotes as pop-ups. A simple first test would be to see whether the calibre Viewer pops them up properly.
jackie_w is offline   Reply With Quote
Old 08-29-2019, 01:50 PM   #37
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 4583858
Join Date: Jul 2012
Device: Palm Pilot M105
Quote:
Originally Posted by jackie_w View Post
FWIW this is a 'thought' not a 'criticism' regarding the following line of your code:

Code:
      <li id="ref1">Hannibal, Missouri. (<a href="#backref1">Return to previous place.</a>)</li>
Before you put a lot of effort into coding them this way I'd be inclined to double-check whether splitting the id="..." and href="..." attributes across 2 different tags messes up some devices' ability to display footnotes as pop-ups. A simple first test would be to see whether the calibre Viewer pops them up properly.
These are plain links, to another place (the end) in the current file. Pop ups seemed more fragile so I decided to go with end notes. The [Note 1] jumps to the end note, then that end note has a (Return to previous place.) to go back.
lumpynose is offline   Reply With Quote
Old 08-29-2019, 02:38 PM   #38
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 4583858
Join Date: Jul 2012
Device: Palm Pilot M105
Quote:
Originally Posted by KevinH View Post
You re replying to a comment made in 2016. I had to re-read the entire thread to see what if anything you were referring to.

All I can say is Sigil is for editing epubs, and is not an epub reading system. So how footnotes are created from an editing perspective is what we focus on and not how a particular reader decides to implement that (ala iBooks or not).

I believe DiapDealer expressed similar thoughts in his answers, so I think we are on the same page.

What brought this topic back up?
I referenced roger64's comment "On touch screens, foot/endnotes are not that much reliable, even with bigger anchors" and I was soliciting feedback about using a simple method of linking, not using a smaller size superscript.
lumpynose is offline   Reply With Quote
Old 08-29-2019, 03:37 PM   #39
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 1,437
Karma: 7010385
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by KevinH View Post
You re replying to a comment made in 2016. I had to re-read the entire thread to see what if anything you were referring to.

[...]

What brought this topic back up?
Exactly...

Quote:
Originally Posted by jackie_w View Post
Before you put a lot of effort into coding them this way I'd be inclined to double-check whether splitting the id="..." and href="..." attributes across 2 different tags messes up some devices' ability to display footnotes as pop-ups. A simple first test would be to see whether the calibre Viewer pops them up properly.
Exactly. Doing it that convoluted way will probably break the footnote heuristics in many of these readers.

Quote:
Originally Posted by lumpynose View Post
In my next batch of books, the first with footnotes, I've decided to use end notes and put them at the end of the chapter / xhtml file. In the body of the text I'm using

Code:
<a id="backref1" href="#ref1">[Footnote 1]</a>
[...]

Again, an easy to tap link for returning. Perhaps crude and inelegant but it's easy to tap.

Criticisms, thoughts?
Big mistake on nearly all fronts.

1. "[Footnote 1]" is unnecessarily long. It would make heavily annotated text nearly unreadable, and would also break across lines.

To make it easier to click, you already unsuperscript it + add a little buffer with brackets: [1]. That's enough to help readability without being too intrusive, and still helping fat fingers.

2. Relying on <ol> for auto-numbering is also bad, and it can't be relied upon across readers, especially when generating complicated numbering schemes ("d.1") or multiple sets of footnotes (Numbered + Greek + Symbols).

Heck, many of the ereaders have bugs starting <ol> with a number higher than 1!

Quote:
Originally Posted by lumpynose View Post
Pop ups seemed more fragile so I decided to go with end notes. The [Note 1] jumps to the end note, then that end note has a (Return to previous place.) to go back.
If you just KISS, the built-in popup functionality of readers will work. There's no need to try to recreate the wheel with some complicated convoluted code.

Either use the EPUB3 footnotes specified in Doitsu's Post #4... or use normal, simple EPUB2 code.

I won't go into further detail on Footnotes, I've written extensively on all the pros/cons and concepts behind all different types.

Here's just two of the topics:

See my discussion on Footnotes in "A link to jump back to the original start point?" (especially Posts #8+).

For a much larger overview of all kinds of book digitization problems that may crop up, see my posts in "Delicate text digitalizing + scanning issues".

For even more info: See this link.

Last edited by Tex2002ans; 08-29-2019 at 03:43 PM.
Tex2002ans is offline   Reply With Quote
Old 08-29-2019, 03:43 PM   #40
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 55,459
Karma: 51439620
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by jackie_w View Post
FWIW this is a 'thought' not a 'criticism' regarding the following line of your code:

Code:
      <li id="ref1">Hannibal, Missouri. (<a href="#backref1">Return to previous place.</a>)</li>
Before you put a lot of effort into coding them this way I'd be inclined to double-check whether splitting the id="..." and href="..." attributes across 2 different tags messes up some devices' ability to display footnotes as pop-ups. A simple first test would be to see whether the calibre Viewer pops them up properly.
Can you give an example of footnote code that would create a popup on a Kobo using kepub? Thanks.
JSWolf is offline   Reply With Quote
Old 08-29-2019, 03:44 PM   #41
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 5,270
Karma: 12221060
Join Date: Sep 2009
Location: UK
Device: PRS-350, Kobo: Aura6", H2O, GloHD, KA1, ClaraHD, Forma
Quote:
Originally Posted by lumpynose View Post
These are plain links, to another place (the end) in the current file. Pop ups seemed more fragile so I decided to go with end notes. The [Note 1] jumps to the end note, then that end note has a (Return to previous place.) to go back.
I can only speak from my Kobo experience but the "plain there-and-back-again links using <a> tags" that you posted can often be perfectly adequate for displaying notes as pop-ups in kepubs. No other special HTML/CSS is required if you code your <a> tags correctly.

Anyway, it's up to you how you proceed. I just thought I'd mention it.
jackie_w is offline   Reply With Quote
Old 08-29-2019, 04:39 PM   #42
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 55,459
Karma: 51439620
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by jackie_w View Post
I can only speak from my Kobo experience but the "plain there-and-back-again links using <a> tags" that you posted can often be perfectly adequate for displaying notes as pop-ups in kepubs. No other special HTML/CSS is required if you code your <a> tags correctly.

Anyway, it's up to you how you proceed. I just thought I'd mention it.
Thanks. Next time I have a footnote heavy eBook, I'll give it a go.
JSWolf is offline   Reply With Quote
Old 08-29-2019, 05:17 PM   #43
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 4583858
Join Date: Jul 2012
Device: Palm Pilot M105
Quote:
Originally Posted by JSWolf View Post
Can you give an example of footnote code that would create a popup on a Kobo using kepub? Thanks.
If I remember correctly I think you just put it in an aside tag. The html I'm using I got from the Daisy page.

Edit: here's the link: http://kb.daisy.org/publishing/docs/html/notes.html

They don't have an id for the end note example so I put it on the li tag (because I didn't understand that they weren't linking to the end note).

Last edited by lumpynose; 08-29-2019 at 05:22 PM.
lumpynose is offline   Reply With Quote
Old 08-29-2019, 06:27 PM   #44
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 4583858
Join Date: Jul 2012
Device: Palm Pilot M105
Quote:
Originally Posted by JSWolf View Post
Can you give an example of footnote code that would create a popup on a Kobo using kepub? Thanks.
I'll have to test this on the kobo, but what partially works with Calibre's vewer is this.

I'm using the reset css from https://github.com/FriendsOfEpub and in it is:

Code:
[hidden] {
  display: none;
}
My footnote is still the clunky one that's not superscripted. It's using the same stuff from the daisy.org page:

Code:
<a href="#ref1" role="doc-noteref" epub:type="noteref">[Note 1]</a>
Following that paragraph is the aside:

Code:
<aside hidden="hidden" id="ref1" role="doc-footnote" epub:type="footnote">
  <p>See page 450.</p>
</aside>
The part I don't understand is how to hide the aside. If I take out the hidden attribute then it's displayed after the paragraph. With the hidden attribute included the popup is empty.
lumpynose is offline   Reply With Quote
Old 08-29-2019, 06:40 PM   #45
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 55,459
Karma: 51439620
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
When I'm cleaning up footnotes, I use [1] [2] [3] etc. I really dislike superscripted links. I want a link large enough to be seen.
JSWolf 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
Displaying end/foot notes in ePub FlorenceArt Apple Devices 0 12-10-2015 08:31 AM
Asterisk (link to foot notes) almost invisible HansTWN Kobo Reader 1 08-15-2013 05:36 AM
How to skip foot notes: normal flow theducks ePub 7 11-27-2012 12:00 PM
Multiple foot notes with same id Ti-Ron ePub 2 10-04-2012 08:27 PM
Handling end notes Artha Sigil 5 11-22-2011 05:05 PM


All times are GMT -4. The time now is 08:35 AM.


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