View Single Post
Old 04-06-2022, 05:44 PM   #15
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Quoth View Post
If you are using styles in Word or LO Writer and convert a docx to epub in Calibre and then the epub to anything else, it works on everything and the CSS & HTML isn't much different to JSWOLF's suggestion.
Yes, that is true, but it's simple CSS--with styles for block-style (first) paragraphs and then the body paragraph. it won't/doesn't do p+p or the like, sadly.

Although, having said that, you can sorta do it by setting the "next paragraph" in the style of the block-style paragraph so that the next paragraph is body text, and all the ensuing paragraphs are body text, until you get to the first para of the next chapter, whereupon you use the block style and then lather-rinse-repeat. It is almost as good as using p+p. In some ways, better.

You can even do it by setting the heading style for the chapter header to have "next paragraph" be the block-style, and then the block-style has the next paragraph as body, (and proceed from there, like I said above), and do it that way.

(I do this in my Word "template" documents, which I use to show a customer what a given layout in a given font might look like. I have all the headings and styles with dependencies, so if someone thinks that they want, for example, Bookman Old Style, I can change ONE thing, ONE style in the Word doc and the change dominoes (cascades) through the entire file. Export a PDF and give them an idea of what they might be looking at. It's the same thing, really, as we're discussing with p+p.)

Hitch
Hitch is offline   Reply With Quote