![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 464
Karma: 1006520
Join Date: Mar 2010
Location: Alberta, Canada
Device: Kindle PW3
|
Trouble generating a TOC
Hi all,
I have drm freed a book of mine - I have an html file which I am telling Calibre to convert to ebup. Problem is a TOC does not generate. Below is a sample of the html: -------------------------------------- <p>Â*</p> <p class="i4"><span id="ch26-page_7"> </span> <span id="ch26-ch02"> </span> </p> <h1 title="Barbie"/> <div class="center"><span class="big"><b>BARBIE<br/> </b></span></div> <p>Â*</p> <p class="i4"><span id="ch26-page_8"> </span> <span id="ch26-page_9"> </span> </p> <div class="center">1<br/> </div> ------------------------------------------ The chapter name in this case is Barbie and as you can see there are h1 tags, but no TOC gets generated. I've tried creating a Level 1 XPath expression of "//h:h1", but that is not working. Does anyone have any suggestions? Thanks. Last edited by foghat; 05-07-2010 at 04:56 PM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,195
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It needs to be a non empty tag
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 464
Karma: 1006520
Join Date: Mar 2010
Location: Alberta, Canada
Device: Kindle PW3
|
Got it. Works once I clean it up.
Thanks. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem generating TOC | ronin712 | Calibre | 11 | 09-06-2015 11:53 PM |
Generating TOC entries for prelims / end matter in InDesign | forlor | ePub | 7 | 07-07-2010 08:26 AM |
Generating from Wikipedia | ahi | Workshop | 0 | 08-10-2009 11:44 AM |
Problems generating ePub from HTML/CSS | AlexBell | Calibre | 3 | 07-17-2009 05:10 AM |
Making a TOC for LRFs? Issues with Calibre + LRF TOC editor not working | Magitek | LRF | 0 | 05-06-2009 01:25 PM |