Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 25 Generating WAI markup for HTML > 25.1 Comparing Mif2Go markup methods for WAI > 25.1.2 Using paragraph formats for WAI attributes
To use a paragraph-format method, you must dedicate a different paragraph format to each WAI attribute or combination of attributes that you need in your document. You can use a paragraph format for either of the following:
You must include in the FrameMaker paragraph catalog all the paragraph formats you use for this purpose.
To hide WAI markup, use conditions
Using a different paragraph format for material that does not actually call for a different format in printed versions can unduly complicate document maintenance. To get around this drawback, you can use the following variation:
1. Apply the WAI paragraph format to an extra paragraph you insert just before the item that requires the markup (or in the same cell, if in a table).
2. Apply a condition, so you can hide the content of that extra paragraph in printed versions of the document.
3. In
the configuration file specify the Delete
property
for the paragraph format, to exclude the extra paragraph from HTML output.
Assign WAI attributes with properties
You assign Mif2Go properties to paragraph formats in the [HTMLParaStyles]
section, and you assign values to the attributes represented by those
properties in [StyleCell*]
sections. WAI table-cell
attributes can be assigned this way; see §26.2.2 Using paragraph formats for table-cell attributes.
Use special paragraphs for WAI attribute values
In the [HTMLParaStyles]
section you assign properties that represent WAI attributes (and usually
also the Delete
property) to a paragraph format;
Mif2Go uses the content of the paragraph as the value
of the attribute.
You can use an existing paragraph format for
this purpose, and omit the Delete
property,
if the format conforms to all of the following: