WinWord: Paragraph Return Inserted Between Separate Indexes (74972)
The information in this article applies to:
- Microsoft Word for Windows 1.0
- Microsoft Word for Windows 1.1
- Microsoft Word for Windows 1.1a
- Microsoft Word for Windows 2.0
- Microsoft Word for Windows 2.0a
- Microsoft Word for Windows 2.0b
- Microsoft Word for Windows 2.0c
- Microsoft Word for Windows 6.0
- Microsoft Word for Windows 6.0a
- Microsoft Word for Windows 6.0c
- Microsoft Word for Windows 95
- Microsoft Word for Windows 95 7.0a
- Microsoft Word 97 for Windows
This article was previously published under Q74972 SUMMARY
In Microsoft Word for Windows, if you compile an index in several
parts (such as an index including a range of letters), Word inserts a
paragraph return between each of the separate parts. This occurs
whether or not you separate each of the index fields with a paragraph
return. Removing this paragraph mark deletes the entire index
reference.
MORE INFORMATION
The "Microsoft Word for Windows User's Guide" recommends breaking up
an index that includes more than 4,000 entries into several parts.
This allows the updating of each part to be done one field at a time
and the computer's memory to be reused to update the next field. For
example, a complete index can be compiled from the following inserted
fields:
{index \p a-f}
{index \p g-r}
{index \p s-z}
Note: To insert the field braces, press CTRL+F9.
These fields compile an entire index, with paragraph returns
automatically inserted between the result of each separate index
field. In the above example, a paragraph return is inserted between
the f and g entries of the index and between the r and s entries of
the index.
Note: Even if the fields are entered in the same paragraph (no
paragraph returns between fields), the index is still compiled with
paragraph returns between the individual parts.
Steps to Reproduce Problem- From the File menu, choose Open, and choose the OK button.
- Type the following lines of text:
a index
c index
x index
z index - Select each line of text individually WITHOUT the corresponding
paragraph mark. From the Insert menu, select Index Entry. Accept the
defaults in the dialog box, and choose the OK button.
- From the Insert menu, choose Break, accept the default options, and
choose the OK button.
- Press CTRL+F9 to generate a pair of field code braces. Within the
braces, type the INDEX field command, followed by the \p switch,
followed by the range selection. It should appear as follows:
- Repeat the actions in step 6 to set up another index range for the
remaining index entries. The result should appear as follows:
{INDEX \p A-D}{INDEX \p E-Z} - Select these field codes, and press F9 to update them.
- The result is a paragraph mark followed by the first index range
and a second paragraph mark followed by the second index range.
This occurs even though there are no paragraph marks involved with
the index range entries.
Attempting to select either of these paragraph marks for deletion
fails. The paragraph marks are permanently associated with the index
range entries. You can work around this problem by manually inserting
the paragraph marks prior to updating the index range entries. If an
initial separation exists, the index range entry does not generate the
permanently associated paragraph marks. This should appear as follows:
[ENTER]
{INDEX \p A-D} [ENTER]
{INDEX \p E-Z}
where [ENTER] refers to pressing the ENTER key prior to each index
field entry.
The results are exactly the same as described in step 9 above;
however, you can delete the paragraph marks to make the index range
entries contiguous. Be aware that updating again generates a new set
of index references that include the permanent paragraph marks.
Reference(s):
"Microsoft Word for Windows User's Guide," pages 567-569
"Microsoft Word for Windows User's Reference," pages 165, 182
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | kbfield KB74972 |
---|
|