michal-h21 / dvisvgm4ht

TikZ driver for tex4ht which uses dvisvgm for the SVG production
10 stars 1 forks source link

Errors when compiling shadings #1

Open dcpurton opened 5 years ago

dcpurton commented 5 years ago

When compiling shadings with the dvisvgm4ht driver, the following error occurs (although output looks OK):

! Infinite glue shrinkage found in a paragraph.
\EndPicture ->\egroup 
                      \nd:gf !{\c:IMG \Pic:Img }\csname b:Picture*\endcsname...
l.7 \pgfuseshading{myshadingA}

MWE

\documentclass{article}
\def\pgfsysdriver{pgfsys-dvisvgm4ht.def}
\usepackage{pgf}
\begin{document}
\pgfdeclarehorizontalshading{myshadingA}
{1cm}{rgb(0cm)=(1,0,0); color(2cm)=(green); color(4cm)=(blue)}
\pgfuseshading{myshadingA}
\end{document}