Quote:
Originally Posted by HarryT
The Mobi-specific "<mbp: pagebreak>" tag definitely works. This is what I use in all my books.
|
If I were to use your finished .prc ebook as the source for my ebook conversion into different formats via calibre and/or Mobi2IMP, then I won't need to be overly-concerned with what's coded within your .html used to create that .prc.
However, if I was using your .html to create my various ebook formats, then I would need to somehow convert any and all mobi-specific tags into their html equivalent. Which begs the question, why insert them in the first place when html code equivalants exist? I mean, using CSS it is a simple task to add to the <head> section of the .html, the following style declaration:
Code:
<style type="text/css">
h2 { page-break-before: always; }
.pb { page-break-before: always; }
</style>
then any and all <h2> tags will have page-breaks added to them. Or using classes just insert
<div class="pb" /> instead of
<mbp: pagebreak>. At worst, for the CSS-challenged

, then just insert the in-line page-break style
<div style="page-break-before: always" /> instead.
I know the REB1100 uses
<hr size=0> or
<hr NEW-PAGE> as it's page-break tags and the .imp format uses
<pb> as it's shortcut, but would never use them for html code meant to be used for other ebook formats.