There are instructions in the Writer Guide about the field and the
hidden sections, but you also need to know the contents of the field and
the condition statement. This is written up somewhere, but offhand I
can't remember where. In the book template, perhaps. Anyway, I'll add it
here:
The copyright and TOC pages are in sections controlled by a condition
statement MD!=0 that picks up from the first paragraph in the ODM an
invisible field named MD which is set to 1. This causes the section to
be hidden. Sometimes it fails, for no reason I can see.
First thing to check: go into Tools > Options > LibreOffice Writer >
Formatting Aids and make sure "Hidden text", "Fields: Hidden text" and
"Fields: Hidden paragraphs" are all UNticked. I can't recall if there
are any other options like that lurking somewhere.
BTW, I just opened the orginal ODM and updated all links, and the
copyright and TOC pages are hidden as they should be.
The incorrect x-refs are scattered through the book; most x-refs are
correct, but some are not. It's a thorough pain to find and fix the
incorrect ones. I normally do this in the full-book ODT after unlinking
(embedding) all the chapter files, because I've found that fixing them
in the individual chapter files and then recompiling the book often
doesn't work -- some of the wretched x-refs go wrong again. I think a
bug may have been filed at OOo about this, but it's hard to reproduce
reliably, especially in a smallish sample file.
--Jean