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

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 06-21-2013, 05:40 AM   #1
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: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
How do you deal with footnotes?

I'm curious as to how people handle footnotes when converting a text to ebook.
  • How do you style the foot/end-note list?
    My personal preference is a <dl> list, formatted so <dt> and <dd> are on the same line. I like it because it has a decent default fall-back if CSS is unsupported.
  • How do you style the references?
    I use the number with a right parenthesis, small font, vertical-align top.
  • How do you convert the notes to links?
    I tag them as references/notes as they pop up, and then use awk to insert requisite links, numbering, assorted formatting and move the notes themselves to the end of the chapter. What other automated tools exist?
  • What happens if you include the note itself in the note reference in a TITLE attribute?
    The TITLE contents are shown as a tooltip box in a browser if you keep the pointer above the element. I know what happens in ePub2 (nothing), but what happens in an iBook or an AZW book? And if I include TITLE attributes in an ePub2 book in an attempt to future-proof it, do I risk readers barfing because of it?
SBT is offline   Reply With Quote
Old 06-21-2013, 06:05 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
I just use endnotes with in the text an anchor to the note (and a link back). I use superscript for the notenumber (both in the reference and in the endnote) and no special formatting otherwise.
Conversion to this is done automatically by the tools I use, I don't have to change anything in most cases.
Toxaris is offline   Reply With Quote
Advert
Old 06-21-2013, 06:16 AM   #3
John123
Connoisseur
John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40
 
John123's Avatar
 
Posts: 82
Karma: 73150
Join Date: Feb 2011
Location: Scottish Highlands
Device: Samsung Note, Kindle, hudl2
This debate will rage on ...

https://www.mobileread.com/forums/sho...d.php?t=197911
John123 is offline   Reply With Quote
Old 06-21-2013, 06:40 AM   #4
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: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
Quote:
Originally Posted by Toxaris View Post
Conversion to this is done automatically by the tools I use, I don't have to change anything in most cases.
So what tools do you use?
SBT is offline   Reply With Quote
Old 06-21-2013, 07:52 AM   #5
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: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by SBT View Post
How do you style the foot/end-note list?
Simple markup with backlink, no lists:

Code:
<div class="footnote" id="note2">

<p><span class="mark">*</span> Son of Azog. See chapter 1.</p>

<div class="backlink">
<a href="Chapter-17.xhtml#note2b">Back</a>
</div>
</div>
Code:
div.footnote {
  margin: 1em 0 1em 0;
  page-break-before: always;
}
div.backlink {
  text-align: center;
  margin: 2em 0 0 0;
}
div.footnote p {
  text-indent: 0;
}
span.mark {
  font-weight: bold;
  margin: 0 1em 0 0;
}
If CSS is unsupported, fallbacks are unpredictable anyway...

Quote:
How do you style the references?
Code:
Bolg<a class="call" href="Notes.xhtml#note2">*</a> of the North is coming
Code:
a.call {
  font-size: 60%;
  vertical-align: text-top;
}
It's sometimes difficult to select with a touchscreen, but my reader let's me select link by using the up/down keys. If footnotes are numbered rather than symbols, I just use the number (no parentheses) instead of the asterisk

Quote:
How do you convert the notes to links?
I add the code using ¬ (or other unusual character) instead of the note number, that makes the code the same for all notes. Then I number the notes with vim, something like:

Code:
: let n=1 | g/¬/s/¬/\=n/g | let n+=1
Quote:
What happens if you include the note itself in the note reference in a TITLE attribute?
As you say, nothing. I don't think it will cause any reader to fail, but the real problem (to me) is that you cannot style the title attribute: no paragraphs, no italics, no links...
Jellby is offline   Reply With Quote
Advert
Old 06-21-2013, 09:59 AM   #6
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by SBT View Post
So what tools do you use?
My own.
Toxaris is offline   Reply With Quote
Old 06-21-2013, 03:58 PM   #7
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Atlantis will take footnotes and convert them to endnotes including the back links when the ePub is created. This is how I deal with them.

Dale
DaleDe 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
Barnes & Noble - Deal or No Deal? SensualPoet News 41 08-21-2011 10:36 PM
Footnotes Kumabjorn Amazon Kindle 1 07-10-2010 04:55 AM
PRS-300 Footnotes bugjd Sony Reader 3 06-08-2010 05:15 PM
Fictionwise - not a real deal, but possibly a good deal? orwell2k Deals and Resources (No Self-Promotion or Affiliate Links) 4 02-10-2010 08:43 AM
PRS-600 Footnotes MelC Sony Reader 2 01-27-2010 12:45 PM


All times are GMT -4. The time now is 12:44 PM.


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