View Single Post
Old 06-04-2015, 03:00 AM   #1
RobertDDL
Whatever...
RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.
 
RobertDDL's Avatar
 
Posts: 197
Karma: 1114225
Join Date: Feb 2015
Location: Austria
Device: PocketBook InkPad 840, Touch HD 2
Level 2 headings without page breaks?

To convert HTML to ePub I use

ebook-convert source.htm target.epub --epub-inline-toc --level1-toc //h:h1 --level2-toc //h:h2 --language en

This works fine, but while I want heading levels 2 to show up in the TOC (which they do), I usually do not want them to start new pages.

Is there a way to disable page breaks before headings of a particular (or lower) level?
RobertDDL is offline   Reply With Quote