Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I am having trouble numbering tables and figures using the captions command
in Word 97. I am using 3 heading styles in my document which are numbered (e.g.) Chapter 1, 1.1, 1.1.1 and respectively. These are based on the pre-set styles for Headings 1-3. I want my tables to be numbered according to the chapter number (e.g. Table 2.1, Table 2.2 etc. in Chapter 2), irrespective of which sub-section they are in. When I enter a caption, I have ticked the box 'Include chapter number' and set the Chapter number with style 'Heading 1'. The numbering is fine within a sub-section, but when I move to the next sub-section within the same chapter, the numbering starts again (still with the correct chapter number). I can't see why this is or how to override it. Please can anyone advise me? |
#2
![]() |
|||
|
|||
![]()
Verify that the captions are set up the way you want them (in the
Caption and Caption Numbering dialog boxes). Then select the entire document and press F9 to update the Seq fields that take care of the numbering. Does that help? If it doesn't, what field codes show if you press Alt+F9? -- Stefan Blom Microsoft Word MVP "Rachel H" wrote in message ... I am having trouble numbering tables and figures using the captions command in Word 97. I am using 3 heading styles in my document which are numbered (e.g.) Chapter 1, 1.1, 1.1.1 and respectively. These are based on the pre-set styles for Headings 1-3. I want my tables to be numbered according to the chapter number (e.g. Table 2.1, Table 2.2 etc. in Chapter 2), irrespective of which sub-section they are in. When I enter a caption, I have ticked the box 'Include chapter number' and set the Chapter number with style 'Heading 1'. The numbering is fine within a sub-section, but when I move to the next sub-section within the same chapter, the numbering starts again (still with the correct chapter number). I can't see why this is or how to override it. Please can anyone advise me? |
#3
![]() |
|||
|
|||
![]()
Hi Stefan
Thank you so much for your reply. I am pretty sure I have my settings the way I want them in the Caption and Caption numbering boxes. I have ticked the box 'Include chapter number' and set 'Chapter starts with style' to 'Heading 1'. I pressed Alt+F9 as advised and looked at the field codes which I hadn't looked at before. I don't completely understand what the different parts of the field code mean, but (with a little help from 'help') I changed the endings and it now seems to work. The Field codes previously read: { STYLEREF 1 \s }.{ SEQ Table \* ARABIC \s 1} I changed the final \s 1} to \n} and the numbering now works. However, although the changes remain when I save the document and re-open it, if I enter a new caption, they all revert back to the old field codes. Have you any idea how I can correct my settings so the ending is always \n} ? Thanks Rachel "Stefan Blom" wrote: Verify that the captions are set up the way you want them (in the Caption and Caption Numbering dialog boxes). Then select the entire document and press F9 to update the Seq fields that take care of the numbering. Does that help? If it doesn't, what field codes show if you press Alt+F9? -- Stefan Blom Microsoft Word MVP "Rachel H" wrote in message ... I am having trouble numbering tables and figures using the captions command in Word 97. I am using 3 heading styles in my document which are numbered (e.g.) Chapter 1, 1.1, 1.1.1 and respectively. These are based on the pre-set styles for Headings 1-3. I want my tables to be numbered according to the chapter number (e.g. Table 2.1, Table 2.2 etc. in Chapter 2), irrespective of which sub-section they are in. When I enter a caption, I have ticked the box 'Include chapter number' and set the Chapter number with style 'Heading 1'. The numbering is fine within a sub-section, but when I move to the next sub-section within the same chapter, the numbering starts again (still with the correct chapter number). I can't see why this is or how to override it. Please can anyone advise me? |
#4
![]() |
|||
|
|||
![]()
When you add a chapter number to captions, Word assumes that you also
want to restart caption numbering after the selected chapter (heading). That's what \s 1 means in a Seq field: "restart the numbering of this field when it follows a Heading 1 paragraph". If you don't want the numbering to restart, you can replace \s 1 with \n (as you've seen), or more easily just delete \s 1. But once you've manually changed the fields inserted by Word, you cannot use the Caption dialog box to insert subsequent captions; if you do, Word will re-insert the \s switch. Instead, you can select the caption label and number and create an AutoText entry for the insertion. -- Stefan Blom Microsoft Word MVP "Rachel H" wrote in message ... Hi Stefan Thank you so much for your reply. I am pretty sure I have my settings the way I want them in the Caption and Caption numbering boxes. I have ticked the box 'Include chapter number' and set 'Chapter starts with style' to 'Heading 1'. I pressed Alt+F9 as advised and looked at the field codes which I hadn't looked at before. I don't completely understand what the different parts of the field code mean, but (with a little help from 'help') I changed the endings and it now seems to work. The Field codes previously read: { STYLEREF 1 \s }.{ SEQ Table \* ARABIC \s 1} I changed the final \s 1} to \n} and the numbering now works. However, although the changes remain when I save the document and re-open it, if I enter a new caption, they all revert back to the old field codes. Have you any idea how I can correct my settings so the ending is always \n} ? Thanks Rachel "Stefan Blom" wrote: Verify that the captions are set up the way you want them (in the Caption and Caption Numbering dialog boxes). Then select the entire document and press F9 to update the Seq fields that take care of the numbering. Does that help? If it doesn't, what field codes show if you press Alt+F9? -- Stefan Blom Microsoft Word MVP "Rachel H" wrote in message ... I am having trouble numbering tables and figures using the captions command in Word 97. I am using 3 heading styles in my document which are numbered (e.g.) Chapter 1, 1.1, 1.1.1 and respectively. These are based on the pre-set styles for Headings 1-3. I want my tables to be numbered according to the chapter number (e.g. Table 2.1, Table 2.2 etc. in Chapter 2), irrespective of which sub-section they are in. When I enter a caption, I have ticked the box 'Include chapter number' and set the Chapter number with style 'Heading 1'. The numbering is fine within a sub-section, but when I move to the next sub-section within the same chapter, the numbering starts again (still with the correct chapter number). I can't see why this is or how to override it. Please can anyone advise me? |
#5
![]() |
|||
|
|||
![]()
Thanks Stefan. I do want the numbering to start again after a Heading 1
paragraph, but not after a Heading 2 or 3 paragraph. Unfortunately, this is what is happening. I realise now that the changes I described before mean that numbering does not restart in a new chapter, so I had not really worked out the problem. I will look into the option of using AutoText entry instead. Rachel "Stefan Blom" wrote: When you add a chapter number to captions, Word assumes that you also want to restart caption numbering after the selected chapter (heading). That's what \s 1 means in a Seq field: "restart the numbering of this field when it follows a Heading 1 paragraph". If you don't want the numbering to restart, you can replace \s 1 with \n (as you've seen), or more easily just delete \s 1. But once you've manually changed the fields inserted by Word, you cannot use the Caption dialog box to insert subsequent captions; if you do, Word will re-insert the \s switch. Instead, you can select the caption label and number and create an AutoText entry for the insertion. -- Stefan Blom Microsoft Word MVP "Rachel H" wrote in message ... Hi Stefan Thank you so much for your reply. I am pretty sure I have my settings the way I want them in the Caption and Caption numbering boxes. I have ticked the box 'Include chapter number' and set 'Chapter starts with style' to 'Heading 1'. I pressed Alt+F9 as advised and looked at the field codes which I hadn't looked at before. I don't completely understand what the different parts of the field code mean, but (with a little help from 'help') I changed the endings and it now seems to work. The Field codes previously read: { STYLEREF 1 \s }.{ SEQ Table \* ARABIC \s 1} I changed the final \s 1} to \n} and the numbering now works. However, although the changes remain when I save the document and re-open it, if I enter a new caption, they all revert back to the old field codes. Have you any idea how I can correct my settings so the ending is always \n} ? Thanks Rachel "Stefan Blom" wrote: Verify that the captions are set up the way you want them (in the Caption and Caption Numbering dialog boxes). Then select the entire document and press F9 to update the Seq fields that take care of the numbering. Does that help? If it doesn't, what field codes show if you press Alt+F9? -- Stefan Blom Microsoft Word MVP "Rachel H" wrote in message ... I am having trouble numbering tables and figures using the captions command in Word 97. I am using 3 heading styles in my document which are numbered (e.g.) Chapter 1, 1.1, 1.1.1 and respectively. These are based on the pre-set styles for Headings 1-3. I want my tables to be numbered according to the chapter number (e.g. Table 2.1, Table 2.2 etc. in Chapter 2), irrespective of which sub-section they are in. When I enter a caption, I have ticked the box 'Include chapter number' and set the Chapter number with style 'Heading 1'. The numbering is fine within a sub-section, but when I move to the next sub-section within the same chapter, the numbering starts again (still with the correct chapter number). I can't see why this is or how to override it. Please can anyone advise me? |
#6
![]() |
|||
|
|||
![]()
Well, if you do want caption numbering to restart after each Heading 1
paragraph, you should be able to do that without changing the field code by hand (or via AutoText). As explained previously, Word automatically makes the necessary adjustements to field codes. Just in case, try again to verify the settings in the Caption Numbering dialog box. Select the options you want, and click OK to confirm. Note that if you have multiple captions (for example, tables and figures), this must be performed for each caption separately. Then select the whole document and press F9 to update fields. If this doesn't help, look at the field codes again. (Use Alt+F9 to toggle field code display.) Pay attention to the "name", the so-called identifier, following SEQ. Are there some other sequences in your document? If you have Figures in addition to Tables, this is to be expected. You would see { SEQ Figure }, { SEQ Table } where the different identifiers indicate different numbering sequences. Another question, if everything else fails: Are you tracking changes? This apparently prevents the correct updating of Seq fields, until all changes have been accepted. -- Stefan Blom Microsoft Word MVP "Rachel H" wrote: Thanks Stefan. I do want the numbering to start again after a Heading 1 paragraph, but not after a Heading 2 or 3 paragraph. Unfortunately, this is what is happening. I realise now that the changes I described before mean that numbering does not restart in a new chapter, so I had not really worked out the problem. I will look into the option of using AutoText entry instead. Rachel "Stefan Blom" wrote: When you add a chapter number to captions, Word assumes that you also want to restart caption numbering after the selected chapter (heading). That's what \s 1 means in a Seq field: "restart the numbering of this field when it follows a Heading 1 paragraph". If you don't want the numbering to restart, you can replace \s 1 with \n (as you've seen), or more easily just delete \s 1. But once you've manually changed the fields inserted by Word, you cannot use the Caption dialog box to insert subsequent captions; if you do, Word will re-insert the \s switch. Instead, you can select the caption label and number and create an AutoText entry for the insertion. -- Stefan Blom Microsoft Word MVP "Rachel H" wrote in message ... Hi Stefan Thank you so much for your reply. I am pretty sure I have my settings the way I want them in the Caption and Caption numbering boxes. I have ticked the box 'Include chapter number' and set 'Chapter starts with style' to 'Heading 1'. I pressed Alt+F9 as advised and looked at the field codes which I hadn't looked at before. I don't completely understand what the different parts of the field code mean, but (with a little help from 'help') I changed the endings and it now seems to work. The Field codes previously read: { STYLEREF 1 \s }.{ SEQ Table \* ARABIC \s 1} I changed the final \s 1} to \n} and the numbering now works. However, although the changes remain when I save the document and re-open it, if I enter a new caption, they all revert back to the old field codes. Have you any idea how I can correct my settings so the ending is always \n} ? Thanks Rachel "Stefan Blom" wrote: Verify that the captions are set up the way you want them (in the Caption and Caption Numbering dialog boxes). Then select the entire document and press F9 to update the Seq fields that take care of the numbering. Does that help? If it doesn't, what field codes show if you press Alt+F9? -- Stefan Blom Microsoft Word MVP "Rachel H" wrote in message ... I am having trouble numbering tables and figures using the captions command in Word 97. I am using 3 heading styles in my document which are numbered (e.g.) Chapter 1, 1.1, 1.1.1 and respectively. These are based on the pre-set styles for Headings 1-3. I want my tables to be numbered according to the chapter number (e.g. Table 2.1, Table 2.2 etc. in Chapter 2), irrespective of which sub-section they are in. When I enter a caption, I have ticked the box 'Include chapter number' and set the Chapter number with style 'Heading 1'. The numbering is fine within a sub-section, but when I move to the next sub-section within the same chapter, the numbering starts again (still with the correct chapter number). I can't see why this is or how to override it. Please can anyone advise me? |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Auto-insert numbering when caption style applied | Microsoft Word Help | |||
Caption numbering reset | Tables | |||
Numbering - skip a level | Microsoft Word Help | |||
caption numbering | Tables | |||
table caption numbering | Tables |