View Single Post
Old 09-06-2017, 01:57 AM   #1
jg56
Junior Member
jg56 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2017
Device: none
Newb is editing ToC code - Is filepos important in the href attribute?

Hi all,

Although I’ve never dealt with the internals of an eBook or Calibre, I’m helping a friend (who considers me more technically competent) to edit a Table-of-Contents that was missing a section.

Tools:Table of Contents:Edit Table of Contents was simple to use - just created a new entry and pointed it to the destination.

But there already was some sort of alternate ToC at the end of the e-book. I duplicated a block of ToC code (which pointed to a different section) and edited it as seemed appropriate. It apparently works but is missing one thing: filepos

source:
<a href="index_split_001.html#filepos1010”><span class="bold"> …
or
<a href="index_split_003.html#filepos6701”><span class="bold"> …

my edit:
<a href="index_split_002.html#"><span class="bold">

Seems to work, but is that numerical filepos important? Where can I find that position number for index_split_002.html? Or is that number just a comment, or redundant?

Thank you.
jg56 is offline   Reply With Quote