06-25-2009, 05:59 AM | #1 |
Member
Posts: 14
Karma: 10
Join Date: May 2009
Device: Sony 505
|
html2epub: chapter splitting on more than 1 heading level
Hi all,
In Calibre it's possible the split an html file into chapters using XPath predicates. In my case //*[name()='h1' or name()='h2'], for splitting into html on both h1 and h2 level. I haven't found a way to do the same in html2epub. It returns syntax error near unexpected token `('. Any idea how this can be solved? Other XPath expressions for getting the same result are welcome as well, of course! |
06-25-2009, 09:17 AM | #2 |
Member
Posts: 14
Karma: 10
Join Date: May 2009
Device: Sony 505
|
Solved, just put it between quotes.
|
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issue with Sigil and chapter titles (Heading 2) | AprilHare | Sigil | 18 | 02-05-2020 08:14 PM |
How to avoid page break after heading/chapter | tkirke | ePub | 6 | 01-22-2010 02:12 PM |
HTML2EPUB Command Line for splitting chapters | stratman | Calibre | 6 | 01-22-2010 09:26 AM |
Controlling chapter heading sizes? | Djehuty | Calibre | 3 | 04-27-2009 08:02 PM |
html2epub TOC and chapter detection help | ilovejedd | Calibre | 6 | 02-22-2009 05:58 PM |