|12-05-2010, 08:04 PM||#1|
Join Date: Jan 2009
Device: Sony PRS-505
Table of Contents Creation Not Working
Okay, bear with me, I'm really not an html editor but I get some of the very, very basic stuff.
I'm editing an epub book in Sigil and using Calibre to create a table of contents. The trouble is that when I use Calibre to search for chapters (I clicked the "Force" button and even used the xpath code for h2 to locate chapters). I've created chapter headings (h2) in Sigil and thought that would help Calibre locate the Chapter starts.
Unfortunately, after finishing in Calibre, I end up with no table of contents. When I click the table of contents tab a window opens on the side of Calibre that says "Start" and nothing else. All that does is take me back to the main page.
Did I even describe this well enough for anyone to understand what I mean? How can I get Calibre to create a table of contents?
EDIT: Mod, feel free to delete. I feel like an idiot now but I realized what I was doing wrong. Apparently I needed to select: "Force use of auto-generated table of contents," put //h:h2 in Level 1, and then go back to structure detection and type in //h:h2[re:test(., 'chapter', 'i')]
It appears to have worked, though I have still to go through all of the chapters and see if it works completely.
Last edited by MV64; 12-05-2010 at 08:20 PM.
|12-07-2010, 04:37 AM||#2|
Join Date: Jul 2010
Device: PW2, Nexus7
Although you have solved your own problem, I'm not quite sure why you are using calibre in this scenario at all. Sigil will automatically generate your ToC from your html header tags, you don't need calibre for this.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Help with my Table of Contents||Skylinefranc||Calibre||0||03-19-2010 12:55 AM|
|First chapter of table of contents not working||Amalthia||Calibre||3||09-11-2008 02:46 PM|
|only the table of contents||wang960||Sony Reader||3||08-29-2008 12:45 PM|
|Creator Table of Contents||Nate the great||Kindle Formats||5||07-10-2008 05:55 AM|
|PRS-500 Is Working Table of Contents Possible with RTF?||Falstaff||Sony Reader Dev Corner||2||12-20-2006 11:42 PM|