View Single Post
Old 02-07-2017, 06:28 AM   #1
Trigun
Connoisseur
Trigun began at the beginning.
 
Posts: 98
Karma: 10
Join Date: Oct 2014
Device: kindle pw3
html to epub and chap detection

hello
i use the tool ebook-convert for convert a html file in a epub
in my html file i have
Code:
<mbp:pagebreak /><mbp:section>
at the end of each chapter but after the convert i lose the chap division.... how i can prevent it?


Code:
[..] </div> 
</div><mbp:pagebreak /><mbp:section><header></header> 
<div class="entry-content"> 
 <div id="chapterContent" class="innerContent fr-view"> 
  <p dir="ltr">Chapter [..]

i use :
ebook-convert "something.html" "something.mobi"

PS the format of the chapter isn't always the same but the pagebreak and section is always at the end of the chapter
sometimes the chapter is in a <h2> tag and is detected, but i don't have a standard

Last edited by Trigun; 02-07-2017 at 06:33 AM.
Trigun is offline   Reply With Quote