View Single Post
Old 02-22-2009, 05:24 PM   #5
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Hmm... So basically, any of the toc options would add a link to the table of contents but these wouldn't be recognized as a chapter unless it's added specifically to the XPath for chapter detection?

I'm using Windows. Would the following command-line do the trick?
Code:
html2epub input.html --level1-toc //*[@class='booktitle'] --level2-toc //*[@class='chaptertitle'] --chapter //*[@class='chapter']|//*[@class='book'] --chapter-mark both
Thanks!
ilovejedd is offline   Reply With Quote