bugtex4ht - Bugs: bug #527, tex4ht gives Dimension too large...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

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

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Fri Sep 24 23:41:55 2021  
 
Category: NonePriority: 5 - Normal
Severity: 7 - ImportantStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun Sep 26 20:25:54 2021, comment #1:

It seems that your table is too tall and you got TeX error due to that. I've redefined the \LT@start command that cause this issue to omit the dimension checking and it seems to fix the issue. More details and configuration file ar at TeX.sx.

Michal Hoftich <michal_h21>
Project Member
Fri Sep 24 23:41:55 2021, original submission:

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@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@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@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

Nasser M. Abbasi <nma123>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by nma123 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Sep 29 14:39:56 2021michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray