Microsoft KB Archive/67916

Limitations of MS-DOS Word 5.0/5.5 WordPerfect Converter

PSS ID Number: Q67916 Article last modified on 06-08-1999

================================================================ ==

The information in this article applies to:

 == Word for MS-DOS, versions 5.0 and 5.5 == 

= SUMMARY =

The following is information about the WordPerfect/Word RTF file conversion program provided with the Word 5.5 Conversions Program Kit. To obtain pre-sales information about new or updated Microsoft products, call the Microsoft Sales Information Center at (800) 426-9400. If you are outside the United States, contact the Microsoft subsidiary for your area. To locate your subsidiary, see the Microsoft World Wide Offices Web site at:

http://www.microsoft.com/worldwide/default.htm

This information is based on that contained in the WordPerfect README.DOC included with the Word 5.5 Conversions Program Kit.

= MORE INFORMATION =

Before Converting
For best results, before running the conversion utility, make sure the CONFIG.SYS file contains the line

FILES=20

and the AUTOEXEC.BAT file contains the line

SET TMP=dir

where “dir” is the path of the directory where TMP files are stored. If this line is not in the AUTOEXEC.BAT file, create a directory for TMP files, and use Word to add the SET TMP line to the AUTOEXEC.BAT file. If FILES=20 is not in the CONFIG.SYS file, add this line to the CONFIG.SYS file. Make sure to save these files in text-only format. Before running the converter, reboot the system so that the changes to these files can take effect.

Repaginate the document in Word before converting it.

Conversion Limitations from Word RTF to WordPerfect
Character Formatting:


 * Styled formatting converts to direct formatting.
 * Hidden text becomes comments.
 * Font names are printer-dependent and might not convert (see “Improving Font Mapping” below).
 * Expanded/condensed character spacing does not convert.
 * Super/subscripting by nondefault value does not convert.
 * Font color information does not convert.

Paragraph Formatting:


 * Space before/after a paragraph is approximated with empty paragraphs.
 * Keep Together/With Next formatting does not convert.
 * Paragraph borders/shading does not convert.
 * First-line indent is approximated with spaces.
 * Page break before/after a paragraph does not convert.
 * Leader underline tabs and hyphen tabs do not convert.

Margins:


 * Mirror margins do not convert.
 * Gutter margins do not convert.

Page Numbering:


 * Non-numeric page numbers become numeric page numbers.
 * Page number positioning does not convert.

Footnotes:


 * Manually referenced footnotes convert with a system footnote number.
 * Footnotes that start at a specific number convert to system footnotes.
 * Nondefault footnote separation lines do not convert.
 * Footnotes printed under referenced text convert to system footnotes.

Printing:


 * Print merge fields do not convert.

Miscellaneous:


 * Bookmarks from WordPerfect version 4.2 convert to hidden text; bookmarks from WordPerfect versions 5.x convert to Word bookmarks.
 * Summary sheet information does not convert.
 * Table of contents entries do not convert.
 * Only page sizes supported by WordPerfect convert.
 * Revision marks become strikeouts.
 * Text of annotations does not convert.
 * Graphics do not convert.

Conversion Limitations from WordPerfect to Word RTF

 * Equations do not convert.
 * Graphics do not convert.
 * Endnotes convert as footnotes.
 * Starting footnote other than 1 converts as 1.
 * Manual footnote reference marks are added to autonumbered reference marks.
 * Index and table of contents entries do not convert.
 * Paragraph Keep Together/With Next information does not convert.
 * Nondefault footnote separation lines does not convert.
 * Character #127 (house character) becomes a space.
 * Outline text converts without formatting.
 * Nonbreaking hyphens become regular hyphens.
 * Decimal tabs convert to right-aligned tabs.
 * Line numbering restarts at a new page.
 * Font color information does not convert.
 * Comments become hidden text.

Improving Font Mapping
To improve the font-mapping capability of the converter, create a font- mapping file. Create the file in Word and save it in text-only format. To create a font-mapping file, use the following file-naming convention

XXX_YYY.DAT

where “XXX” is the name of the original word processor and “YYY” is the name of the destination word processor. The valid names are “RTF” for RTF files, “WP4” for WordPerfect 4.0 files, and “WP5” for WordPerfect 5.0 files.

Type the DAT files in this form:

original font;destination font

To specify the font in RTF, use the font name. To specify the font in WP, use the font number. For example, RTF_WP5.DAT would be used by the RTF_WP5 converter and would have entries such as:

AvantGarde;3 Courier;1 NewCenturySchlbk;2 Tms Rmn;4

WP4_RTF.DAT would be used by the WP4_RTF converter and would have entries such as:


 * 1) Font mapping from WordPerfect 4 binary to Microsoft RTF 1;Courier 2;NewCenturySchlbk 3;AvantGarde 4-10;Tms Rmn 11-99;Helv

Capitalize the entries exactly as shown in the RTF file. Arrange the lines in the file in alphabetical or numerical order (for example, from a-z and 1-9). To add comments, type a number sign (#) at the beginning of the line. If the converter is being run in a low-memory environment, the converter may skip the font-mapping file. If this occurs, make more memory available and run the conversion again.

Special Notes About Font-Mapping

Conversion from WordPerfect 5.x to Word RTF
Converting Without a Font-Mapping File:

The converter will map the first font to Roman and the second font to Helvetica. All others are mapped to Courier.

Converting with a Font-Mapping File:

The converter will map fonts as specified in the map file. WordPerfect starts numbering its fonts at 1. Font 1 is the first font used in WordPerfect. Font 2 is the second font used. Type the map carefully; a file using the same fonts but typed in a different order produces a different map.

If a font is used in WordPerfect that is not in the font file, the font will map to the first font in the font file.

WordPerfect considers a change in font family or size as a font usage. Unexpected results may occur with font size changes when mapping fonts by family. For example, without a font-mapping table, if you convert a document that has Times 12-point used as font 1 and Times 10-point used as font 2, the fonts would map to Roman and Helvetica, respectively.

Special Notes About Font-Mapping

Conversion from Word RTF to WordPerfect 5.x

 * Converting Without a Font-Mapping File The converter maps RTF font 0 (zero) (the default font) to Courier; RTF font 1 to Roman; RTF font 2 to Helvetica. All other fonts map to Courier.
 * Converting with a Font-Mapping File The converter maps font 0 to Courier; font 1 to Roman; font 2 to Helvetica. Build the map to convert the RTF fonts to one of these three fonts. Fonts mapped out of this range will be converted to Courier. The sample font-mapping file on disk (RTF_WP5.DAT) improves the default font mapping.

Additional query words: textconv d_word 5.00 5.50

=
========================================================= Keywords :

=
================================================================ Copyright Microsoft Corporation 1999.