Update: Thanks to the comments below. Using the link by Michal below, it appears this is a known bug but the fix was not in 2014. Doing the change as pointed out in the link below, seems to have fixed the problem
>diff pgfsys-tex4ht.def pgfsys-tex4ht.def_ORIGINAL
89c89
< \def\pgfsys@svg@newline{{?nl}}
---
> \def\pgfsys@svg@newline{\Hnewline}
The above file is in
/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/systemlayer
I no longer get the error, and I get the same outout as tex4ht on texlive 2013
Original question
I just installed fresh linux on virtual machine. Installed new texlive 2014.
Download the .gz file from
http://ctan.math.washington.edu/tex-_archive/systems/texlive/tlnet/
install-tl-unx.tar.gz 16-Jun-2014 18:26 3.2M
Then extract
gunzip install-tl-unx.tar.gz
tar -xvf install-tl-unx.tar
Then move to the folder created from the above and do
sudo ./install-tl
Tried one of my test files and it failed. Same file works ok on texlive 2013 (different virtual machine, so no interactions between installation).
This file fails to build with tex4ht only. Builds ok with pdflatex. I would have expected it to work out of the box, since tex4ht is part of texlive.
\documentclass{article}
\ifdefined\HCode
\def\pgfsysdriver{pgfsys-tex4ht.def}
\fi
\usepackage{tikz,graphicx}
%
\usetikzlibrary{trees}
\begin{document}
\begin{tikzpicture}
\node {root}
child {node {$\frac{a}{b}$}};
\end{tikzpicture}
\end{document}
Using texlive 2014:
>latex --version
pdfTeX 3.14159265-2.6-1.40.15 (TeX Live 2014)
kpathsea version 6.2.0
htlatex foo.tex
gives
(/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.
tex)
(/usr/local/texlive/2014/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
-0-65.sty
! Undefined control sequence.
\pgfsys@svg@newline ->\Hnewline
l.190 \pgfusepathqfill}
?
on the texlive 2013 PC
>latex --version
pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)
kpathsea version 6.1.1
The same command runs with no problem and no errors and HTML is generated with image on it ok.
Has something changed with tex4ht and the pgfsys-tex4ht.def
in texlive 2014?
tex4ht.sty
isn't loaded completely; it stops at the\fi
at line 734, when the\:temp
macro defined a couple of lines earlier is expanded.