Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2009, 05:59 AM   #1
Portnull
Member
Portnull began at the beginning.
 
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!
Portnull is offline   Reply With Quote
Old 06-25-2009, 09:17 AM   #2
Portnull
Member
Portnull began at the beginning.
 
Posts: 14
Karma: 10
Join Date: May 2009
Device: Sony 505
Solved, just put it between quotes.
Portnull is offline   Reply With Quote
Advert
Reply


Forum Jump

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


All times are GMT -4. The time now is 05:52 PM.


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