Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

8 Generating WinHelp > 8.5 Converting tables to WinHelp RTF > 8.5.3 Converting table rows to topics and table cells to pop-ups


8.5.3 Converting table rows to topics and table cells to pop-ups

Mif2Go can remove the formatting from a table and make each row into a topic:

[Tables]

; StripTables = No (default) or Yes (when every row is a new topic)

StripTables=Yes

This setting applies to all tables in a document (or in a single file, if you convert that file separately); use it only to disassemble all the tables. The text in the first column of each table row becomes the topic title if you designate the paragraph format used in the first column as Topic:

[HelpStyles]

First_column_format=Topic

Before stripping a table, Mif2Go adds an RTF paragraph break (\par) to each cell to mark the end of the cell content after the table formatting is gone. If you are using the cell content for a pop-up (see §8.8.1 Creating WinHelp topics), the presence of the \par causes extra space around the pop-up text. To reduce the space, you can set the following option:

[Tables]

; StrippedCellPar = Yes (default, add \par after cells)

; or No (omit it)

StrippedCellPar=No



8 Generating WinHelp > 8.5 Converting tables to WinHelp RTF > 8.5.3 Converting table rows to topics and table cells to pop-ups