Quote:
Originally Posted by Banjo
OK. I must be missing something. The links in the index are calculated by Sigil when I create the index. How do I put a link in the index myself?
|
If you want Sigil to create the links, you'll have to insert
two anchors with
class="sigil_index_marker" attributes and the same text. Obviously, you'll need to hide one of the entries. (In the following example, I used inline styles for demonstration purposes; you'll want to use classes instead.)
To see how it works, create a blank epub2 book, replace the
<body> section of
Section0001.xhtml with the following code and generate the index.
This should generate an index with 4 entries two of which are actually linking to the same targets.