RtfFix.exe Corrects Line Numbering in HLP Files

ID: Q188889


The information in this article applies to:


SUMMARY

When you use RTF files created by Microsoft Word 97, automatic numbered lists all appear as ones (1) in a compiled help file. RtfFix.exe is a file that modifies RTF files so that the Microsoft Help Compiler correctly displays automatic numbered lists created by Microsoft Word 97.


MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

Rtffix1.exe
Release Date: Jul-10-1998

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services

RtfFix1.Exe contains the following files:


   RtfFix.exe
   Readme.txt 

After each item in a numbered list, Microsoft Word 97 inserts an RTF code, "\pard". This code specifies that you want to reset the paragraph formatting to a default setting. Microsoft Word 97 then redefines all of the formatting for the paragraph.

This behavior differs from Microsoft Word 95. Microsoft Word 95 uses "\pard" only on the first element of each list; it then allows the formatting of each subsequent item to inherit the previous item's formatting.

The Microsoft Help Compiler (Hcrtf.exe) incorrectly interprets the new format that Microsoft Word 97 creates for automatic numbered lists. This results in each list item starting with the number one.

To resolve this problem, do one of the following:


REFERENCES

For additional information about fixing related line numbering problems in help files, please see the following article in the Microsoft Knowledge Base:

Q182336 WD: Lists in Word Cause Numbering Problems When Saved As RTF

Additional query words:


Keywords          : kbSDKPlatform kbVS97 kbVS600 kbWord 
Version           : WINDOWS:6.0,97
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: March 12, 1999