|
@beedaddy: I have the sample and can reproduce the problem.
The problem is in how the stylesheet is processed. It is parsed by the CSS parser that calibre uses and the rules from the file added. Then it is written back to the epub and that is copied to the device. As part of this, the CSS is cleaned up and reformatted. The cleaning includes removing any styles that have no attributes. The reformatting adds or removes whitespace and changes number from ".8" to "0.8". None of this should be harmful and neither version shows any errors. This is the same as using the calibre editor to beautify the CSS.
But, on the device, the stylesheet is being ignored. That means that the RMSDK is seeing an error in the stylesheet and throwing it away. This also happens when I open the epub with ADE. The unchanged epub is fine in both places. But, let the driver add the styles, or beautify with the editor, and it is broken in both place.
I can't see what is wrong with the modified version. I have gone through both version of the stylesheet and can't see what would be causing the problem. I have extracted the original stylesheet and attached it. Hopefully someone can see what the problem is.
The workaround is to turn the modify CSS option off and edit the book and add widows/orphans to the stylesheet. When I did that, the sample displayed correctly.
Last edited by davidfor; 10-10-2014 at 06:52 AM.
Reason: Removed stylesheet.
|