37.9.1 Understanding
where to use macros and macro variables
You can use a macro to insert HTML or
RTF code in any of the following places:
- before,
after, or in place of:
- a
paragraph or character format
- a
graphic or a group of graphics
- a
table or a group of tables
- within
table cells
- at
any point in the text, using an HTML Macro
or Code
PI marker
- at
fixed points in an HTML file, such as <head>,
or at start and end of <body>
- at
fixed points in an RTF file, such as in the header or footer, or at top
or bottom.
You
can give a macro variable an initial value in [MacroVariables]
(see §37.3.2
Assigning values to macro variables); however, you can use
macro variables only within DITA2Go macros.
Configuration settings whose values
are not themselves macros cannot include macro variables.
Previous Topic:
37.9 Deploying
macros and macro variables
Next Topic:
37.9.2 Invoking
macros at predetermined points in output
Parent Topic:
37.9 Deploying
macros and macro variables
Sibling Topics:
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.5 Using
HTML Macro PI markers to invoke macros
37.9.6 Implementing
drop-down text with macros
Table of Contents • Index