![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 412
Karma: 546196
Join Date: Mar 2009
Location: UK canal boat
Device: sony prs505, prs650, kobo Glo HD liseuses
|
Footnotes - another contribution
My apologies if this is an elementary bit of html that everybody bar me already knew!
I nicked this style of coding from a "proper" epub and applied it to a text I was working up. It appears to solve the problem of linking from a footnote citation in the main text to the footnote text and then linking back to the citation again. The epub was created in Sigil (bless you Valloric!), and loaded to my Sony 505 via Calibre. The links appear to work in Sigil, Calibre & on the reader. Example: - I've separated the significant bits to make them more obvious. In file ..Text/Section0006.xhtml (an element of the main text): <p>The five novels of this series cover only the earlier half of Judge Dee’s career, when he was serving as magistrate in various districts in the provinces. About this phase the Chinese historical records have little to say beyond the fact that he solved a great number of mysterious crimes. Concerning Judge Dee’s career at Court, however, those records go into considerable detail, for then the judge became a figure of national importance. He was one of the very few statesmen who could bring some influence to bear on Empress Wu, the cruel and dissolute but extremely capable woman who for fifty years ruled the T’ang Empire with an iron hand. [Footnote <sup><a href="../Text/Section0035.xhtml#fnote1" id="fcite1">1</a></sup> ] How Judge Dee tried to reform a corrupt administration and, falsely accused, was sentenced to be tortured to death; by what stratagem he succeeded in escaping from prison and how he effected his return to power; how thereafter he prevented the Empress from committing many a cruel deed and how, as crowning achievement of his career, he thwarted her scheme to place an unrightful heir on the Dragon Throne - all this proves clearly that fact is indeed stranger than fiction.</p> In file ..Text/Section0035.xhtml (Where the notes come from) (no I'm not Charlie's Aunt from Brazil; err, sorry!): <p> <a href="../Text/Section0006.xhtml#fcite1" id="fnote1">[Footnote 1]</a> The second part of Judge Dee’s career has been vividly described by Lin Yutang in his recent historical novel <i>Lady Wu, a True Story</i> (W. Heinemann Ltd., London 1959, Chapter 37); there his name is transcribed Di Renjiay.</p> Hope this is of help to others! |
![]() |
![]() |
![]() |
#2 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
<sup>
With the 505 some prefer the bracket[] rather than superscript because the superscript can be rather small. It can also mess up the appearance by changing line spacing.
Both of these are matters of personal preference, and the superscript does appear less clunky. |
![]() |
![]() |
![]() |
#3 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
But the superscript size can be adjusted, and the line spacing can be fixed:
Code:
sup { font-size: 85%; vertical-align: super; line-height: 0; } |
![]() |
![]() |
![]() |
#4 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
|
Quote:
I would write [Footnote [<a href="../Text/Section0035.xhtml#fnote1" id="fcite1">1</a>] ] ? |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Contribution and bug-fixes | vdevan | OpenInkpot | 14 | 08-03-2009 08:10 AM |
Getting to footnotes | kdelany | Fictionwise eBookwise | 0 | 02-27-2009 03:11 AM |
PDF2LRF contribution fund for CACAPEE! | skyd171 | Sony Reader | 1 | 01-31-2008 05:05 PM |