Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

24 Converting tables to HTML > 24.6 Using macros to control table properties > 24.6.4 Turning processing on and off around selected tables


24.6.4 Turning processing on and off around selected tables

Suppose you use two-cell tables in FrameMaker to hold notes and warnings, with an icon in the first cell and text in the second cell. And suppose for HTML output you want to strip the table structure, discard the icon, and keep just the text from the second cell.

You can use Before and After macros for the table format to turn on and off the StripTables setting (see §24.7.2 Removing table-specific tags from selected tables) for the table format in question; in this example, NoteTable:

[TableBeforeMacros]

NoteTable = <$$[Tables]StripTables=1>

[TableAfterMacros]

NoteTable = <$$[Tables]StripTables=0>

Stripping a table removes only the table code; the content remains unaltered, so you still have both icon and text.

To exclude the icon(s) from HTML output, suppose you have established a graphics group for such icons (see §23.5.1.4 Creating named groups of graphics), with group name NoteIcons:

[GraphReplaceMacros]

NoteIcons = <$$nothing=1>

See §23.4.5 Omitting graphics from HTML or XML output.



24 Converting tables to HTML > 24.6 Using macros to control table properties > 24.6.4 Turning processing on and off around selected tables