1Similar to the LaTeX() converter, you can use either tt(NOTRANS) or
2tt(htmlcommand) to send HTML commands to the output. Or, since the only
3`difficult' characters are probably only tt(<) and tt(>), you can also resort
4to tt(CHAR) for these two characters.
5
6Furthermore, the HTML converter defines the macro tt(htmltag), expecting two
7arguments: the tag to set, and an `on/off' switch. E.g., tt(htmltag(b)(1))
8sets tt(<b>) while tt(htmltag(b)(0)) sets tt(</b>).
9
10E.g., the following code sends a HTML command tt(<hr>) to the output file when
11in HTML mode:
12        verb(\
13    COMMENT(-- alternative 1, using htmlcommand --)
14    htmlcommand(<hr>)
15
16    COMMENT(-- alternative 2, using NOTRANS --)
17    IFDEF(html)(
18        NOTRANS(<hr>)
19    )()
20
21    COMMENT(-- alternative 3, using CHAR --)
22    IFDEF(html)(
23        CHAR(C)HAR(<)hr+CHAR(C)HAR(>)
24    )()
25
26    COMMENT(-- alternative 4, using htmltag --)
27    htmltag(hr)(1)
28        )
29