28.7.2 Surrounding marker content with code
If you assign the Code property to a marker type (see §28.4.1 Assigning properties to marker types), you can have Mif2Go surround the content with additional "before" and "after" code:
; for markers assigned the Code property in MarkerTypes.
; for markers assigned the Code property in MarkerTypes.
If the marker content includes Mif2Go macros, those macros are expanded, along with any macros assigned in these two sections.
Following the example in §28.3 Remapping marker types and hypertext commands, to create an ALink reference to the link identified in the marker content:
In this example, if you are generating Oracle Help for Java, you specify one subject name in the ALinkRef marker, and get both an ALink (which makes the current topic a member of the group) and a hotspot that calls up that list of topics.
You can capture marker content in a macro variable at the same time:
Mif2Go first makes a copy of the ALink marker, then uses that copy to create a macro assignment statement:
<$$ALinkText= "marker content">
This statement sets the value of the macro variable to the content of the marker, without producing any output; and you can use the macro variable in other macros.
For a more extensive example for HTML Help, see §8.6.5.2 Creating a list of ALink keywords from markers.
> 28 Working with FrameMaker markers > 28.7 Using markers to insert code or text > 28.7.2 Surrounding marker content with code
