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-10-2012, 05:15 AM   #1
alexul
Connoisseur
alexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura about
 
Posts: 63
Karma: 4324
Join Date: May 2010
Location: Romania
Device: PB 360, Kobo Touch
Moving endnotes/footnotes

Hello,
I have a book with a lot of footnotes. Actually the printed version has footnotes, around 4-5 each page. But on the epub, these footnotes have all been moved together as endnotes, there is a whole chapter with them at the end of the book. It is almost impossible to read, because although they are as hyperlinks and I can "click" them it takes a while to navigate there and then I have to navigate back.
I would like to know if there is a script or something automatic to get all those notes and insert them somewhere more closely to where they are used; even if I have to place the text inline is better than the dead time I have now with all this navigation.
Thank you for any suggestion you may have.
alexul is offline   Reply With Quote
Old 08-10-2012, 06:57 AM   #2
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 1,918
Karma: 1405001
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
As far as I know there is nothing automatic to do the job, because it is hard to know where close is. I suppose something could be written with one of the powerful text editors after you insert markers.

I often put the footnotes immediately following the paragraph they refer to because that way they have chance of appearing on the same page. Fine if the footnote is small, not great at all if the footnote in the original book flowed off the page and took up half of the following one. I do shrink the footnote text to 90% font size so it is possible to skip over it visually. You could make them italicized, but there is often italicized text in them already for the book name referred to.

It is all a lot of work.
mrmikel is offline   Reply With Quote
Old 08-10-2012, 09:02 PM   #3
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: 36,131
Karma: 17161828
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
If you move the endnotes closer to the text, you eventually come to the page that has the endnotes and have to skip past. Putting them at the end is the best way to do it.
JSWolf is offline   Reply With Quote
Old 08-11-2012, 03:04 AM   #4
AlexBell
Wizard
AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.
 
AlexBell's Avatar
 
Posts: 2,221
Karma: 3866786
Join Date: May 2008
Location: Launceston, Tasmania
Device: Kindle3, iPad2, Kobo Touch, Sony PRS T3, Nexus 7
Quote:
Originally Posted by JSWolf View Post
If you move the endnotes closer to the text, you eventually come to the page that has the endnotes and have to skip past. Putting them at the end is the best way to do it.
I agree with JSWolf, and wonder what kind and quality of ebook you have if navigation takes so long that it is inconvenient. It only takes a second or so in a properly designed ebook.
AlexBell is offline   Reply With Quote
Old 08-11-2012, 06:03 AM   #5
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 1,918
Karma: 1405001
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
But it doesn't take just a second to create the links back and forth if your reader doesn't have a back button like my little Sony. Sigh.
mrmikel is offline   Reply With Quote
Old 08-11-2012, 09:50 AM   #6
alexul
Connoisseur
alexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura aboutalexul has a spectacular aura about
 
Posts: 63
Karma: 4324
Join Date: May 2010
Location: Romania
Device: PB 360, Kobo Touch
The book is almost 2000 "virtual" pages on my reader, 3600 in Calibre so it might add some extra time this huge size. Also the reader is with a touchscreen so when touching a link sometimes instead of navigating it goes forward or bakwards, depending on link position on screen. After I finished reading the note, I have to tap once to open main menu, once to open navigation menu then once again to go back and wait. So the whole process is not very comfortable.
I am thinking of editing the file and moving the notes at the end of every chapter. There are around 30-40 notes each and maybe create an entry in the table of contents so when I encounter one I go directly to that chaper and back.
alexul is offline   Reply With Quote
Old 08-11-2012, 11:26 AM   #7
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: 36,131
Karma: 17161828
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by mrmikel View Post
But it doesn't take just a second to create the links back and forth if your reader doesn't have a back button like my little Sony. Sigh.
All Sony Readers have a back function. Some call it history back. Same difference.
JSWolf is offline   Reply With Quote
Old 08-11-2012, 11:31 AM   #8
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: 36,131
Karma: 17161828
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by alexul View Post
The book is almost 2000 "virtual" pages on my reader, 3600 in Calibre so it might add some extra time this huge size. Also the reader is with a touchscreen so when touching a link sometimes instead of navigating it goes forward or backwards, depending on link position on screen. After I finished reading the note, I have to tap once to open main menu, once to open navigation menu then once again to go back and wait. So the whole process is not very comfortable.
I am thinking of editing the file and moving the notes at the end of every chapter. There are around 30-40 notes each and maybe create an entry in the table of contents so when I encounter one I go directly to that chapter and back.
You still have the same touch screen link to go to the endnote be they at the end of the chapter or properly at the end of the book. And one you get done with the chapter, you will have to flip 30-40 pages to get past the endnotes as to do it correctly, each endnote should display on it's own page so you don't see the others at the same time. What you are proposing is going to make it a really annoying book to read and one that I would be cursing you for for having made it such an annoyance.
JSWolf is offline   Reply With Quote
Old 08-11-2012, 12:30 PM   #9
ink-sniffer
Junior Member
ink-sniffer began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2012
Device: iPad
It would be amazing if footnote text could "hide" between the lines where the linked reference number is displayed and then appear directly in that position when the link is tapped. I guess this is only possible with JavaScript, which EPUB3 supports, but it will take a while until E-readers fully support that feature and I am really in doubt if I as a reader would want all sorts of scripts to mess up my reading experience.

