Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-25-2014, 01:29 PM   #1
quixotic23
Junior Member
quixotic23 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2014
Device: Kindle for PC
Problems (?) with table of contents

The TOC links in the "table of contents" box (upper right corner) all work just fine. But when I go to the TOC in the "preview" box, nothing works. (Is it supposed to?)

Same thing when I haul it into Calibre. The links in the "table of contents" box (left side) all work. But there don't seem to be any working links in the output boxes.

Same thing in Kindle. When I pull up "contents" on the left hand side, all of the links work fine. But when the TOC shows up in the main box on the right hand side, there are no links that work. (I'm just using Kindle for PC, so I don't know what an actual Kindle device sees).

Thanks in advance for any help.
quixotic23 is offline   Reply With Quote
Old 01-25-2014, 07:33 PM   #2
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by quixotic23 View Post
The TOC links in the "table of contents" box (upper right corner) all work just fine. But when I go to the TOC in the "preview" box, nothing works. (Is it supposed to?)

Same thing when I haul it into Calibre. The links in the "table of contents" box (left side) all work. But there don't seem to be any working links in the output boxes.

Same thing in Kindle. When I pull up "contents" on the left hand side, all of the links work fine. But when the TOC shows up in the main box on the right hand side, there are no links that work. (I'm just using Kindle for PC, so I don't know what an actual Kindle device sees).

Thanks in advance for any help.
As notjohn told you on the KDP forums, you're confusing the NCX with the Table of Contents, which has to be linked via the OPF. Go to Tools--> Table of Contents--> Create HTML Table of Contents and you'll make an HTML TOC which can then be styled in the corresponding Style sheet. If you're using K4PC as your proofing tool, you're being misled, because it's one of the few "devices" or readers that will display the NCX TOC (the logical TOC); most only use the inline TOC (the HTML TOC).

Do NOT use Calibre to make a file for upload to Amazon; there's no need if you have an ePUB. Just drop the completed ePUB, replete with the HTML TOC, onto Kindle Previewer or use the command-line KindleGen and make a mobi.

