WD: TC and XE Fields Lose Spaces When Converted to RTF (115720)



The information in this article applies to:

  • 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 Q115720

SYMPTOMS

TC and XE fields in a Word for Windows document will lose the initial and final spaces of the field if the document is saved in Rich Text Format. For example, this field
   { xe "Birds of South America" }
				
will be converted to the following:
   {xe "Birds of South America"}
				
Further, if there are no quotation marks surrounding the text of the entry, Word will remove spaces in the text and place quotation marks around the newly concatenated text. For example, the entry
   { tc This is the first chapter }
				
will change to the following when the document is saved as Rich Text Format and re-opened in Word:
   {tc "Thisisthefirstchapter"}
				

STATUS

Microsoft has confirmed this to be a problem in the versions of Word listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

WORKAROUND

The initial and final spaces that are lost in the conversion do not pose a problem; the fields work the same without the beginning and ending spaces.

Put quotation marks around the text of the TC or XE fields.

MORE INFORMATION

TC and XE fields require quotation marks around the text of the entry to be recognized properly in a Word document. If there aren't any quotation marks, Word will use only the first word in the table of contents or index.

For example, the entry
   { tc This is the first chapter }
				
will appear like this in the table of contents:
   This...........................1
				

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:kbfield KB115720