02-04-2018, 05:18 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2014
Device: Sony PRST1
|
Footnotes backlink, how to?
Hello, how to get backlink for footnotes? Is there a simple way to do it?
|
02-04-2018, 10:39 AM | #2 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
For me, the simple way is to finish up the book in Word, convert the footnotes to endnotes (it's a one-click process), and then clean up the html before opening it in Sigil. Word does a splendid job with this particular task.
I do however generally move the anchor back to the beginning of the paragraph or anyhow the sentence, because Kindle especially has a tendency to return the reader simply to the footnote number, which hangs disconcertingly at the top left of the screen. If the endnote is at all lengthy or interesting, the reader might well have forgetten the context. I also get rid of the superscript, instead enclosing the number in square brackets for visibility. Superscripts irritatingly increase the spacing between the line they're on and the line above, which to me looks sloppy. |
Advert | |
|
02-04-2018, 11:13 AM | #3 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Best to keep the code very simple.
This would go in your text: Code:
<p>This is an example sentence.<a href="#fn1" id="ft1">[1]</a></p> Code:
<p><a href="#ft1" id="fn1">[1]</a> This is a footnote.</p> |
02-05-2018, 01:56 AM | #4 |
Obsessively Dedicated...
Posts: 3,200
Karma: 34977896
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
I have also seen a few ebooks (from a free website, but can't remember whose) which enclose the link in "less-than / greater-than" signs: < >.
I have not decided if this is brilliance or lunacy. |
02-05-2018, 02:35 AM | #5 | |
null operator (he/him)
Posts: 20,558
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
When I want to dispense with the superscript numbers, I enclose it in '«' and '»'. I used brackets for a while, but when reading the text I tended to parse it as an array index named by the preceding word The guillemets work for me on English texts, but they would look a bit weird in languages that use them to mark dialogue, such as French - who said '14 (quatorze)'. BR Last edited by BetterRed; 02-05-2018 at 02:39 AM. |
|
Advert | |
|
02-05-2018, 03:55 AM | #6 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
in the references Code:
<body> <section epub:type="rearnotes"> <h1>Notes</h1> <aside epub:type="rearnote" id="ftn1"> <p class="note"><a class="noteSymbol" href="../Text/chapter6.xhtml#bodyftn1">1</a> <i>Tamerlan le Grand</i> drame en deux actes de Christopher Marlowe (1564-1593). <i>(N.d.T)</i></p> </aside> .../... Code:
Grand<span class="noteanchor"><a epub:type="noteref" href="../Text/chapter49.xhtml#ftn1" id="bodyftn1">[1]</a></span> avec ... Last edited by roger64; 02-05-2018 at 03:58 AM. |
|
02-05-2018, 01:31 PM | #7 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Or text-to-speech may handle quotation mark characters differently from parenthesis/brackets. Line-breaking may also be handled slightly differently. Quote:
I can imagine the text-to-speech now: <1> = "Less than 1 more than" |
||
02-05-2018, 01:41 PM | #8 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I cannot stand subscript link in an eBook. Too small and easily missed.
|
02-06-2018, 01:07 PM | #9 |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
|
02-06-2018, 11:34 PM | #10 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
It's stable -at least for my use- and has two improvements. - backlink code (as above) - suppression of the deprecated cellspace attribute for tables (for Epub3) which triggered an Epubcheck warning. Last edited by roger64; 02-06-2018 at 11:36 PM. |
|
02-07-2018, 03:10 AM | #11 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
Some corresponding code must be inserted in the CSS sheet to make it work. YMMV, I use this because I like all the anchors to use the same "normal" style (not slanted): Code:
a:link { color: green; background-color: transparent; text-decoration: none; } p.note { margin-top: 10px; font-size: 0.9em; } .noteanchor { margin-left: 5px; font-weight: normal; font-style: normal; font-size: smaller; vertical-align: text-top; color: green; } .noteSymbol { font-size: 130%; font-weight: normal; } Last edited by roger64; 02-07-2018 at 03:15 AM. |
|
02-07-2018, 07:13 AM | #12 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I know the normal thing to do is to have a smaller font size for the footnotes symbol. But with eBooks, that's a bad idea. What I prefer is something like [1] or[*] at a normal font size. It's easier to see and easier to press.
|
02-07-2018, 11:30 PM | #13 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
I had previously thought that English was your first language -contrary to me. Well, let me explain : when someone writes YMMV (your mileage may vary) like I did above, it means it will give you an example, just a personal view. I also chose green colour, you may prefer red or blue, It's fine too. It is childish to immediately jump like a shark on the tiniest bit to affirm yourself wihout even trying to assess it on a general way. You miss the point. You seem to enjoy using this kind of definite statements* for expressing personal views. This harshness, this "fatwa-like" tendency of yours, really puts you in a bad light. After so many years, it's a pity you still seem to be unaware of it. I speak just out of kindness for you. * like not so long ago for example: "Linux Libertine is ugly", but there are others, not to speak about Epub3... Last edited by roger64; 02-07-2018 at 11:45 PM. |
|
02-08-2018, 06:53 AM | #14 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What part of prefer do you take as fact?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Footnotes | aref62 | Calibre | 0 | 05-11-2016 09:15 AM |
Footnotes | goroke | Writers' Corner | 5 | 10-26-2015 08:25 AM |
Footnotes | RafaelKing | Conversion | 1 | 05-19-2013 10:25 PM |
PRS-950 footnotes? | sovre | Sony Reader | 1 | 05-22-2011 07:27 PM |
Footnotes, anyone? | readingaloud | Workshop | 9 | 02-20-2007 11:45 AM |