- I don’t think Writer can do what I need. I’m afraid I’ve come to the decision it’s not really suitable for writing books, at least not if you want to produce multiple formats or layouts. *
That is unbelievably easy to do and is precisely what LO is designed to do.
It is unfortunately your “incorrect use of LO for writing a book when you want multiple versions” which is causing the problem. It is not a problem with LO and all other word processors will do the same. Your method of Direct Formatting is excellent for “single-use, short documents” but terrible for “a book when you want multiple versions”.
It is done using styles where you designate things to be paragraphs, chapter headings, quotes etc; and where you choose Page Styles for the various pages (Title Page, First Page of chapter, ToC, Front matter etc). Read Writer for Students which is very good and explains all you need to know. See also the Writer Guide chapters on using Styles.
All you now have to do is to change the Page Styles and change the other Styles and Bingo! You have your new book to a completely new format.
Unfortunately you have used Direct Formatting which overrides the underlying Style and defeats the whole object of using Styles.
In your situation I would first (working on a copy) remove all the Direct Formatting by Edit > Select All > Ctrl+M. You now have a file of Default plain text with no formatting - it is just like a Notepad file. You now apply the Styles to this vanilla text.
You now define the Page Styles, and Paragraph Style, Chapter Heading Style and Quotes Style, etc, you want for your first book. You now apply those Styles to the plain text. You now have your first book. It would take me about an hour for a 300 page book.
Starting with your plain text file, you now define the second book Page Styles, and Paragraph Style, Chapter Heading Style and Quotes Style, etc, and apply them. You now have your second book. Again, it should take about an hour for a 300 page book.
Trust me. It will be far quicker and far easier to remove all the Direct Formatting you have used and apply the Styles to the plain text than to try to apply Styles to formatted text.
If you have completed your document as a single file there seems little point in converting it to a Master Document with sub-documents.
NB Don’t even think of messing about with content.xml as therein lies a recipe for a complete disaster. Do it properly using Styles. A “text:soft-page-break/” is inserted into content.xml by LO to force a Page Break on your screen according to the Page Style currently in use. If you change the Page size, LO will move these tags to different places to give the new page breaks on screen.
Also remember how LO works - LO always uses Styles but users often override them.
When you create a new document and start typing what you type is in the Style of Default text. If you then want a Chapter Heading you have two choices:
Choice 1 - Direct Formatting. Highlight the text and apply Bold, font size, font etc until it looks how you want
Choice 2 - Use Styles. Highlight the text and select the Chapter Heading Style for it.
Note how in Choice 2 every Chapter Heading will be identical because you did not have to remember what font, font size etc you want to use. Choice 1 is very error prone.
If you use Choice 2 and you want to change the Chapter Heading format all you need to do is edit the Chapter Heading Style. Every Chapter Heading now takes the new Style. With Direct Formatting you have to edit each one separately which is time consuming and error prone.