### 23.4.5 Omitting graphics from HTML or XML output

To strip all graphics from your document so no tags or references to graphics are included in HTML or XML code, substitute for the graphics a macro that does nothing:

[GraphReplaceMacros]

* = <$$nothing = 1>

The macro must have some content; a simple variable assignment produces no output. You might also need the following settings to avoid having Mif2Go waste time generating graphics in the first place, and to eliminate any anchor paragraphs for the graphics:

[Graphics]

UseGraphicPreviews = No

GraphWrapPara = No

See also:

§3.7.4.1 Omitting and restoring graphics production

§23.5.2 Replacing or surrounding a graphic with macro code

§23.5.6 Omitting paragraph tags around graphics

| 23.4.4 Using referenced, embedded, and compound graphics |  | 23.5 Selecting and modifying graphics |