View Single Post
Old 05-20-2012, 09:16 AM   #1
Kikkin
Junior Member
Kikkin began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2012
Device: Kindle
Question Headings appears as links

I have managed to create an EPUB that validates. My starting point was a Word document i saved as filtered HTML and then cleaned up some code manually in Sigil. I moved the styles into a seperate CSS.

In addition to the Sigil generated TOC, i also would like to keep the inline TOC i generated in Word.

The problem is that when i view the finished ebook in Adobe Digital Editions, the headings appears as links. It also seems like (probably due to a Word error) the anchors to the inline TOC are somehow duplicated several times. Example:

Code:
<h1 id="heading_id_5"><a id="_Toc320743655"></a><a id="_Toc324320160"></a><a id="_Toc323988998"><span xml:lang="EN-GB">Leseranmeldelser</span></a></h1>
I guess the only solution to the dublicated id's is to correct this manually, to find which of the Toc-id's that is actually in use and delete the others.

But how can i define that the headings (anchors) should not be desplayed as links?
Kikkin is offline   Reply With Quote