I found that in order to use tikz with tex4ht to produce HTML, I need to do the following:
\def\pgfsysdriver{pgfsys-tex4ht.def}
\usepackage{tikz}
I also need to produce PDF from the same tex file using pdflatex, but that gives me an error with the \def above.
Is there a way to exclude the def from pdflatex?
