Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-05-2010, 09:04 PM   #1
MV64
Addict
MV64 ought to be getting tired of karma fortunes by now.MV64 ought to be getting tired of karma fortunes by now.MV64 ought to be getting tired of karma fortunes by now.MV64 ought to be getting tired of karma fortunes by now.MV64 ought to be getting tired of karma fortunes by now.MV64 ought to be getting tired of karma fortunes by now.MV64 ought to be getting tired of karma fortunes by now.MV64 ought to be getting tired of karma fortunes by now.MV64 ought to be getting tired of karma fortunes by now.MV64 ought to be getting tired of karma fortunes by now.MV64 ought to be getting tired of karma fortunes by now.
 
Posts: 267
Karma: 2000000
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 09:20 PM.
MV64 is offline   Reply With Quote
Old 12-07-2010, 05:37 AM   #2
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 667
Karma: 436517
Join Date: Jul 2010
Location: UK
Device: PRS-300 (R.I.P.), 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.
Agama is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with my Table of Contents Skylinefranc Calibre 0 03-19-2010 01:55 AM
First chapter of table of contents not working Amalthia Calibre 3 09-11-2008 03:46 PM
only the table of contents wang960 Sony Reader 3 08-29-2008 01:45 PM
Creator Table of Contents Nate the great Kindle Formats 5 07-10-2008 06:55 AM
PRS-500 Is Working Table of Contents Possible with RTF? Falstaff Sony Reader Dev Corner 2 12-21-2006 12:42 AM


All times are GMT -4. The time now is 09:55 PM.


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