asked on
Word messing up with mix of different page layouts in one document.
I've got a problem concerning Word (office 365) and a document currently about 45 pages long. It has a table of contents, pages have footers showing the page number. The document itself is basically text and pictures. The table of contents is auto generated based on the format used in headers within the document.
A couple of pages in the middle have to be landscape but the rest is portrait layout.
The problem is that the page numbers get messed up and the numbering in the table of contents is also not correct.
The page numbers go eg. 34, 35, 36 (then into the landscape) 35, 36....42 (then back into portrait) 36, 37, 38... {Duplicate page numbers, not in correct order).
Similarly the table of contents resets to section 1 when entering the landscape part.
(Occasionally the first page of the document prints with a high page number - despite it being page 1 AND despite the footer on the first page being supressed, handle different from other pages option selected).
As you can imagine this is extremely frustrating.
Does anyone have an explanation and solution for this?
when you change from portrait to landscape and back to portrait. you may have to reset the page number position in a new section. also, make sure to make sure to uncheck "Link to Previous" in each new section BEFORE making any changes to headers, footers and page numbering...
i too don't understand "Similarly the table of contents resets to section 1 when entering the landscape part."
ASKER
T.o.C
Can't post a screen shot now but it is roughly
1 Intro
2 First
3 Second
1 Third
2 Fourth
1 Conclusions
where third and fourth are in landscape
ASKER
ASKER
The table of contents appears to be correct now as well. (I guess the problem there was a side effect of the page numbering).
When you need different odd and even and/or different first page header/footer content, you need to consider three different header/footer setups for each section: first page, odd page, and even page. My general recommendation when setting up any section that will be different in any way to a previous one is to add temporary page breaks so you will have at least 3 pages to be able to define and see the header/footers you'll need. Check the inheritance status of each header/footer (Link to previous) and adjust as applicable (per JK's response above).
If the page numbering needs to be restarted, use the Page Number > Format Page Numbers dialog to do it and set the appropriate numbering type. For example, the main content of a book is often restarted at 1 after the front material being numbered with "i, ii, iii..." style numbers ends. But since the numbering settings are also inherited, make a mental note to go back to that dialog at the start of the next section to change the "Start at 1" setting to "Continue from previous section". From that section on, the inherited page numbering will continue sequentially.
In your case, you may want the header/footers for the landscape section to differ from the previous section; perhaps just to re-orient them to run 90° on the page to visually match the portrait pages¹, or to adjust space above content for the first page. If so, be sure to turn off the "Link to Previous" setting for the applicable header/footers. You can then add 1-2 temporary page breaks to define the headers & footers as above. The page numbering should be okay since it is inherited from the previous section.
Then, for the following portrait section, you'll probably want its header/footers to match those of the portrait section before your landscape section. Again, make sure you have 3 pages to be able to see all 3 options — but now you can use the Header & Footer ribbon Navigation buttons to first turn off the "Link to Previous" and then "Previous" 2× to skip back to the last portrait section to copy it. Click "Next" 2× to return and paste the header/footer. Repeat for all elements.
Subsequent sections will continue to inherit from the previous.
Tip: If you need to display different content for each section's header/footer that can be pulled from the chapter title (or other content found on the pages), use a StyleRef field code. If your chapter title is set as a Heading 1 style, including { StyleRef "Heading 1" } in a header will display the current chapter's title — and you won't need to change it each time. Similarly, you can set document properties to let field codes insert content in headers and footers: for example, { Author } and { Title }.
¹ Landscape sections are often used to include wide tables or charts that don't fit well in a portrait format. However, if headers and footers from the previous portrait section are used, the printed book will have page numbers on the edge instead of the bottom of pages (and the header content will appear on the spine side). You can avoid that by setting the header and/or footer content in a text box and rotating it 90°. It can be a bit fussy to set up, but much easier if you use the controls in the Layout dialog rather than trying to use the mouse to rotate & position the text boxes.
"Similarly the table of contents resets to section 1 when entering the landscape part." Sorry, I don't know what you're seeing. The table of contents doesn't display sections by default. Perhaps you could post a screen shot.