#### 33.6.4 Turning processing on and off around selected tables

Suppose you use two-cell tables 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 §33.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 §32.4.1.4 Creating named groups of graphics), with group name NoteIcons:

[GraphReplaceMacros]
NoteIcons = <$$nothing=1>

See §32.3 Omitting graphics from HTML output.

Previous Topic: 33.6.3 Adjusting space after tables

Next Topic: 33.6.5 Specifying row-group, row, and cell attributes with macros

Parent Topic: 33.6 Using macros to control table properties

Sibling Topics:

33.6.1 Invoking macros around tables

33.6.2 Adding space before tables

33.6.3 Adjusting space after tables

33.6.5 Specifying row-group, row, and cell attributes with macros

33.6.6 Capturing table row and column counts with variables

33.6.7 Selectively modifying table text with macros: an example

Table of Contents • Index