[tex4ht] tex4ht vs pgf

Peter Paris pparis at gmu.edu
Mon Mar 31 16:46:40 CEST 2014


Victor Ivrii <vivrii at ...> writes:

> 
> htlatex
> 
> \documentclass{article}
> 
> \usepackage{pgf}
> 
> \begin{document}
> 
> Hello, world!\end{document}
> returns an error
> l.190   \pgfusepathqfill}
> 
> and cannot process further
> 
> 
> (Fully updated TL 2013)
> 
> However everything works for TL 2013 not upgraded after August 10
> 
> Could it be
> 
> [Sun Sep  1 02:15:08 2013] update: tex4ht (31399 -> 31548)?
> 
> 
> 
> Victor Ivrii
> 
> 
> 

I'm running into the same issue that Victor is describing.

It appears that this problem is caused by .../pgf/systemlayer/pgfsys-tex4ht.def. 
If I run the same document through regular latex - so that 
.../pgf/systemlayer/pgfsys-dvips.def is included instead, 
which appears to be the only difference - then the error does 
not occur.

If I had to guess further, I would pin the blame on line 89 of 
pgfsys-tex4ht.def which says:

\def\pgfsys at svg@newline{\Hnewline}

Unfortunately, I'm not tex-literate enough to confirm or fix this. I 
hope that this is useful for someone more knowledgeable than me.

Peter






More information about the tex4ht mailing list