Microsoft KB Archive/95267

{|
 * width="100%"|

WD: How Indexes Are Converted Between MacWord and WinWord

 * }

Q95267

-

The information in this article applies to:


 * Microsoft Word for the Macintosh, version 5.1
 * Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 2.0c-CD

-

SUMMARY
The following is an overview of how indexes and associated formatting are converted between Word for Windows version 2.0c and Word for the Macintosh version 5.1. Results obtained with earlier versions of each Word product may differ.

Table Key
  Y   - Supported in conversion. N  - Not supported in conversion. E  - Emulated in appearance with loss of actual format, or emulated with similar formatting feature. P  - Partially retained, or only retained in one of the two possible conversion avenues (opening from Word for Windows format in Word        for the Macintosh versus saving directly to Word for the         Macintosh format from within Word for Windows). N/A - Not applicable: The source product does not have this feature. Mac  Win Index          to    to   Formatting      Win   Mac   Comments --     ---   ---      Index Entries: Location      Y     Y    Word for Windows XE fields convert to Word for the Macintosh .i. index entry markers and vice versa. Ranges of     P     E    In Word for the Macintosh, an index entry Pages for                can be used to indicate a range of pages. Topics                   The beginning and ending marker text for such an entry is formatted as hidden text, and might appear similar to                                 .i(.IndexEntry;          (on page 1)                                  .i).IndexEntry;          (on page 3) where the .i(.IndexEntry; string marks the                              beginning of the range and the                               .i).IndexEntry; string marks the end. When a document containing an index entry marking a range of pages is saved to Word for Windows format from within Word for the Macintosh, the beginning index entry hidden text is lost, thus invalidating the range entry. Microsoft has identified this as a problem in the Word for Windows 2.0 converter supplied with Word for the Macintosh. We                              are researching the problem and will post new information here in the Microsoft Knowledge Base as it becomes available. If the same document is instead opened from Word for the Macintosh format into Word for Windows, the range of pages functionality is retained as a combination of a bookmark spanning the range of pages and an XE field with \r switch that cross- references the bookmark. When a document containing an XE field with the \r switch cross referencing a                              bookmark spanning a range of pages is                               converted to Word for the Macintosh, the field entry is successfully mapped to                              .i. markers at the beginning and ending of                               the range as outlined above. Hidden        Y    N/A   If all text between the index code (.i.) Formatting               and the end-of-entry code (or paragraph                               mark) is formatted as hidden in Word for the Macintosh, the text appears only within an XE field when converted to Word for Windows. If only the index code and end-of-entry code are hidden, the text located between these codes appears both within an XE                              field and as document text when converted to Word for Windows. If only certain levels of a multi-level entry are formatted as hidden, text that is hidden appears only within the resulting XE field and remaining contents also appear as document text when converted to Word for Windows. All of the above is functionality by                              design. Compiled        E     E    Compiled indexes convert bidirectionally Indexes                    as normal text and should be deleted if                               you plan to later recompile the index. NOTE: Word for Windows includes a comma separator character between the topic text and page number regardless of whether optional index entry format switches have been utilized. Word for the Macintosh does not. Therefore, when converting to Word for Windows, a compiled index entry that originally appeared as                                 Bodies of water 22 will instead appear as                                 Bodies of water, 22 The inverse occurs when converting to Word for the Macintosh. Normal        Y     Y     (Nested) Run-In        Y     Y   Multiple         Y     Y    Both Word products support up to seven Levels                     levels within an index. Page Number Format: Bold          Y     Y     Italic         Y     Y     Bold/Italic    Y     Y     No Page        P     Y    When a Word for the Macintosh document Number                   contains an index entry formatted to                               include no page number, if that document is converted to Word for Windows, the index entry is misinterpreted and a page number does appear. For example, an entry that originally appears as                                 .i.Bodies of water::; is converted to Word for Windows as                                 {xe &quot;Bodies of water::&quot;} It should instead appear as                                 {xe &quot;Bodies of water&quot; \t} Microsoft has identified this as a problem in Word for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it                              becomes available.     Number with    P     Y    When an index entry is formatted to     Text                      include normal text, bold text, italic (Normal,                 text, or bold-italic text in place of a      Bold,                    page number in Word for the Macintosh, if      Italic, or               that document is opened from Word for the      BoldItalic)              Macintosh into Word for Windows, the text intended to substitute for the page number becomes part of the index topic, a page number does appear, and only the page number receives the bold, italic, or                              bold-italic format. For example, entries that originally appear as                                 .i.Streams, See Rivers; .ib.Streams,#See Rivers; .ii.Streams,#See Rivers; .ibi.Streams,#See Rivers; are converted to Word for Windows as                                 \t... {xe &quot;Streams, See Rivers&quot;} \t... {xe \b &quot;Streams, See Rivers&quot;} \t... {xe \i &quot;Streams, See Rivers&quot;} \t... {xe \b \i &quot;Streams, See Rivers&quot;} where the \t codes precede the index entry text that appears in the document. These should instead be converted to                                 {xe &quot;Streams,&quot; \t &quot;See Rivers&quot;} {xe &quot;Streams,&quot; \t &quot;See Rivers&quot; \b} {xe &quot;Streams,&quot; \t &quot;See Rivers&quot; \i} {xe &quot;Streams,&quot; \t &quot;See Rivers&quot; \b \i} NOTE: The above is also a problem with MacWord 6.0.1; it does convert correctly WinWord 95. Microsoft has identified this as a problem in the Word for the Macintosh 5 converter supplied with Word for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.                               If a document containing one or more of                               these entries is instead saved to Word for Windows format from within Word for the Macintosh these index entries are converted correctly. Optional Format Switches: Colon, Semi-  P     P    When an index entry is formatted to     colon, or                 include a colon, a semicolon, or the # as     # Symbol                  text instead of as an indexing instruction As Text                  in Word for the Macintosh, if the document is saved to Word for Windows format, the index entry is misinterpreted. For example, entries that originally appear as                                 .i.'Bodies of water: oceans'; .i.'Bodies of water; oceans'; .i.'# (Number Sign)'; are converted to Word for Windows as: {xe &quot;'Bodies of water: oceans'&quot;} {xe &quot;Bodies of water'; oceans'&quot;} {xe \t &quot; (Number Sign)'&quot;} They should instead appear as: {xe &quot;Bodies of water\: oceans&quot;} {xe &quot;Bodies of water&quot;\t &quot;; oceans&quot;} {xe &quot;# (Number Sign)&quot;} Microsoft has identified this as a problem in the Word for Windows 2 converter supplied with Word for the Macintosh. We                              are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.                               If a document containing one or more of                               these entries is instead opened from Word for the Macintosh format into Word for Windows, these index entries are converted correctly. When a Word for Windows document containing an index entry formatted to                              include a colon as text instead of an                               indexing instruction is converted to Word for the Macintosh, the \ that precedes the colon in Word for Windows to delimit it as                              text is ignored and the colon is                               interpreted as delimiting a sublevel entry. Microsoft has identified this as a problem in Word for the Macintosh. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: formats formatting

Keywords : kbinterop winword macword wordconvert

Issue type : kbinfo

Technology : kbWordSearch kbWordWSearch kbWordMSearch