Writer Guide

(You can turn on the display of field codes by clicking View >
Field Names. The two fields shown as gray lines in Figure 368
now look like Figure 369.)
Figure 369. Displaying field codes
6) After you have inserted all the cross-references required in the
subdocument, save and close it and return to the master
document window.
Within the master document, navigate to the page of the
subdocument on which you inserted the cross-reference field. You
should now see the text of the cross-reference appear in the spot
where you inserted it (Figure 370), because within the master
document, the subdocument can find the target of that field
reference.
Figure 370. Field contents visible
This technique also works if you open a subdocument directly in step 2
(that is, not from within the master document) and insert a cross-
reference field.
Creating one file from a master document
and its subdocuments
Master documents are .odm files containing linked subdocuments,
which are in .odt format. Although linked files are very useful when
writing and editing a large document such as a book, sometimes you
might need to have a copy of the entire book in one file.
To export a master document to a .odt file (without affecting the
original .odm file), do this:
1) Open the master document. Choose File > Export from the menu
bar.
Chapter 13 Working with Master Documents 437
Free eBook Edition