I have the following latex file:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{longtable}
\begin{document}
\begin{longtable}{|ll|}
%\toprule
converter & version \\
%\midrule
%\midrule
\endfirsthead%
%\bottomrule
\caption{Converters and the version this document refers to }%\label{tab:versions}
\endlastfoot%
\texttt{pdflatex} & \texttt{pdfTeX 3.141592653-2.6-1.40.24} \\% chktex 8
\texttt{xelatex} & \texttt{XeTeX 3.141592653-2.6-0.999994} \\% chktex 8
\texttt{lualatex} & \texttt{LuaHBTeX, Version 1.15.0} \\
\end{longtable}
\end{document}
With the catption i gen an error on htlatex test
:
! Missing } inserted.
<inserted text>
}
l.190 ...and the version this document refers to }
%\label{tab:versions}
?
! Emergency stop.
<inserted text>
}
l.190 ...and the version this document refers to }
%\label{tab:versions}
No pages of output.
Transcript written on test.log.
If I comment out the caption, the problem disappears
and the output text.html
looks good.
Maybe I shall mention that in the log also occurs:
(/usr/share/texmf/tex/generic/tex4ht/tex4ht.sty
l.864 --- TeX4ht warning --- nonprimitive \everypar ---
--- needs --- tex4ht test ---
This test file is extracted from a bigger one and I could bet that this worked in earler releases... I use texlive.
I have the impression, that some config is wrong just. Who can help??