[tex4ht] [bug #602] LaTeX mark Error: Infinite shrinkage found in 'page'. when using tex4ht only

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Thu Jun 1 20:41:30 CEST 2023


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

                 Summary: LaTeX mark Error: Infinite shrinkage found in
'page'. when using tex4ht only
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Thu Jun  1 18:41:30 2023
                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:
https://tex.stackexchange.com/questions/687397/latex-mark-error-infinite-shrinkage-found-in-page-when-using-tex4ht-only


I have table generated by a program which is a little large. But no problem
compiling it with lualatex. When using tex4ht using same commands I always
use, now it gives this error which I never saw before

Command used is 

make4ht -ulm default -a debug -c ./nma_mathjax.cfg main.tex
"mathjax,htm,fn-in"

Output is 
--------------------
....

(/usr/local/texlive/2022/texmf-dist/tex/generic/tex4ht/html5.4ht))
(./main.aux)
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/ts1cmr.fd))19    nil
 [1] [2]
(/usr/local/texlive/2022/texmf-dist/tex/latex/lm/t1lmtt.fd)Unsupported font
pzdr

Overfull \vbox (32240.63214pt too high) detected at line 1125

Overfull \vbox (32240.63214pt too high) has occurred while \output is active

! LaTeX mark Error: Infinite shrinkage found in 'page'.

For immediate help type H <return>.
 ...                                              
                                                  
l.1125 \end{table}
                
? H

This is a coding error.

The mark region 'page' contains some infinite negative glue allowing it to
shrink to an arbitrary size. This makes it impossible to split the region
apart to get at its marks. They are lost.

? 
------------------

Since the .tex file is large and my nma_mathjax.cfg is large and needed, I put
these two files in the folder at the link at the bottom. I also put the .pdf
compiled by lualatex with no problem.

The files are self contained and have minimal packages needed to reproduce the
problem.

Simply download the .tex and .cfg files to one folder and issue the above
command to see the problem.

I am using TL 2022 on Linux

>which make4ht
/usr/local/texlive/2022/bin/x86_64-linux/make4ht
This is the .tex file preview

--------------------------
\documentclass[12pt]{book}    
\usepackage{amsmath} 
\usepackage{breqn}
\usepackage{graphicx}
\usepackage{caption} %added 2/18/16  for making caption in figure same size as
image
\usepackage{multirow} %added 2/21/16. To allow table with columns that span
rows
\usepackage{longtable} %2/24/16  does not work in two columns
\usepackage{xcolor}
\usepackage{hyperref}

%added OCT 28, 2018
\ifdefined\HCode 
\newcommand{\cprotect}{}
\else 
\usepackage{cprotect} %only needed to latex
\fi
    
\usepackage{pifont} %http : // ctan.org/pkg/pifont
\newcommand{\cmark}{\textcolor{blue}{\Large \ding{51}}}
\newcommand{\xmark}{\textcolor{red}{\Large \ding{55}}}
\newcommand{\notsure}{\ding{103}} %

%this adds support to fixed width tables.
\newenvironment{fixedtabular}[2]{\gdef\tablewidth{#2}\begin{tabular}{#1}}{\end{tabular}}
%
\newcommand{\eslowast}{}
\begin{document}        
Number of problems in this table is 1066

Column notations: A is ODE degree. B is Program Number of solutions generated.
C is CAS Number of solutions generated.
\ifdefined\HCode
\begin{table}
\caption{isobaric}
\begin{fixedtabular}{|p{1in}|p{5in}|p{0.6in}|p{0.6in}|p{.6in}|p{2in}|p{2in}|p{.75in}|p{.75in}|p{0.75in}|}{1100px}\hline
...... very long table here
\ifdefined\HCode\HCode{<a
href="chapters/differential_equations_by_shepley_L_ross_third_edition/indexsubsection66.htm">10619</a>}\else\hyperref[10619]{10619}\fi&\begin{minipage}{\linewidth}\begin{dmath*}{}2
x^{2}+2 x y+y^{2}+\left(x^{2}+2 x y\right) y^{\prime} = 0
\end{dmath*}\end{minipage}&1&\textcolor{red}{1}&2&{isobaric}&[[\_homogeneous,
class A], \_exact, \_rational, [\_Abel, 2nd type, class
B]]&\textcolor{blue}{\Large \cmark}&\textcolor{blue}{\Large \cmark}&91.892\\
\hline
\ifdefined\HCode
\end{fixedtabular}
\end{table}
\else
\end{longtable}
\fi
\normalsize

\end{document}
------------------

Any idea what is the cause of this problem and how to workaround it will be
appreciated as it stopping my build now. I did not do any changes to tex4ht or
to my setup for the last few months and this is first time I see this error.
May be because the table size got larger? But this should not cause a
problem.


https://12000.org/tmp/tex4ht_june_2_2023/





    _______________________________________________________

Reply to this item at:

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

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



More information about the tex4ht mailing list.