View Single Post
Old 02-04-2011, 04:49 PM   #7
Fergus44
Junior Member
Fergus44 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2011
Location: Colorado
Device: IPad Air
ldolse
Thank you so much for your explanation. I have also been struggling to get the ToC to appear when converting various formats to mobi, even trying Sigil, when what I needed was your advice to click the magic wand in S&R to find the right heading that begins the chapter you want to show in the ToC. Most of mine have been simple h3 in the level 1 but it is good to know various codes in the x-path like the one you offered "//*[((name()='h1' or name()='h3') and re:test(., '\d+', 'i')) or @class = 'chapter']" can be used for more complex structures. I'm still only a week into learning calibre but have already fallen in love with its versatility and usefulness in conjunction with the Kindle. As well as the helpfulness of the members of this forum.
Thanks again,
Doug
Fergus44 is offline   Reply With Quote