Knowledge Base

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

Article ID: 115720

Article Last Modified on 1/19/2007


APPLIES TO


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
				

Additional query words: 6.00a deletes deleted stripped word6 6.00c word95 word7 winword taken out takes gone missing conv word97

Keywords: kbfield KB115720