PREV UP NEXT texi2www user's guide

3.2: @html and @end html

@html blocks are similar to @tex blocks; @html blocks only get processed when generating HTML and lines within @html blocks may contain HTML commands.

For example,

@html
produces <EM>&lt;EM&gt;</EM> in HTML is like @var{@@var} in texinfo.
@end html
produces <EM> in HTML is like @var in texinfo.

texinfo.tex (in /usr/local/lib/tex/macros on my machine) needs to be modified in order to use @ifhtml. I inserted

\def\html{\doignore{html}}

after the \def\ifinfo{\doignore{ifinfo}} line (line 596 ???).