Thread: EPUB output
View Single Post
Old 03-18-2009, 03:32 PM   #404
ChaosInc
Enthusiast
ChaosInc knows the complete value of PI to the endChaosInc knows the complete value of PI to the endChaosInc knows the complete value of PI to the endChaosInc knows the complete value of PI to the endChaosInc knows the complete value of PI to the endChaosInc knows the complete value of PI to the endChaosInc knows the complete value of PI to the endChaosInc knows the complete value of PI to the endChaosInc knows the complete value of PI to the endChaosInc knows the complete value of PI to the endChaosInc knows the complete value of PI to the end
 
Posts: 43
Karma: 31740
Join Date: Feb 2009
Location: Washington State
Device: iPaq 3800 series
Quote:
Originally Posted by JSWolf View Post
Ok, I've figure out the problem. It seems the problem is when the #blah is something like #1, #2, #3, #4, etc...

When I changed them to #C1, #C2, #C3, #C4, etc, the ToC then worked on the 505.

I also had to change <a name="15" id="15"/> to <a name="C15" id="C15"/>

No idea what's wrong. But now that we know the solution, maybe this can be changed in Calibre's ToC generator for ePub.
If I understand correctly...

You took out the 'anchors' in the 'internal ToC' (the ones marked <a href="#blah"> of the file, changed the 'anchor point' for anchor #15 (<a name="15">, and the external ToC worked? Did the internal ToC also work then?

Somehow, unless I see what you did, I don't think that would work on a consistent basis.

The internal ToC should have had nothing to do with the external Toc that the Calibre created for the ePub.
ChaosInc is offline   Reply With Quote