[tex4ht] Problems generating svg when tikz is involved with tex4ht
Michal Hoftich
michal.h21 at gmail.com
Wed Oct 25 11:20:38 CEST 2023
Hi Nasser,
> Now the HTML shows the tikz shapes. But all the text is missing.
> i.e. for this MWE
>
> ---------------------------
> \documentclass[12pt]{article}
> \ifdefined\HCode
> \def\pgfsysdriver{pgfsys-tex4ht-updated.def}
> \fi
> \usepackage{amsmath}
> \usepackage{tikz}
>
> \begin{document}
>
> \begin{tikzpicture}
> \node at (0,0) [circle, fill=yellow, inner sep=1pt] { some text};
> \end{tikzpicture}
>
> after tikz
> \end{document}
> -------------------------------
Don't use \def\pgfsysdriver{pgfsys-tex4ht-updated.def}, the correct
driver is selected automatically, and it should be
`pgfsys-dvisvgm4ht.def`, not `pgfsys-tex4ht-updated.def`.
Best regards,
Michal
More information about the tex4ht
mailing list.