View Single Post
Old 05-01-2011, 03:39 PM   #11
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by mtrahan View Post
Is there something special to do after splitting a file to get Sigil modify correctly the endnotes links? I just tried splitting a file and nothing was changed in my endnotes links... (using Sigil 0.3.4)

My endnotes are done like this: in the text I put <a href="../Text/index_split_18.html#en-1" id="en-1"><sup>1</sup></a>

And in the index_split_18.html files where the notes are located I put this:<p class="footnote"><a href="../Text/index_split_0.html#en-1" id="en-1">1</a>. NOTE TEXT</p> with index_split_0.html being the file where I put the first part.

Thanks again for the help.
I notice that the link target "#en-1" is the same as the link id (id="en-1"). You are probably able to get away with this initially, because the endnote link and the return-from-endnote link are in separate files. But IMHO this is asking for trouble, and may be confusing the logic in Sigil that adjusts the link targets.

I advise using, say

Code:
<a href="../Text/index_split_18.html#en-1" id="txt-1"><sup>1</sup></a>
in the body of text, and then

Code:
<p class="footnote"><a href="../Text/index_split_0.html#txt-1" id="en-1">1</a>. NOTE TEXT</p>
in the endnotes. That way, there's less chance for confusion.
st_albert is offline   Reply With Quote