Menu

pgf 3.0 breaks tex4ht

2014-04-02
2014-04-03
  • Victor Ivrii

    Victor Ivrii - 2014-04-02

    Running htlatex over

    \documentclass{article}
    \usepackage{pgf}
    \begin{document}
    Hello, world!
    \end{document}

    returns an error
    returns an error
    l.190 \pgfusepathqfill}

    and cannot process further

    Temporarily reinstalling pgf 2.1 resolved the problem

    More discussion in tex4ht mailing list:
    http://thread.gmane.org/gmane.comp.tex.tex4ht/786

     
  • Peter Paris

    Peter Paris - 2014-04-03

    I am confirming Victor's report.

    It appears that this problem originates in

    texmf/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def
    

    Specifically, line 89 of that file seems to introduce the error. This line reads

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

    and if that line is changed to

    \def\pgfsys@svg@newline{{?nl}}
    

    (as in texmf/tex/generic/pgf/systemlayer/pgfsys-dvisvgm.def) then the error goes away without introducing any obvious new errors.