Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Add custom text to PAGE field code
Thanks, Stefan, for your response - I had actually seen both of those
articles in my search for a solution, however, due to my two numbering schemes (Chapters 1-7 with outline numbering plus a non-numbered executive summary which still uses Heading 1-4 styles to format the headings) I wasn't able to get it to work. So I had hoped to use a workaround by using custom page fields until I can work out the "best practices" solution. Thanks, Vrin "Vrin" wrote: Hi all - I'm hoping someone can help me resolve an issue I'm experiencing with merging long documents, then creating tables of contents. What we have are 8 chapters, all with different authors, which have been formatted using styles and figure/table captions with outline numbering, which I've merged by using the Insert | File function. My issue is when I create the TOC, all the pages numbers have been reset to number sequentially from 1-187. I then created separate sections (insert section break, next page), so that I could re-start numbering for each chapter, but unfortunately the "Include chapter number" doesn't work as I get an error message that "There is no chapter number...must be defined using outline number..." which I'd already done before merging the documents. So somehow in the inserted chapters the headings don't appear to be recognized?? So since time is short, I'm hoping a workaround of including text in the PAGE field will allow the chapter numbers to be picked up by the TOC. However, I'm not familiar with field codes and how they work, and so mine aren't working. Any suggestions on how to modify the PAGE field so the displayed value looks like, "1.1, 1.2... 2.1, 2.2, ...3.1, 3.2, etc.? Or if there's another solution, I'm all ears. My problem is that the first chapter is an executive summary, and uses the heading 1-4 styles, however, it's not numbered using outline number, which is causing me headaches. The remaining chapters 1-7 do use outline numbering, and somehow I can't reconcile the two formats into one seamless TOC with the page and outlining numbering options we want. I'm using Word 2003 and Windows XPSP2. Thanks for any and all suggestions! Vrin |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Add custom text to PAGE field code
Well, if you can make use of SEQ fields instead of outline numbering, you
can instruct the TOC to include the SEQ field numbers in the TOC. You still have to separate chapters by section breaks to restart page numbering in each chapter, and you will have to add the chapter number to the header or footer (wherever your page numbers reside). For example: { SEQ MySeq } This is a paragraph. To a SEQ field, do this: Press Ctrl+F9 to add the field delimiters, { }. Then type the code as shown. Press F9 to update. You can use copy and paste to duplicate an existing field. Note that fields update semi-automatically; this will be apparent if you use copy and paste to create more fields. To update, select the whole document and press F9 or switch to Print Preview and back. Use Alt+F9 to show/hide all field codes in the document. When you have numbering the way you want it, add \s "MySeq" to the TOC field code: { TOC \o "1-3" \h \s "MySeq" } Update with F9. -- Stefan Blom Microsoft Word MVP "Vrin" wrote in message ... Thanks, Stefan, for your response - I had actually seen both of those articles in my search for a solution, however, due to my two numbering schemes (Chapters 1-7 with outline numbering plus a non-numbered executive summary which still uses Heading 1-4 styles to format the headings) I wasn't able to get it to work. So I had hoped to use a workaround by using custom page fields until I can work out the "best practices" solution. Thanks, Vrin "Vrin" wrote: Hi all - I'm hoping someone can help me resolve an issue I'm experiencing with merging long documents, then creating tables of contents. What we have are 8 chapters, all with different authors, which have been formatted using styles and figure/table captions with outline numbering, which I've merged by using the Insert | File function. My issue is when I create the TOC, all the pages numbers have been reset to number sequentially from 1-187. I then created separate sections (insert section break, next page), so that I could re-start numbering for each chapter, but unfortunately the "Include chapter number" doesn't work as I get an error message that "There is no chapter number...must be defined using outline number..." which I'd already done before merging the documents. So somehow in the inserted chapters the headings don't appear to be recognized?? So since time is short, I'm hoping a workaround of including text in the PAGE field will allow the chapter numbers to be picked up by the TOC. However, I'm not familiar with field codes and how they work, and so mine aren't working. Any suggestions on how to modify the PAGE field so the displayed value looks like, "1.1, 1.2... 2.1, 2.2, ...3.1, 3.2, etc.? Or if there's another solution, I'm all ears. My problem is that the first chapter is an executive summary, and uses the heading 1-4 styles, however, it's not numbered using outline number, which is causing me headaches. The remaining chapters 1-7 do use outline numbering, and somehow I can't reconcile the two formats into one seamless TOC with the page and outlining numbering options we want. I'm using Word 2003 and Windows XPSP2. Thanks for any and all suggestions! Vrin |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Add custom text to PAGE field code
Thanks, Stefan, this sounds doable. I'll try it and see how it goes.
Thanks! "Stefan Blom" wrote: Well, if you can make use of SEQ fields instead of outline numbering, you can instruct the TOC to include the SEQ field numbers in the TOC. You still have to separate chapters by section breaks to restart page numbering in each chapter, and you will have to add the chapter number to the header or footer (wherever your page numbers reside). For example: { SEQ MySeq } This is a paragraph. To a SEQ field, do this: Press Ctrl+F9 to add the field delimiters, { }. Then type the code as shown. Press F9 to update. You can use copy and paste to duplicate an existing field. Note that fields update semi-automatically; this will be apparent if you use copy and paste to create more fields. To update, select the whole document and press F9 or switch to Print Preview and back. Use Alt+F9 to show/hide all field codes in the document. When you have numbering the way you want it, add \s "MySeq" to the TOC field code: { TOC \o "1-3" \h \s "MySeq" } Update with F9. -- Stefan Blom Microsoft Word MVP "Vrin" wrote in message ... Thanks, Stefan, for your response - I had actually seen both of those articles in my search for a solution, however, due to my two numbering schemes (Chapters 1-7 with outline numbering plus a non-numbered executive summary which still uses Heading 1-4 styles to format the headings) I wasn't able to get it to work. So I had hoped to use a workaround by using custom page fields until I can work out the "best practices" solution. Thanks, Vrin "Vrin" wrote: Hi all - I'm hoping someone can help me resolve an issue I'm experiencing with merging long documents, then creating tables of contents. What we have are 8 chapters, all with different authors, which have been formatted using styles and figure/table captions with outline numbering, which I've merged by using the Insert | File function. My issue is when I create the TOC, all the pages numbers have been reset to number sequentially from 1-187. I then created separate sections (insert section break, next page), so that I could re-start numbering for each chapter, but unfortunately the "Include chapter number" doesn't work as I get an error message that "There is no chapter number...must be defined using outline number..." which I'd already done before merging the documents. So somehow in the inserted chapters the headings don't appear to be recognized?? So since time is short, I'm hoping a workaround of including text in the PAGE field will allow the chapter numbers to be picked up by the TOC. However, I'm not familiar with field codes and how they work, and so mine aren't working. Any suggestions on how to modify the PAGE field so the displayed value looks like, "1.1, 1.2... 2.1, 2.2, ...3.1, 3.2, etc.? Or if there's another solution, I'm all ears. My problem is that the first chapter is an executive summary, and uses the heading 1-4 styles, however, it's not numbered using outline number, which is causing me headaches. The remaining chapters 1-7 do use outline numbering, and somehow I can't reconcile the two formats into one seamless TOC with the page and outlining numbering options we want. I'm using Word 2003 and Windows XPSP2. Thanks for any and all suggestions! Vrin |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Add custom text to PAGE field code
You are welcome.
-- Stefan Blom Microsoft Word MVP "Vrin" wrote in message ... Thanks, Stefan, this sounds doable. I'll try it and see how it goes. Thanks! "Stefan Blom" wrote: Well, if you can make use of SEQ fields instead of outline numbering, you can instruct the TOC to include the SEQ field numbers in the TOC. You still have to separate chapters by section breaks to restart page numbering in each chapter, and you will have to add the chapter number to the header or footer (wherever your page numbers reside). For example: { SEQ MySeq } This is a paragraph. To a SEQ field, do this: Press Ctrl+F9 to add the field delimiters, { }. Then type the code as shown. Press F9 to update. You can use copy and paste to duplicate an existing field. Note that fields update semi-automatically; this will be apparent if you use copy and paste to create more fields. To update, select the whole document and press F9 or switch to Print Preview and back. Use Alt+F9 to show/hide all field codes in the document. When you have numbering the way you want it, add \s "MySeq" to the TOC field code: { TOC \o "1-3" \h \s "MySeq" } Update with F9. -- Stefan Blom Microsoft Word MVP "Vrin" wrote in message ... Thanks, Stefan, for your response - I had actually seen both of those articles in my search for a solution, however, due to my two numbering schemes (Chapters 1-7 with outline numbering plus a non-numbered executive summary which still uses Heading 1-4 styles to format the headings) I wasn't able to get it to work. So I had hoped to use a workaround by using custom page fields until I can work out the "best practices" solution. Thanks, Vrin "Vrin" wrote: Hi all - I'm hoping someone can help me resolve an issue I'm experiencing with merging long documents, then creating tables of contents. What we have are 8 chapters, all with different authors, which have been formatted using styles and figure/table captions with outline numbering, which I've merged by using the Insert | File function. My issue is when I create the TOC, all the pages numbers have been reset to number sequentially from 1-187. I then created separate sections (insert section break, next page), so that I could re-start numbering for each chapter, but unfortunately the "Include chapter number" doesn't work as I get an error message that "There is no chapter number...must be defined using outline number..." which I'd already done before merging the documents. So somehow in the inserted chapters the headings don't appear to be recognized?? So since time is short, I'm hoping a workaround of including text in the PAGE field will allow the chapter numbers to be picked up by the TOC. However, I'm not familiar with field codes and how they work, and so mine aren't working. Any suggestions on how to modify the PAGE field so the displayed value looks like, "1.1, 1.2... 2.1, 2.2, ...3.1, 3.2, etc.? Or if there's another solution, I'm all ears. My problem is that the first chapter is an executive summary, and uses the heading 1-4 styles, however, it's not numbered using outline number, which is causing me headaches. The remaining chapters 1-7 do use outline numbering, and somehow I can't reconcile the two formats into one seamless TOC with the page and outlining numbering options we want. I'm using Word 2003 and Windows XPSP2. Thanks for any and all suggestions! Vrin |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Add custom text to PAGE field code | Microsoft Word Help | |||
Using a form to fill in field code text | Microsoft Word Help | |||
edit text displayed while using PageRef field code | New Users | |||
I need to delete a page field code. | Microsoft Word Help | |||
Replacing text with field code | Mailmerge |