#### 9.4.2 Providing images and alt text for startflag and endflag

For DITA2Go to make startflag and endflag (see §9.4.1 Specifying text properties for flags) display something in output, you must specify the image, the text, or both to display:

Starting image

Starting text

Ending image

Ending text

Starting image

To specify an image for a conditional flag assigned property startflag:

    [CondStartFlagImages]
    ; flag name = href for an image that marks the start of the flagged
    ; area, usually a relative path or a URL for HTML
    flagname = reference/to/image.gif

This setting takes effect only if the startflag property is assigned to flagname in [ConditionalFlags]; see §9.4.1 Specifying text properties for flags.

Starting text

To specify alternate text for a conditional flag assigned property startflag:

    [CondStartFlagAltText]
    ; flag name = alt text for the start flag image
    flagname = Start of change

If no image is assigned to flagname in [CondStartFlagImages], the text assigned here is displayed instead. This setting takes effect only if the startflag property is assigned to flagname in [ConditionalFlags]; see §9.4.1 Specifying text properties for flags.

Ending image

To specify an image for a conditional flag assigned property endflag:

    [CondEndFlagImages]
    ; flag name = href for an image that marks the end of the flagged
    ; area, usually a relative path or a URL for HTML
    flagname = reference/to/image.gif

This setting takes effect only if the endflag property is assigned to flagname in [ConditionalFlags]; see §9.4.1 Specifying text properties for flags.

Ending text

To specify alternate text for a conditional flag assigned property endflag:

    [CondEndFlagAltText]
    ; flag name = alt text for the end flag image
    flagname = End of change

If no image is assigned to flagname in [CondEndFlagImages], the text assigned here is displayed instead. This setting takes effect only if the endflag property is assigned to flagname in [ConditionalFlags]; see §9.4.1 Specifying text properties for flags.

Previous Topic: 9.4.1 Specifying text properties for flags

Next Topic: 9.4.3 Highlighting conflicting flag properties

Parent Topic: 9.4 Configuring conditional flags

Sibling Topics:

9.4.1 Specifying text properties for flags

9.4.3 Highlighting conflicting flag properties

Table of Contents • Index