Quote:
Originally Posted by Doitsu
KindleGen has one really annoying bug: it can't resolve links to elements that have been hidden with:
I your hidden class uses display: none; KindleGen will treat the whole heading as if it didn't exist. That includes ids.
|
I already got bitten by that bug earlier : / It was when I had done my anchor tags like this:
Code:
<a name="Start" class="hidden">Chapter One</a>
After getting a warning from Kindle Previewer, I changed the code to what you saw in my first post (i.e. wrapping the chapter name in a span with class "hidden" instead of giving the "hidden" class to the anchor tag), and the warning no longer occurred. The rest of my table of contents links work fine. It's just the SRL that's messed up.
I've done some further research and learned this is another option for the <guide> section:
Code:
<reference href="Text/Frontmatter.html#coverpage" title="Start here" type="other.start"/>
It's definitely not in my <guide> section at present, so could that be the trick? Setting type to "other:start" instead of "text"?