Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

23 Converting tables to HTML > 23.7 Converting tables to paragraphs


23.7 Converting tables to paragraphs

To use content stored in tables as ordinary non-table content, you can direct Mif2Go to remove table-specific tagging from tables in your document, leaving just cell content. You might need to do this if you have a long table and you want to split it across several HTML files, but not as a table; or if you are preparing output to be displayed in a browser that does not support HTML table tags.

To strip all tables of table-specific elements:

[Tables]

; StripTable = No (default) or Yes to remove all table tagging while

; retaining cell content.

StripTable = Yes

This setting applies to all tables in your document. To restrict it to selected tables, see §31.2.7 Overriding fixed-key configuration settings.

When StripTable=Yes, Mif2Go writes out the content of each table cell in row order (top to bottom) then column order (left to right), preserving paragraph and character formats. By default, Mif2Go also sets the following file-splitting options:

[Tables]

; AllowTbSplit = No (default)

;  or Yes (allow file split for head in table)

AllowTbSplit = Yes

; AllowTbTitle = No (default) or Yes (allow title from head in table)

AllowTbTitle = Yes

You can override these settings; see §17.2.1 Designating split points and §17.4.2.2 Assigning a title with a paragraph format.

For complex tables, if the raw result is not satisfactory you might need to use macros to control placement and appearance of content. You can use table macros for this purpose, even though the content is not displayed with table tags in the output; see §23.6 Using macros to control table properties. You can also use format-related macros; see §27.7.3 Surrounding or replacing text with code or macros.

   

 



23 Converting tables to HTML > 23.7 Converting tables to paragraphs