View Single Post
Old 03-28-2016, 01:10 PM   #16
BobC
Guru
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
Just to give you an idea how fb2 likes footnotes to look here is an example


This is the text which refers to the footnotes:

Code:
<empty-line/>
<p>Welsh genealogists of repute concur however in stating that he was the eldest son of Robert Morgan of Llanrhymney, a small estate in Glamorganshire, near Tredegar Castle, where he was born in 1635.<a l:href="#n1" type="note">[1]</a> The year of his birth is ascertained with tolerable certainty as an affidavit made by him in Jamaica on the 21st November, 1671, definitely states his age as thirty-six.</p>
<empty-line/>
<p>The family of Tredegar was recognized as the head of the clan, of which the Morgans of Llanrhymney were a cadet branch. In a poem, entitled "Prosopoeia Tredegar", believed to have been written by Percy Enderby about 1661, the following lines occur:</p>
<empty-line/>
<poem><stanza>
<v>"And so LanRumney yet must bend the knee,</v>
<v>And from Tredegar fetch their pedigree."<a l:href="#n2" type="note">[2]</a></v>
You will see the form that the originating anchor takes.

And the following fragment are the footnotes themselves :
Code:
</section>
</body>
<body name="notes">
<title>
<p>Notes</p>
</title>
<section id="n1">
<title>
<p>1</p>
</title>
<p> Clark, Limbus Patrum Morganiæ; A. Morgan, History of the Family of Morgan.</p>
</section>
<section id="n2">
<title>
<p>2</p>
</title>
<p> G. Blacker Morgan, Historical and Genealogical Memoirs of the Morgan Family, pp. 5-6.</p>
</section>
<section id="n3">
<title>
<p>3</p>
</title>
<p> E. E. Cuthell, A Vagabond Courtier, Vol. I, p. 3; C. E. Long, "Memoir of Henry Morgan" in Gentleman's Magazine, February, 1832; Calendar of State Papers, America and West Indies, 1663, No. 601.</p>
</section>
.........
You can see they reside in a part of the file with a body name of "notes".

With footnotes formatted like this Coolreader will display them at the bottom of the page. The point here is that Word Processing files such as odt know just what is a foornote/endnote (as opposed to a simple link) and can make the necessary conversion. AFAICS EPUBS (at least EPUB2) have no real concept of a foot/endnote, only of hyperlinks to another location so it is not unreasonable that they cannot convert properly or even distinguish between links you are supposed to follow and ones where the intent is that it will display "footnote-style" at the bottom of the referring page.

This is also why you need to get the book to display footnotes as end-of-page notes in LO before you start to convert to fb2.

The footnote tools in OOOFBTOOLS are designed to handle simple text sources that look something like this :

Code:
Welsh genealogists of repute concur however in stating that he was the eldest son of Robert Morgan of Llanrhymney, a small estate in Glamorganshire, near Tredegar Castle, where he was born in 1635.[1] The year of his birth is ascertained with tolerable certainty as an affidavit made by him in Jamaica on the 21st November, 1671, definitely states his age as thirty-six.</p>
and link it to the relevant footnote formatted like this :

Code:
[1] Clark, Limbus Patrum Morganiæ; A. Morgan, History of the Family of Morgan.
To do this you need to define two areas -
1)the chapter start where the references are
2) an area where the footnotes formatted as above can be found.

This is because in the case of footnote (not endnotes) the references will probably be duplicated with say 20 Footnote 1s , one in each chapter.

I'm labouring this as the instructions for OOOFBTOOLS are a bit difficult to follow as the tool was originally Russian (as is so much fb2).

If you are lucky and you have sequentially numbered endnotes (all the notes in a single section at the end) you can process everything in one step rather than on a chapter by chapter basis. I have a book where I did this with 625 footnotes - all in one operation.

I hope this is reasonably clear - shout if you need any help. I have a copy of an English translation of "Rhetoric" which I was going to send you as I had alreay converted it to fb2 but when I examined it and the source I got it from there were no footnotes in it.

BobC

Last edited by BobC; 03-28-2016 at 01:13 PM. Reason: Submitted when I should have previewed (i.e. it wasn't finished)
BobC is offline   Reply With Quote