[tex4ht] tex4ht vs pgf

Bernd-Peter Paris pparis at gmu.edu
Thu Apr 3 19:24:39 CEST 2014

On Apr 2, 2014, at 1:58 PM, Victor Ivrii <vivrii at gmail.com<mailto:vivrii at gmail.com>> wrote:

On Tue, Apr 1, 2014 at 10:39 AM, Karl Berry <karl at freefriends.org<mailto:karl at freefriends.org>> wrote:
    \def\pgfsys at svg@newline{\Hnewline}

Peter, Victor (and all) - thanks for the debugging efforts.

This file is part of pgf, not part of tex4ht.  So it seems the bug
should be redirected to the pgf side.

If the pgf maintainers want/need some change in tex4ht, we can discuss.
(For what it's worth, \Hnewline is used all over tex4ht.)


Methinks you are correct: when I temporarily installed in "private" tree pgf 2.1 the error had gone. It looks like the problem is with pgf 3.0 (I installed it in the late December)


Victor Ivrii


for what it’s worth, if you replace

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


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

in texmf/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def then the error goes away and (my) documents come out right - even if I use tikz for drawing something like a block diagram. I don’t know if this is the correct way of fixing the problem.

I found the latter definition in texmf/tex/generic/pgf/systemlayer/pgfsys-dvisvgm.def.

I’ll go ahead and file a bug report with the pgf folks.

Hope this helps,

  Peter Paris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex4ht/attachments/20140403/6de29a42/attachment.html>

More information about the tex4ht mailing list