On 10/24/2023 6:06 AM, Michal Hoftich wrote:
I cannot reproduce these issues, both at work and at home, but I don't think it is caused by Dvisvgm. Two things that you can try is to remove the "htm" option, because it seems to produce strange image filenames, and also the up-to-date driver from here: https://github.com/michal-h21/dvisvgm4ht Best, Michal
Thanks for checking. some update: using your new driver
pwd
/mnt/g/public_html/styles/texmf/tex/generic/dvisvgm4ht
ls -lrt
total 28 -rwxrwxrwx 1 me autologin 2857 Oct 24 15:28 README.md -rwxrwxrwx 1 me autologin 2569 Oct 24 15:28 pgfsys-dvisvgm4ht.def -rwxrwxrwx 1 me autologin 17762 Oct 24 15:28 pgfsys-tex4ht-updated.def
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} ------------------------------- Compiled using make4ht --shell-escape -ulm default -a debug foo3.tex 'mathjax,htm' The generated html shows now the yellow circle. But "some text" is missing. Ofcourse the pdf show the text in the tikz picture. I tried with htm and without and tried with mathjax and without. All math and text are missing from the tikzpicture in the .svg file generated.
which make4ht
/usr/local/texlive/2023/bin/x86_64-linux/make4ht
make4ht --version
make4ht version v0.3m I've put a new zip file that includes all the above MWE with all files generated in this folder https://12000.org/tmp/oct_23_2023/ The zip file is tikz_problem_with_tex4ht_v2.zip So some progress is made by using make4ht updated driver. But the question now is why no labels and no text show up for me. But if all else fails, I can generate images for the tikzpics and includes this as graphics for HTML. Thanks --Nasser