Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

23 Including graphics in HTML > 23.5 Selecting and modifying graphics > 23.5.1 Assigning properties to sets of graphics > 23.5.1.2 Using markers to assign properties to graphics


23.5.1.2 Using markers to assign properties to graphics

You can use markers in your FrameMaker document to assign a property to a single graphic or to only a few graphics, or to exclude a graphic from a general assignment. In some cases this might be easier than determining the individual GraphicIDs required in configuration settings. Use either of these marker types:

[spacer]

HTMConfig

Content is [GraphSection]=Value

HTML Macro

Content is any HTML code

HTMConfig for individual graphics

Insert the HTMConfig marker in text before the graphic, and provide as marker content the property assignment. For example, to scale a certain graphic to 75%, you could place an HTMConfig marker just before the anchor for the graphic frame, and specify the scale factor as the marker content:

[GraphScale]=75

See §33.2.9.4 Overriding graphic properties for HTML.

HTML Macro for a series of graphics

You can use markers of type HTML Macro to change the value of a macro variable just before a graphic or series of graphics, then change it back again after the graphics. For example, you could use HTML Macro markers and a macro variable to scale a series of graphics to 75%.

Include in the configuration file a scale-factor setting that references a macro variable:

[GraphScale]

*=<$$scalepct>

Initialize the value of the macro variable:

[MacroVariables]

scalepct=100

In text just before the graphics to be scaled, insert an HTML Macro marker with content:

<$$scalepct=75>

Just after the graphics to be scaled, insert another HTML Macro marker with content:

<$$scalepct=100>

See §28.3 Using macro variables.



23 Including graphics in HTML > 23.5 Selecting and modifying graphics > 23.5.1 Assigning properties to sets of graphics > 23.5.1.2 Using markers to assign properties to graphics