Quote:
Originally Posted by DiapDealer
Epubs need to use xhtml (or html5 for epub3). Mbp: is not valid xhtml (or html5). It sounds like your html contains raw mobi markup to me.
|
I agree. Better to just remove that non-standard <mbp> code and stick with normal XHTML.
Quote:
Originally Posted by jray9242
Thank you both for the information.I used mbp:pagebreak for formatting based on Notjohn's blog on posting to Amazon.
|
If you were trying to get page breaks, it would probably be best to use CSS.
HTML:
Code:
<p class="pagebreak">* * *</p>
CSS:
Code:
p.pagebreak {
page-break-before: always;
}
Or just split each individual piece into its own HTML file (the only real universal solution to guarantee it will be on their own pages).
Quote:
Originally Posted by jray9242
I don't use the <H1> so I will look at the TOC error again.
[...]
Now I have to figure out why my TOC links are not working. They work in HTML and in Sigil but not with the Kindle viewer.
|
What's the code?
Side Note: Instead of using something like:
Code:
<p class="part">Part 1</p>
<p class="chapter">Chapter 1</p>
it is better to use <h1-h6> for chapters/subchapters:
Code:
<h1>Part 1</h1>
<h2>Chapter 1</h2>
Marking documents with headings will allow Sigil to generate a correct TOC very easily for you. It also brings many other long-term benefits.