Quote:
Originally Posted by llasram
Can you point to an example of this Mobipocket/Kindle-optimized markup? I haven't been active in calibre lately, but my underlying principle when I initially wrote the Mobipocket generation code was to accept standards-compliant markup and CSS as input and produce Mobipocket-optimized markup as output. So for me the ideal solution would be to figure out what XHTML+CSS most closely represents the output you want, and figure out how to produce the Mobipocket-optimized markup from that input.
|
The outlines issue I mentioned is a pretty common problem. While you can make a nested list in HTML and give list-style-type properties to the lists, those outline-type lists do not translate into Mobipocket. I have had to create a hack to make nested lists work properly in Mobi, and they look especially good on the Kindle.
Another issue is that calibre does not support the <mbp

agebreak/> tag. I know it is not valid HTML, but it is valid for Mobi files so it would be nice to see calibre use it.
calibre also requires that any attached NCX file be added to the end of the document, even when there is a TOC in the HTML, and that NCX-generated TOC takes the focus of the TOC guide element.
I have also noticed some differences in how calibre interprets and displays some basic formatting, like line heights and heading font sizes.
I have attached a sample book with these issues all shown. Source files are included, as well as a mobi file created by calibre and a prc created by Mobipocket Creator.
- Joshua