Let us know here (you'll get better technical assistance here than you EVER will at the KDP) if you get it done.

Hitch
Hitch is offline   Reply With Quote
Advert
Old 01-26-2014, 03:39 PM   #3
quixotic23
Junior Member
quixotic23 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2014
Device: Kindle for PC
Yup, the preview function at amazon definitely shows that it's not working.

Ironically, this is the first time that I've used the sigil tutorials to assemble the toc. And the first time that I've had each chapter as a separate html file.

Are the separate html files (circled in red) the way to go?

Should I ensure that the links in the preview window work?

Thanks again in advance.
Attached Thumbnails
Click image for larger version

Name:	sigil troubleshoot.GIF
Views:	186
Size:	83.9 KB
ID:	118369  
quixotic23 is offline   Reply With Quote
Old 01-26-2014, 03:49 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by quixotic23 View Post
Yup, the preview function at amazon definitely shows that it's not working.

Ironically, this is the first time that I've used the sigil tutorials to assemble the toc. And the first time that I've had each chapter as a separate html file.

Are the separate html files (circled in red) the way to go?

Should I ensure that the links in the preview window work?

Thanks again in advance.
IMHO it is a clean way
It has nothing to do with TOC generation.

Sigil will use H# tags when you click the TOC button to generate the NCX
(there are tick boxes to hide items, and arrows to change levels BUT... care if you classes take the form h2.classname as the tag will no longer be a h2)

Caution: Save your work before clicking the 'Create HTML TOC' (only on the Tools Menu). This crashes frequently if the book has been modified during the session.

The Tools: TOC...: Create HTML converts the contents of existing NCX into a HTML page
theducks is online now   Reply With Quote
Old 01-26-2014, 03:58 PM   #5
quixotic23
Junior Member
quixotic23 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2014
Device: Kindle for PC
I don't know if this is relevant, but when I try to pull down the menu and select "all" (circled in red), sigil won't let me. It just reverts back to <select headings to include in toc>
Attached Thumbnails
Click image for larger version

Name:	sigil troubleshoot2.GIF
Views:	176
Size:	56.8 KB
ID:	118370  
quixotic23 is offline   Reply With Quote
Advert
Old 01-26-2014, 04:08 PM   #6
quixotic23
Junior Member
quixotic23 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2014
Device: Kindle for PC
There's also this (attachment). A huge discrepancy between the html code and what the Generate TOC box says. Did I bring too much crap over from the odt file? Should I have used word2cleanhtml.com first?
Attached Thumbnails
Click image for larger version

Name:	sigil troubleshoot3.GIF
Views:	198
Size:	37.0 KB
ID:	118371  
quixotic23 is offline   Reply With Quote
Old 01-26-2014, 05:16 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by quixotic23 View Post
I don't know if this is relevant, but when I try to pull down the menu and select "all" (circled in red), sigil won't let me. It just reverts back to <select headings to include in toc>
That implies you only have Level (h)1

Select All, does not mean Tick All. It means Look for in the book.
saves time for example if you use H5 style for 'sign posts' in the story
theducks is online now   Reply With Quote
Old 01-26-2014, 05:20 PM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by quixotic23 View Post
There's also this (attachment). A huge discrepancy between the html code and what the Generate TOC box says. Did I bring too much crap over from the odt file? Should I have used word2cleanhtml.com first?
The balloon help just shows the actual H tag contents that it is referring to.

Your TOC will include all the ticked item, indented as shown.

Note removing a tick also HIDES the item from the list. Remove the tick at the bottom to see a Candidates (and to re-enable those oopses
theducks is online now   Reply With Quote
Old 01-26-2014, 07:15 PM   #9
quixotic23
Junior Member
quixotic23 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2014
Device: Kindle for PC
Should the preview window have live links?
quixotic23 is offline   Reply With Quote
Old 01-26-2014, 07:38 PM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by quixotic23 View Post
Should the preview window have live links?
I rarely us Preview (F10)
The links will work in Book view (if done right )
theducks is online now   Reply With Quote
Old 01-26-2014, 08:31 PM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Looking at the HTML ToC which is partially visible in your screenshot gives it all away: with a link that goes to "../../../Users/Evan/AppData/Local/Temp/AVSTemp16822835/AVSTmpD115145/AVSTmpD115145/OEBPS/Text/#thepartyyears" it's no wonder the links go nowhere.

Use the Sigil feature to generate an HTML ToC; the links will work.

Looks like something went wrong with your links when you imported from LibreOffice. (?)

Last edited by eschwartz; 01-26-2014 at 08:33 PM.
eschwartz is offline   Reply With Quote
Old 01-26-2014, 08:36 PM   #12
quixotic23
Junior Member
quixotic23 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2014
Device: Kindle for PC
I think it's working now. I use "split at cursor" to break at the beginning of the chapter. Then TOC edit to tell the TOC entry where to go (ie, the new html file).

The preview pane still doesn't have any live links, but the TOC pane (alt f3) has links that work.

I'm not sure what went wrong before. I suspect something between the odt and the html, since I was doing pretty much the same thing afterwards.
quixotic23 is offline   Reply With Quote
Old 01-27-2014, 06:48 AM   #13
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Links in Sigil's "Preview" pane will never "work." Do you have a special need to use the Preview widget (with the ability to examine all the various html resources) rather than simply using the Book View pane and the Table of Contents pane? In your case, I would suggest closing the "Preview" pane and not opening it again for any reason. It's confusing you unnecessarily.
DiapDealer is offline   Reply With Quote
Old 02-01-2014, 11:58 AM   #14
quixotic23
Junior Member
quixotic23 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2014
Device: Kindle for PC
Preview is gone. Thanks DD.
quixotic23 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Table of Contents- fine in mobi, problems in epub jmanque Calibre 0 11-13-2011 07:51 AM
Nook Table of Contents Conversion Problems quryous Conversion 0 10-25-2011 03:04 PM
Adding Table of Contents to ePub problems... cates Calibre 2 10-10-2010 04:18 PM
Table of contents problems Shiren ePub 2 03-18-2010 07:51 AM
Problems with Table of Contents davers Sony Reader 3 12-25-2008 09:02 PM


All times are GMT -4. The time now is 05:46 PM.


MobileRead.com is a privately owned, operated and funded community.