[tex4ht] [bug #578] tex4ht gives error compiling table with caption using amsart class

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Thu Oct 20 14:19:40 CEST 2022


URL:
  <http://puszcza.gnu.org.ua/bugs/?578>

                 Summary: tex4ht gives error compiling table with caption
using amsart class
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Thu Oct 20 12:19:40 2022
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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 at nobreak \egroup 
                                                  \color at 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







    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?578>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



More information about the tex4ht mailing list.