![]() |
#1 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Nov 2008
Device: PRS505, Kindle 3G
|
TOC error when converting HTML
Hi,
I've serached everywhere and cant find a solution. When I try and convert an html file with chapter detection (Detect chapter at tag regEx: h\d,class,chapter ) it works fine, but when I tell it to "Add chapters to table of contents (and have "Chapter" or "h\d,class,chapter" in the box marked Regular Expression), Calibre comes up with a big custom error box. Part of the error message : "Job: **Convert book: Reference** **tuple**: ('LrsError', u'TOC text block must be already appended to a page') **Traceback**:" I'm converting html that I have extracted from an app I use (trying to make a very useful reference library), so can alter the structure if needed. Here is what it's using at the moment: < h 1 c l a s s = " c h a p t e r " > C h a p t e r 1 - T e s t 1 < / h 1 > Am i doing something wrong? As I say, if i leave the TOC box unchecked, it works fine and I get a nice lrf all split up into chapters. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,333
Karma: 21696336
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
probably a bug, open a ticket and attach the file causing the problem with the exact parameters you used
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Nov 2008
Device: PRS505, Kindle 3G
|
Thanks - I'll set up a ticket.
Slightly off topic but a MASSIVE thanks for the software! I bought my first electronic book today (505), plugged it in, and Calibre detected it then easily copied across all my books I'd prepped during the week - brilliant! |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML Book + non HTML TOC to epub | aarcane | Calibre | 4 | 03-02-2010 03:58 AM |
multiple repeat error converting HTML to MOBI | moog | Calibre | 0 | 02-05-2010 02:03 PM |
runtime error when converting html | AngrySpoon | Calibre | 4 | 01-09-2010 05:57 PM |
Error when converting html to LRF | Amalthia | Calibre | 1 | 11-18-2009 10:07 AM |
Error in converting files html --> Mobipocket | adamsloco | Calibre | 0 | 08-29-2009 11:30 PM |