Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

28 Working with macros > 28.5 Accessing settings with configuration macros > 28.5.3 Deploying configuration macros


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.



28 Working with macros > 28.5 Accessing settings with configuration macros > 28.5.3 Deploying configuration macros