On Apr 2, 2014, at 1:58 PM, Victor Ivrii 
<[email protected]<mailto:[email protected]>> wrote:




On Tue, Apr 1, 2014 at 10:39 AM, Karl Berry 
<[email protected]<mailto:[email protected]>> wrote:
    texmf-dist/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def
    [...]
    \def\pgfsys@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.)

Best,
Karl


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

Victor,

for what it’s worth, if you replace

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

with

\def\pgfsys@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,

P.
--
  Peter Paris




Reply via email to