I am new to tex4ht
but not to tex
or pdflatex
.
Since I could not correctly get text inside TikZ
figures, I tried the solution proposed here.
I've copied the pgfsys-dvisvgm4ht.def
file to the home tree:
~/texmf/tex/latex/dvisvgm4ht/
and now the tex to html conversion happens. So at this point I have two questions:
- It is possible to put that file somewhere else in the
texlive
local tree? (see edit-note below). I found it really strange having system files in the user path. - Is that all for
tex4ht
to work well withTikZ
pictures? In that case, what is the purpose of thepgfsys-tex4ht-updated.def
file?
edit:
If I ask the system, I get:
kpsewhich -var-value TEXMFHOME
$HOME/texmf
This folder doesn't exist. However, placing the driver at
$HOME/texmf/tex/latex/pgfsys-dvisvgm4ht.def
makes tex4ht
work fine. On the other hand,
kpsewhich -var-value TEXMFLOCAL
/usr/local/share/texmf
But placing the driver at
/usr/local/share/texmf/tex/latex/pgfsys-dvisvgm4ht.def
doesn't work UNLESS YOU REFRESH THE INDEX OF THAT TREE:
texhash /usr/local/share/texmf
So is this the right way to do it?