XML technologies / ePUB / ePub für (In)Designer / Book features / Adding a table of contents / Linking the table of contents

(Excerpt from “ePub für (In)Designer — Mit InDesign Schritt für Schritt zum E-Book” by Sascha Heck & Yves Apel)

Detaching the automatic table of contents also removes its hyperlinks, which must now be set manually. First define a text anchor to link to. Go to chapter 1, click its title and choose in the Hyperlinks panel New Hyperlink Destination. Assign a name and choose the type Text Anchor.

Defining text anchors for the table of contents

Figure: Defining text anchors for the table of contents.

Then select the contents line that needs a hyperlink. In the Hyperlinks panel, choose New Hyperlink and link to the new anchor. (Warning: A bug is described under Cross-references.)

Linking to the text anchor

Figure: Linking to the text anchor.

Repeat for all remaining contents hyperlinks. Once the contents is complete, edit the links in the final ePub as described under Changing hyperlink appearance. Otherwise they appear in an unattractive default blue with underlining.

Finished contents in Adobe Digital Editions

Figure: A possible finished table of contents.

Further information on hyperlinks and cross-references appears under Cross-references and links.

  

 

 

 

back to top