Thu Oct 20 12:19:40 2022, original submission:
reference and screen shots at
https://tex.stackexchange.com/questions/662414/tex4ht-gives-error-compiling-table-with-caption-using-amsart-class
This MWE on TL 2022 on Linux
-----------------------------
\documentclass[letterpaper,12pt,reqno]{amsart}
\usepackage[T1]{fontenc}
\newtheorem{theorem}[subsection]{Theorem}
\usepackage{floatrow}
\floatsetup[table]{capposition=top}
\begin{document}
\begin{table}[h]
\centering
\begin{tabular}[c]{|l|l|l|}\hline
case & allowed pole order for $r$ & allowed order of $r$ at $\infty$ \\\hline
1 & $\left\{ 0,1,2,4,6,8,\cdots\right\} $ & $\left\{ \cdots,-8,-6,-4,-2,0,2,3,4,5,6,\cdots\right\} $ \\\hline
2 & $\left\{ 2,3,5,7,9,\cdots\right\} $ & no condition \\\hline
3 & $\left\{ 1,2\right\} $ & $\left\{ 2,3,4,5,6,7,\cdots\right\} $ \\\hline
\end{tabular}
\caption{Necessary conditions for each Kovacic case}\label{tab:first}
\end{table}
\end{document}
------------------
ompiles OK with pdflatex (I have to use pdflatex and not lualatex since arxiv requirement). But when compiling with tex4ht it gives error this error
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/mathcolor.ltx)) [1]
[2] (/usr/local/texlive/2022/texmf-dist/tex/latex/lm/t1lmtt.fd)
! Extra }, or forgotten \endgroup.
\@endfloatbox ...pagefalse \outer@nobreak \egroup
\color@endbox
l.27 \end{table}
?
The command used is
make4ht -ulm default -a debug foo.tex "mathjax,htm,fn-in,notoc*,p-width,charset=utf-8,cut-fullname"
>which make4ht
/usr/local/texlive/2022/bin/x86_64-linux/make4ht
>make4ht --version
make4ht version v0.3l
--Nasser
|