|
|
#1 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 96
Karma: 52102
Join Date: Jun 2010
Device: Kobo Touch; Blackberry w/MobiPocket Reader
|
Occasional TOC navigation issues (epub goes to wrong loc'n)
In 99% of cases everything works perfectly. However in a small number of cases, TOC navigation gets screwed up in a very minor way in the final epub - ie, selecting a TOC entry navigates to the last line of the text page *before* the actual chapter, instead of to the top of the page where the chapter number is as would be expected. When using the TOC on the original epub, it doesn't do that, and when using the in-line TOC in the HTML file it navigates exactly to the chapter number text, but not in the .epub. Anyone know why and if there is a simple fix? Cheers The REAL Joe |
|
|
|
|
|
#2 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,713
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
I am not sure that Calibre can detect an Anchor that happens Before an Chapter heading.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 96
Karma: 52102
Join Date: Jun 2010
Device: Kobo Touch; Blackberry w/MobiPocket Reader
|
Quote:
Cheers The REAL Joe |
|
|
|
|
|
|
#4 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,713
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
(the #...) part in the NCX. the chapter_filename is enough. The file opens at the beginning in lieu of any directive. You do need mid file anchors., but those are not the problem you are having.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,095
Karma: 3332928
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350/650/T1, PB360, KoboGlo, KoboAuraHD
|
You don't need anything other than the chapter heading tags (<h2> in your case) in your html file. Calibre will insert the chapter pagebreaks when you convert the html to epub, depending on your settings on the Convert - StructureDetection page.
|
|
|
|
|
|
#6 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 96
Karma: 52102
Join Date: Jun 2010
Device: Kobo Touch; Blackberry w/MobiPocket Reader
|
True, but without the anchors, then the in-line TOC (ie with the HTML hyperlinks) doesn't work...
|
|
|
|
|
|
#7 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,713
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
Sample TOC: Spoiler:
BTW I had to fix the file nameD, they were off by one. Chapter 1 was calling the Prologue file (someone else's Calibre conversion)
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
Last edited by theducks; 09-30-2011 at 11:11 PM. Reason: Spoiler added |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fix TOC that points to wrong chapter? | lunixer | Sigil | 20 | 07-31-2011 07:27 PM |
| Unicode characters OK in text but wrong in TOC | paulpeer | ePub | 8 | 01-15-2010 06:17 PM |
| Making a TOC for LRFs? Issues with Calibre + LRF TOC editor not working | Magitek | LRF | 0 | 05-06-2009 01:25 PM |
| Missing interface for threaded TOC navigation? | salty-horse | Sony Reader | 0 | 11-28-2008 08:26 AM |