View Single Post
Old 02-03-2020, 02:43 PM   #3
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
I use the website Word2CleanHtml dot Com to get rid of all excess html from Word docs. Then I open a new epub2 in Sigil and simply paste the clean html between the opening and closing body tags. All paragraphs are retained, and all italics and boldfacing. Headings are mere boldface, but those are easily converted to the appropriate heading, and the chapters separated after a link has been added to my stock style sheet.

Out of curiosity, I tried the same routine on an OpenOffice Writer document, saved as a doc file, and it worked fine except that instead of a plain-vanilla paragraph tag it yielded a p class="normal" tag, which I change to plain vanilla with a quick search & replace.

I assume the same would happen with a LibreOffice document. No need to involve Calibre with its idiosyncratic styles. Sigil saves as epub, of course, and a validated epub has always converted flawlessly for me on the KDP platform.
Notjohn is offline   Reply With Quote