Thanks, all. That gives me something to think about. As I said in the original post, I work in code view, not page view, although I frequently switch to page view to check how the output is shaping up. Maybe switching back and forth introduces the unwanted codes. I still have a lot to learn, but I've found that calibre often introduces multiple css entries in the style sheet for paragraphs that are identically formatted, which I consider garbage. I always clean up my style sheets to consolidate such duplications in a single style definition. It sometimes takes a while, but I like my style sheets clean and simple. Will check whether pretty print is on
|