The following markup inserts a graphic with the specified caption and an automatically generated figure number:
<!entity MapFigure FILE "worldmap.xwd">
.
.
.
<figure entity=MapFigure>
Caption for Figure
<\figure>
The following markup inserts a figure that is numbered but does not have a caption.
<!entity StateMap FILE "oregon.xwd">
.
.
.
<figure entity=StateMap>
<\figure>
.
.
.