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

ID: Q115720


The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows


SYMPTOM

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
Version : WINDOWS:6.0,6.0a,6.0c,7.0,7.0a; :
Platform : WINDOWS
Issue type :


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.