View Single Post
Old 02-03-2017, 04:06 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,767
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by rlevesque View Post
I am converting a Word docx to EPUB. The EPUB has split the file into two sections. I want splits at each chapter break instead. Is there a way to insert splits? And also to remove the existing split which came in the middle of a chapter?
I do it in the convert, I think these are the relevant settings in Preferences>Conversion:

Structure detection->Detect chapters at (XPath expression):
Structure detection->Chapter mark: pagebreak
Structure detection->Insert page breaks before (XPath expression):
Epub Output->Do not split on page breaks unchecked

Try the default XPath settings and adjust if required

I wrote 'I think' because it took me a while to get them right for my purposes, and it was several years ago. I don't use hard coded 'page breaks' in my DOCX's, but I do have Page break before on the Heading 2 Style

BR

Last edited by BetterRed; 02-03-2017 at 04:11 PM.
BetterRed is offline   Reply With Quote