28.5.3 Deploying configuration macros

To test the current value of a configuration setting (for example):

<$_if($$[HTMLOptions]ExtractEnable) ... >

To temporarily alter the value of a configuration setting (for example, to strip all table-specific HTML tags from format Unruled tables, but not from other tables):

[TableBeforeMacros]

Unruled = <$$[Tables]StripTable=1>

[TableAfterMacros]

Unruled = <$$[Tables]StripTable=0>

To convert only an individual graphic, leaving the rest unconverted:

[GraphStartMacros]

graphicID = <$$[Graphics]UseOriginalGraphicNames=0>

[GraphEndMacros]

graphicID = <$$[Graphics]UseOriginalGraphicNames=1>

To add a new setting with a configuration variable, see §33.2.5 Adding a new configuration setting on the fly.