View Single Post
Old 02-22-2009, 09:35 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,455
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@ilovejedd
On the command line the options are --level1-toc and --level2-toc and --level3-toc

You can use --help to see all the options

As for page breaks, page breaks are only inseted automatically before chapters, not toc items. If you want page breaks use override css with

Code:
.booktitle { page-break-before: always }
.chaptertitle { page-break-before: always }
@HenryP
The XPath expressions refer to the source html file
kovidgoyal is offline   Reply With Quote