View Single Post
Old 11-18-2013, 12:06 PM   #7
kerliza
Member
kerliza began at the beginning.
 
kerliza's Avatar
 
Posts: 24
Karma: 10
Join Date: Oct 2013
Device: none
Quote:
Originally Posted by Toxaris View Post
How would Sigil know what is a endnote and what is a normal link? I think your best bet is putting the endnotes in a seperate xhtml and remove the links in the generated index to that xhtml file.
Because I have many endnotes per chapter x 14 the separation would require multiple code reentries for linking back and forth. I used your program to convert to html from Word and the hyperlinks were nicely in place.

I would rather separate the indexer from seeing the endnotes but I don't know how to override the indexer's built-in generator. I am using some styles per endnote section as <div class="notes"> and was hopeful I could add css to have this class ignored in the index generator. The index is a work in progress presently and I've hand-done most of it just to get the index to no longer make reference to anything in the endnotes. I've yet to add the bibliography which might also have words the index generator will include, which I don't want.

Because I keep adding words to the index right now I can't separate the endnotes with the hyperlinks in place without a mountain of testing and rewriting new links for over 200 entries to endnotes and pass flight crew.

I am not experienced enough with regex to automate task creation of new hyperlinks outside the chapter text body.

Last edited by kerliza; 11-18-2013 at 12:10 PM.
kerliza is offline   Reply With Quote