[tex4ht] [bug #527] tex4ht gives Dimension too large with @arstrutbox when using longtable

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Sat Sep 25 01:41:56 CEST 2021


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

                 Summary: tex4ht gives Dimension too large with @arstrutbox
when using longtable
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Sat Sep 25 02:41:55 2021
                Category: None
                Priority: 5 - Normal
                Severity: 7 - Important
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

reference 

https://tex.stackexchange.com/questions/616637/tex4ht-gives-dimension-too-large-with-arstrutbox-when-using-longtable


I was getting the error

  Overfull \vbox (22903.01811pt too high) detected at line 2038
    ! Dimension too large.
    \n:LT at start: ...\ifdim \ht \@arstrutbox >\ht \tw@
                                                      \@arstrutbox \else \tw@
\f...


As part of compiling a very large Latex file using tex4ht and this happens
inside a longtable

I worked long time to reduce it to the minimum possible example.

The MWE is still too large to post, as it happens on a long longtable. So at
the end of this post, I have link to zip file on my page to download the latex
file called KERNEL.tex and log files it generated.

Using tex4ht and compiling using the command

 make4ht -ulm default -a debug KERNEL.tex "htm"

Gives error

========================
make4ht -ulm default -a debug KERNEL.tex "htm"
[INFO]    mkparams: Output dir:
[INFO]    mkparams: Compiler: dvilualatex
[INFO]    mkparams: Latex options: -jobname=KERNEL
[INFO]    mkparams: tex4ht.sty: xhtml,htm,charset=utf-8
[INFO]    mkparams: tex4ht:  -cmozhtf -utf8
[INFO]    mkparams: build_file: KERNEL.mk4
[INFO]    mkparams: Output format: html5
[STATUS]  make4ht: Conversion started
[STATUS]  make4ht: Input file: KERNEL.tex
[INFO]    mkutils: Load extension       common_domfilters
[INFO]    mkutils: Cannot open config file      KERNEL.mk4
[INFO]    make4ht-lib: setting param correct_exit
[INFO]    make4ht-lib: setting param correct_exit
[INFO]    make4ht-lib: setting param correct_exit
[INFO]    make4ht-lib: setting param ext
[INFO]    make4ht-lib: Adding:  ext     dvi
[INFO]    htlatex: LaTeX call: dvilualatex --interaction=errorstopmode
-jobname=KERNEL  
'\makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g at addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname
tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode
xhtml,htm,charset=utf-8,html5.a.b.c.\input "\detokenize{KERNEL.tex}"'
This is LuaTeX, Version 1.13.2 (TeX Live 2021)
 restricted system commands enabled.
LaTeX2e <2021-06-01> patch level 1
L3 programming layer <2021-08-27> (./KERNEL.tex
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
.......
l.2019 --- TeX4ht warning --- \Link{subsubsection 199}? ---
l.2029 --- TeX4ht warning --- \Link{subsubsection 200}? ---

Overfull \vbox (22903.01811pt too high) detected at line 2038
! Dimension too large.
\n:LT at start: ...\ifdim \ht \@arstrutbox >\ht \tw@
                                                  \@arstrutbox \else \tw@
\f...

l.2038 \\\hline

? X
 971873 words of node memory still in use:
   14934 hlist, 458 vlist, 2076 rule, 2128 disc, 2418 local_par, 1 dir, 840
mat
h, 37921 glue, 5047 kern, 7775 penalty, 45259 glyph, 15325 attribute, 75
glue_s
pec, 15325 attribute_list, 1 if_stack, 413 write, 25686 special nodes
   avail lists: 1:1,2:6,3:17,4:11,5:1,6:1,7:17,8:52,9:7,10:10
No pages of output.
Transcript written on KERNEL.log.
[FATAL]   make4ht-lib: Fatal error. Command htlatex returned exit code 1
====================

There is no problem compiling using lualatex KERNEL.tex

I also updated my TL installation now to make sure I have latest version on my
Linux system.

The problem happens using tex4ht only, and using any more. Either mathjax or
not as the above command shows.

Why does this error happen and is there a workaround? Please find the zip file
here (safe link. it is my own page)

https://12000.org/tmp/09242021/table_error.zip

Thanks
--Nasser





    _______________________________________________________

Reply to this item at:

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

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



More information about the tex4ht mailing list.