Advice below might not be totally relevant.
I found in LO Writer if the styles messed up that creating a new empty document with a paragraph in each desired newly created style USING THE SAME NAMES EXACTLY and then copy / paste the entire "broken" doc fixes it.
I've not tried this trick in Word yet, though as a last resort I used to paste a doc into a plain text editor and then into a new document with correct page format and body text.
Footnotes, Endnotes etc can be evil in some word processors! Edit a copy as sometimes / always deleting the in body reference ALSO deletes the entire note. Unless it's for PDF/Paper only I now only use links and anchors to an appendix "chapter".
Also Style Inheritance causes issues on ebook creation (no issue creation of a PDF or edit for paper). So I set parent = none, apply, exit, go back into style edit and fix all the the properties.
Also for ebooks anonymous Insert page before style is best. Named page styles can upset the ebook TOC generation. So also only use ONE page style with no headers or footers for ebook. Something for PDF/Paper will have at least three page styles: front, body and rear.
|