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

Last reviewed: February 5, 1998
Article 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


KBCategory: kbusage
KBSubcategory: kbfield
Additional query words: 6.00 6.00a deletes deleted stripped word6
6.00c 7.00 word95 word7 winword taken out takes gone missing conv word97
Keywords : kbfield
Version : 6.00 6.00a 6.00c 7.00 7.00a 97
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.