MICROSOFT WORD VERSION 5.0 RTF (CONVERSION LIMITATIONS AND CUSTOMIZABLE FONT MAPPING) This file explains certain limitations on conversions between documents formatted in Word and those formatted in RTF (Rich Text Format). It also explains how to create custom font mapping files for use with the conversion utility. CONVERSION LIMITATIONS: Conversion to or from RTF affects the following Word Version 5.0 features: Headers and Footers: . Headers and footers must appear at the beginning of the division in the Word document in order to be converted. . If a header is formatted to appear on odd or even pages and the first page, the conversion generates two headers with the same text in the RTF file. The first header is formatted as odd/even, the second as first- page only. . RTF headers and footers are assumed to run through all divisions of the document. In Word, they must be reset in every division. This does not affect Word-to-RTF- to-Word conversions, but it may affect conversions from Word to RTF, and then on to other word processor formats. Margins: . Top and bottom margins can be set only once in RTF. The first top and bottom margin settings in the Word document determine the RTF margins for the entire RTF document. Subsequent margin changes in the Word document are ignored. . Page length and width can be set only once in RTF. The first page length and width set for the first division determine the RTF page length and width. Paragraph Shading and Borders: . Paragraph shading is ignored when converting to RTF. . Bold Word borders are translated to thick RTF borders. . Thick RTF borders become bold when converted into Word. Font Color: . Font color is not translated in the conversion. Graphics: . Graphics do not convert. The tag converts as text. CUSTOMIZABLE FONT MAPPING You can create your own font-mapping tables to override some or all of the built-in font conversions provided by the conversion utility. The tables are two ASCII files: RTF-PCW.DAT, to map RTF fonts to Word font numbers, and PCW-RTF.DAT, to map Word font numbers to RTF fonts. The files must be in the same directory as the document or the conversion utility. You can create an ASCII file in Word by choosing Transfer Save and selecting the "Text-only-with-line-breaks" option. The entries in the file map Word font numbers to and from RTF fonts. The names of fonts are not case-sensitive, but the lines in the tables must run in ascending order by the first character of each line (a-z, 0-9). Comments may be inserted in the file with a "#" character, either at the beginning of a line or after the font mapping entry. RTF-PCW.DAT To map RTF fonts to Word format, you can create the file RTF-PCW.DAT. Each line of the file must be in the following format: FontName;WordFontNumber Example: courier;8 timesroman;16 The first line in this example changes all RTF characters in Courier to Word characters in font 8 (Helvetica). The second line converts all RTF characters in Times Roman to Word characters in font 16 (Roman a). A list of all Word font numbers and what they mean appears in the font table near the top of every RTF file. For more information about Word's font number system, see pages 251- 253 in "Printer Information for Microsoft Word." PCW-RTF.DAT To map Word font numbers to RTF fonts and font families, you can create the file PCW-RTF.DAT. Each line of the file must be in the following format (brackets indicate an optional item): WordFontNumber;FontName[,FontFamily] Example: 8;courier,modern 16;timesroman,roman The first line in this example changes all Word characters in font 8 (Helvetica) into RTF characters in Courier. The second line converts all Word characters in font 16 (Roman a) to RTF characters in Times Roman.