Including landscape pages in a portrait-oriented master document
The problem
Master documents ignore manual page breaks in subdocuments if the manual break specifies the following page style. Landscape pages are inserted into portrait-oriented documents by inserting a manual page and specifying a landscape page style (and then changing back to portrait orientation by inserting another manual break and specifying the following page style). This technique works fine until the document becomes a subdocument within a master document. At that point the landscape pages become portrait pages and the page break itself is ignored.
The solution
- Remove the landscape pages from the subdocument and put them in a separate document. Note that if the landscape pages are in the middle of the original subdocument, you will end up with at least three documents: (a) the portion of the subdocument before the landscape pages, (b) the landscape pages themselves, and (c) the portion of the subdocument after the landscape pages.
- Insert documents (a) and (c) individually into the master document.
- Then do one of the following:
- Insert a text section into the master document itself between documents (a) and (c). In the text section, insert a manual page break (specifying the landscape page style), and then paste the contents of document (b)—the landscape pages—into the master document. If necessary, insert another manual page break (specifying one of the relevant portrait page styles) before document (c), or
- Insert document (b) into the master document as a subdocument, using the method described on page 10 to include a manual page break in a text section before and after the landscape document.
When deciding which method to use, you need to consider the placement of headers and footers (if any) that appear in your document. If you want portrait headers and footers on the landscape pages, use the technique described in
Chapter 4 (Formatting Pages).