37.9.5 Using
HTML Macro PI markers to invoke macros
You can specify a macro to be invoked
via the HTML Macro
PI marker. Insert a PI marker of type HTML Macro
where you want a macro to be invoked, and supply <$Macroname> or
<$.\macrofile.htm>
as the marker text.
For compatibility with existing HTML
macro usage, you can also specify just the macro name in a HTML Macro
PI marker, without the angle brackets and dollar sign; DITA2Go
processes the marker text as though it were a DITA2Go macro.
Previous Topic:
37.9.4 Assigning
macros to graphics or tables for HTML
Next Topic:
37.9.6 Implementing
drop-down text with macros
Parent Topic:
37.9 Deploying
macros and macro variables
Sibling Topics:
37.9.1 Understanding
where to use macros and macro variables
37.9.2 Invoking
macros at predetermined points in output
37.9.3 Surrounding
or replacing text with code or macros
37.9.4 Assigning
macros to graphics or tables for HTML
37.9.6 Implementing
drop-down text with macros
Table of Contents • Index