I think the decision of putting the footnotes at the end of each chapter or the book itself relies mainly on the type of book you create and how footnotes are used. For non-fiction books where the footnotes include much additional information about the subject I'd put them at the end of the chapter, to have the reader occasionally stumble upon them and pick something up they find interesting. If the footnotes only contain information about quoted publications or things of less importance for the reader, I'd bundle them at the end of the book. Luckily, InDesign let's you make those choices by yourself and exports the Footnotes properly. You can even jump back and forth between the reference link and the link in the footnote text, so you don't need any back button.
It's all not perfect, but I think I can live with that.

Last edited by ink-sniffer; 08-11-2012 at 12:33 PM.
ink-sniffer is offline   Reply With Quote
Old 08-11-2012, 01:00 PM   #10
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 1,918
Karma: 1405001
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Quote:
Originally Posted by JSWolf View Post
All Sony Readers have a back function. Some call it history back. Same difference.
But the back function does not take you back to where you jumped from, but to the Options page of the book with my PRS-300.
mrmikel is offline   Reply With Quote
Old 08-14-2012, 03:48 AM   #11
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 501
Karma: 560981
Join Date: Sep 2010
Location: Norway
Device: prs-t1, phone/Cool Reader, tablet/BlueFire, Nook Simple
I thought it was a strongly recommended practice to make part of the footnote itself a link back to the referring line?

BTW, you don't need javascript to get pop-up footnotes, you can do i t with just CSS:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
div.footnote {
display:inline-block;
border-style:solid;
border-width:1px;
background:yellow;
width: 0.6em;
height:0.6em;
overflow:hidden;
position:fixed;
}

div.footnote:active {width:auto;height:auto;}
div.footnote p{
font-size:0.5em;
margin:0 0.2em;
}
div.footnote p+p{ font-size:0.9em;}
</style>
</head>
<body>
<p>Sic transit gloria mundi.Click on this footnote.<div class="footnote">
     <p>1</p>
     <p>Isn't it fun reading through all the footnotes?</p>
</div>&nbsp;&nbsp;&nbsp;
Pretaerae censeo Cartago esse delendam. Navigare necesse est, vivere non est necesse.</p>
<p>Credo Elvem ipsum etiam vivere.</p>
</body>
</html>
, though this won't work with EPUB2, of course.

Last edited by SBT; 08-14-2012 at 10:03 AM. Reason: removed superfluous css code.
SBT is offline   Reply With Quote
Old 08-14-2012, 12:22 PM   #12
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: 36,131
Karma: 17161828
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by SBT View Post
I thought it was a strongly recommended practice to make part of the footnote itself a link back to the referring line?

BTW, you don't need javascript to get pop-up footnotes, you can do i t with just CSS:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
div.footnote {
display:inline-block;
border-style:solid;
border-width:1px;
background:yellow;
width: 0.6em;
height:0.6em;
overflow:hidden;
position:fixed;
}

