View Single Post
Old 07-23-2014, 08:34 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Looking for suggestions for linking

I saw a nice technique (at least I thought it was pretty cool) to add an link in the text to an endnote and a backlink (?) from the endnote to the original text position.

I was able to get it to work using the [Insert Hyperlink] button but creating the IDs and the rest was tedious and pretty fiddly.

Text file

Code:
  <p>asd<sup id="cite_01"><a href="notes_file.xhtml#note_01">1</a></sup> sdf</p>
  <p>asdfasfasdf</p>
  <p>asd<sup id="cite_02"><a href="notes_file.xhtml#note_02">2</a></sup> sdf</p>
End note file

Code:
  <p><sup id="note_01"><a href="text_file.xhtml#cite_01">1</a></sup> This is note ONE</p>
  <p>asdfasfasdf</p>
  <p><sup id="note_02"><a href="text_file.xhtml#cite_02">2</a></sup> This is note TWO</p>
Is there any technique to automate this or at least make it a little easier?

Thanks
Attached Files
File Type: epub test.epub (2.1 KB, 276 views)
phossler is offline   Reply With Quote