If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Chapter Headings
I'm building what amounts to a technical manual or
procedure. I've organized it using outline level formatting. My TOC is based upon this outline format. I want to display "continuation text" in the header of the doucment, so the reader always knows what part of the chapter they're in. In the body of the document, I'm trying to display (using field codes) the outline level number and corresponding heading for the "Heading 2" level on each page, except for the first page that the paragraph with the Heading 2 occurs. Example, say "A. First Topic" ends on page 2, and "B. Next Topic" begins on page 2. The top of page 2 should read ach page will have something like "A. First Topic (continued)". The next page (page 3) would say "B. Next Topic (continued)". So far, I can only get it such that the most recent paragraph heading on a page will display in the header. In other words, in the header of page 2 would be "B. Next Topic" (continued). Because the is the latest paragraph heading to show up on the page. How do I accomplish the former using field codes only, and avoiding VBA? Here is a field code snipet to help you help me: D {STYLEREF "Heading 2" \n}.{STYLEREF "Heading 2" \* MERGEFORMAT} (continued) DB |
#2
|
|||
|
|||
Chapter Headings
Hi db
I'm not 100% sure I understand what you need. Are you saying that, on the page that B. Next Topic begins, you want the header to say "B. Next Topic", and on subsequent pages, while B. Next Topic runs, you need "B. Next Topic (continued)"? If that's what you need, then you can achieve it with section breaks. Just before the B. Next Topic heading, do Insert Break. Choose Next Page, or, if you always want the topic to start on a right-hand page, choose Odd Page. Now, File Page Setup. On the Layout tab, tick "Different First Page". Repeat for each topic. Now, if you do View Header and Footer, you'll see that, for each section, you have a "First Page" header. So in the "First Page" header, you can just use a STYLEREF field, without the "continued" in the first page header. By default, headers are set up to be the "Same as Previous". That means that the headers for one section are the same as the header for the previous section. So the "First Page" headers for each section can be the same (with the STYLEREF field), and Word will resolve that to display your heading 2 style. More info at Working with sections http://www.mvps.org/word/FAQs/Format...thSections.htm Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "db" wrote in message ... I'm building what amounts to a technical manual or procedure. I've organized it using outline level formatting. My TOC is based upon this outline format. I want to display "continuation text" in the header of the doucment, so the reader always knows what part of the chapter they're in. In the body of the document, I'm trying to display (using field codes) the outline level number and corresponding heading for the "Heading 2" level on each page, except for the first page that the paragraph with the Heading 2 occurs. Example, say "A. First Topic" ends on page 2, and "B. Next Topic" begins on page 2. The top of page 2 should read ach page will have something like "A. First Topic (continued)". The next page (page 3) would say "B. Next Topic (continued)". So far, I can only get it such that the most recent paragraph heading on a page will display in the header. In other words, in the header of page 2 would be "B. Next Topic" (continued). Because the is the latest paragraph heading to show up on the page. How do I accomplish the former using field codes only, and avoiding VBA? Here is a field code snipet to help you help me: D {STYLEREF "Heading 2" \n}.{STYLEREF "Heading 2" \* MERGEFORMAT} (continued) DB |
#3
|
|||
|
|||
db,
I'm sorry, but I don't think that can be done. The "\l" switch when used with STYLEREF will insert the last text formatted with the style on the current page instead of the first text formatted with the style, but no switch is provided which skips the current page and inserts the first instance from the following page. There also does not seem to be any method to detect whether or not the STYLEREF result was pulled from the current page and so add "continued" conditionally. Regards, Chad "db" wrote in message ... I'm building what amounts to a technical manual or procedure. I've organized it using outline level formatting. My TOC is based upon this outline format. I want to display "continuation text" in the header of the doucment, so the reader always knows what part of the chapter they're in. In the body of the document, I'm trying to display (using field codes) the outline level number and corresponding heading for the "Heading 2" level on each page, except for the first page that the paragraph with the Heading 2 occurs. Example, say "A. First Topic" ends on page 2, and "B. Next Topic" begins on page 2. The top of page 2 should read ach page will have something like "A. First Topic (continued)". The next page (page 3) would say "B. Next Topic (continued)". So far, I can only get it such that the most recent paragraph heading on a page will display in the header. In other words, in the header of page 2 would be "B. Next Topic" (continued). Because the is the latest paragraph heading to show up on the page. How do I accomplish the former using field codes only, and avoiding VBA? Here is a field code snipet to help you help me: D {STYLEREF "Heading 2" \n}.{STYLEREF "Heading 2" \* MERGEFORMAT} (continued) DB |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Column Headings | Brian | General Discussion | 1 | August 6th, 2004 12:30 AM |
Headings for To:, Cc:, Bcc: in OE | Curtis Vaughan | General Discussion | 2 | June 7th, 2004 07:33 PM |
Question about chapter numbering with Included files | Keith Brickey | Formatting Long Documents | 1 | May 29th, 2004 04:57 PM |
different chapter titles and specific page numbering | HB Jim | General Discussion | 1 | May 28th, 2004 07:37 AM |
different chapter titles and specific page numbering | HB Jim | New Users | 1 | May 28th, 2004 07:05 AM |