div.footnote:active {width:auto;height:auto;}
div.footnote p{
font-size:0.5em;
margin:0 0.2em;
}
div.footnote p+p{ font-size:0.9em;}
</style>
</head>
<body>
<p>Sic transit gloria mundi.Click on this footnote.<div class="footnote">
     <p>1</p>
     <p>Isn't it fun reading through all the footnotes?</p>
</div>&nbsp;&nbsp;&nbsp;
Pretaerae censeo Cartago esse delendam. Navigare necesse est, vivere non est necesse.</p>
<p>Credo Elvem ipsum etiam vivere.</p>
</body>
</html>
, though this won't work with EPUB2, of course.
It won't work with ePub 3 either as it's invalid code.

Code:
<p>Sic transit gloria mundi.Click on this footnote.<div class="footnote">
     <p>1</p>
     <p>Isn't it fun reading through all the footnotes?</p>
</div>&nbsp;&nbsp;&nbsp;
Pretaerae censeo Cartago esse delendam. Navigare necesse est, vivere non est necesse.</p>
You cannot have a <div> inside a <p> and you have a <p> inside a <p> as well as the <div>. Basically, the code is a mess.
JSWolf is offline   Reply With Quote
Old 08-14-2012, 01:53 PM   #13
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 1,857
Karma: 4630359
Join Date: Dec 2010
Device: Kindle PW2
@SBT: Thanks for sharing your code.

Quote:
Originally Posted by JSWolf View Post
You cannot have a <div> inside a <p> and you have a <p> inside a <p> as well as the <div>.
As far as the IDPF is concerned you can, because it SBT's code passes the latest version of epubcheck without errors or warnings.

Quote:
Originally Posted by JSWolf View Post
Basically, the code is a mess.
Had you actually tested the code you'd have found out that the code not only passes epubcheck, but also works with some limitations in ADE. There are some cosmetic issues, but SBT's innovative code works as a proof of concept even with ePub2s.

How about you contribute some useful code for a change instead of criticizing everybody else?
Doitsu is offline   Reply With Quote
Old 08-14-2012, 02:10 PM   #14
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 501
Karma: 560981
Join Date: Sep 2010
Location: Norway
Device: prs-t1, phone/Cool Reader, tablet/BlueFire, Nook Simple
Correctly, if somewhat brusquely, noted, JSWolf: Xhtml does not permit div inside p, though it did show up correctly in Chrome.
This minor modification is however considered valid by the w3c validator:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
p.footnote {display:inline;
margin-right:-0.1em;}
div.footnote+p.footnote { margin-left:0.5em;}
div.footnote {
display:inline-block;
border-style:solid;
border-width:1px;
background:yellow;
width: 0.6em;
height:0.6em;
overflow:hidden;
position:fixed;
}

div.footnote:active {width:auto;height:auto;}
div.footnote p{
font-size:0.5em;
margin:0 0.2em;
}
div.footnote p+p{ font-size:0.9em;}
</style>
</head>
<body>
<p class="footnote">Sic transit gloria mundi.Click on this footnote.</p><div class="footnote">
     <p>1</p>
     <p>Isn't it fun reading through all the footnotes?</p>
</div><p class="footnote">
Pretaerae censeo Cartago esse delendam. Navigare necesse est, vivere non est necesse.</p>
<p>Credo Elvem ipsum etiam vivere.</p>
</body>
</html>
SBT is offline   Reply With Quote
Old 08-14-2012, 03:54 PM   #15
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 5,971
Karma: 4346919
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
You can't have a <div> inside a <p>, but nothing prevents you from turning the outer <p> into a <div>, or the inner <div> into a <span> with display:block.
Jellby 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
Footnotes and Endnotes Ken Irving Writer2ePub 2 01-02-2011 09:05 AM
Footnotes/Endnotes crutledge Sigil 17 07-17-2010 11:56 AM
'Unexpected Error' using endnotes, footnotes, etc Gideon Amazon Kindle 0 11-09-2009 11:59 PM
How do endnotes/footnotes work? JSWolf ePub 4 04-22-2009 05:54 PM
Do footnotes/endnotes work in FB2? rfog HanLin eBook 3 12-05-2008 10:22 PM


All times are GMT -4. The time now is 07:04 AM.


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