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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-28-2009, 03:18 PM   #1
gczobel
Enthusiast
gczobel began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jul 2007
Device: Sony Reader PRS-500, Kindle DXG
Is possible to add footnotes?

Just this... is possible?
gczobel is offline   Reply With Quote
Old 11-30-2009, 03:30 PM   #2
Punksmurf
Member
Punksmurf began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2009
Device: Sony PRS-600
It should be.

Look over here for the specifications concerning CSS used in ePub files.

Especially of interest to you should be the oeb-page-head and oeb-page-head values for the display property.

Also, read this (from that same page):

[6] The content of an element assigned display: oeb-page-head should be presented only as a header, and the content of an element assigned display: oeb-page-foot should be presented only as a footer. Neither should be simply presented as if it were inline or block. Reading Systems, however, are free to present headers and footers either in special areas as usual for paper publications, or to make them available in another way. For example, a device with a small screen might instead pop them up on demand. For purposes of page layout, these display values are similar to block boxes with an absolute position (i.e. a position value of fixed or absolute). That is, they are removed from the normal flow and a new block box is created with its own flow. Margins, padding and other block characteristics are determined as if the element had position: fixed set.

An element assigned display: oeb-page-head or display: oeb-page-foot shall not be considered in effect while any preceding content remains presented. For example, when rendered to a screen with appropriate style settings, the myhead-classed div element below would become the page header as soon as nothing preceding the containing div is displayed:

Code:
<div>
   <div class="myhead" style="display: oeb-page-head">
      The OEB Publication Structure: Introduction
   </div>
   <h2>Introduction</h2>
   <p>...</p>
</div>
Such a header (or footer) remains in effect until another header (or footer) is in effect instead, or until no part of its parent element remains presented (such as when the div is no longer visible in the above example), whichever occurs first.



Good luck .
Punksmurf is offline   Reply With Quote
Advert
Old 11-30-2009, 05:13 PM   #3
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
Punksmurf, your comment has nothing to do with footnotes. footers are not the same thing. As to the original question footnotes are simply coded as links to disconnected text. The display of this data is up to the display program but they are most often displayed as end notes.

A specific implementation of footnotes like a wiki has for example is not defined.

Dale
DaleDe is offline   Reply With Quote
Old 11-30-2009, 05:45 PM   #4
Punksmurf
Member
Punksmurf began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2009
Device: Sony PRS-600
I'm sorry, you're right.
Punksmurf is offline   Reply With Quote
Old 12-01-2009, 03:06 AM   #5
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Unless it's been add in recent versions, Sigil currently has no "GUI" support for hyperlink management; they have to be "hand-coded", which is not very friendly. I've already raised a support ticket to request such a facility.
HarryT is offline   Reply With Quote
Advert
Old 12-05-2009, 09:20 AM   #6
gczobel
Enthusiast
gczobel began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jul 2007
Device: Sony Reader PRS-500, Kindle DXG
So... no.
Thanks guys!
gczobel is offline   Reply With Quote
Old 12-05-2009, 11:32 AM   #7
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 27,600
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
Quote:
Originally Posted by gczobel View Post
Just this... is possible?

one problem would be the definition of a 'page'. as e-readers have difficulty handing this, it would seem difficult to define a footer.
unless you 'fix' a page of so many lines long (say 20), that would be retained for most 'normal' font sizes ....

otherwise end-notes ....
GeoffC is offline   Reply With Quote
Old 12-05-2009, 12:24 PM   #8
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
As has been said, hyperlinked end-notes really are the way to go with an e-Book.
HarryT is offline   Reply With Quote
Old 12-05-2009, 12:45 PM   #9
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by GeoffC View Post
one problem would be the definition of a 'page'. as e-readers have difficulty handing this, it would seem difficult to define a footer.
unless you 'fix' a page of so many lines long (say 20), that would be retained for most 'normal' font sizes ....

otherwise end-notes ....
Quote:
Originally Posted by HarryT View Post
As has been said, hyperlinked end-notes really are the way to go with an e-Book.
EPUB actually has support for real headers and footers. See here, and look for the "oeb-page-head" and "oeb-page-foot" properties. Scroll down to the "[6]" footnote for details.
Valloric is offline   Reply With Quote
Old 12-05-2009, 03:23 PM   #10
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 Valloric View Post
EPUB actually has support for real headers and footers. See here, and look for the "oeb-page-head" and "oeb-page-foot" properties. Scroll down to the "[6]" footnote for details.
Right. But no ePUB reading software supports them yet
Jellby is offline   Reply With Quote
Old 12-05-2009, 04:43 PM   #11
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by Jellby View Post
Right. But no ePUB reading software supports them yet
I'm aware of this, yes. Still, that's not the epub's fault. The specification has it, and it would be very nice to have in Reading Systems.
Valloric is offline   Reply With Quote
Old 12-06-2009, 02:31 AM   #12
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 27,600
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
when the tortoise catches up with the hare
GeoffC is offline   Reply With Quote
Old 12-06-2009, 08:40 PM   #13
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
Quote:
Originally Posted by Valloric View Post
EPUB actually has support for real headers and footers. See here, and look for the "oeb-page-head" and "oeb-page-foot" properties. Scroll down to the "[6]" footnote for details.
Headers and footers have nothing to do with footnotes. My old eBookwise supported headers and footers but modern eBook readers seem not to.

Dale
DaleDe is offline   Reply With Quote
Old 12-06-2009, 09:22 PM   #14
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by DaleDe View Post
Headers and footers have nothing to do with footnotes. My old eBookwise supported headers and footers but modern eBook readers seem not to.
Yes, I know. But the way footers are implemented in the epub standard, they could very easily be used for footnotes. See, epub-style footers are not universal throughout the file. You could specify a different footer element ever other element if you wanted to, and then clear it afterwards.

This just begs to be used for footnotes. So you could add a footnote reference to your text like this:

Code:
<div class="footnote" style="display: oeb-page-foot">[1] The Lemming Conspiracy by Wacko Cookie</div>
<p>The proof that lemmings indeed do control the world can be found throughout modern literature [1].</p>
<div class="footnote" style="display: oeb-page-foot"></div>
You would need to list the footer above the first reference, and then clear it below the reference. The footer would be displayed while the <p> element is displayed. When the paragraph goes off the screen, the clearing footer would take over.

Last edited by Valloric; 12-06-2009 at 09:26 PM.
Valloric is offline   Reply With Quote
Old 12-06-2009, 09:50 PM   #15
colinsky
Addict
colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.
 
colinsky's Avatar
 
Posts: 232
Karma: 3232318
Join Date: Sep 2009
Device: Sony PRS-300, PRS-T1, PRS-T3
Yep, Valloric, that's exactly they way I would prefer footnotes to be implemented too (as opposed to endnotes). If only...
colinsky 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
PRS-600 Footnotes MelC Sony Reader 2 01-27-2010 12:45 PM
Getting to footnotes kdelany Fictionwise eBookwise 0 02-27-2009 03:11 AM
Footnotes . . . ? gaudentius Sony Reader 17 02-12-2009 05:04 PM
Footnotes PieOPah Workshop 5 01-22-2009 09:01 AM
Footnotes, anyone? readingaloud Workshop 9 02-20-2007 11:45 AM


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


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