Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling pdf in Rmarkdown with kableExtra full_width = T gives ! Dimension too large error with TeX Live 2021 #625

Closed
martinschaffhauser opened this issue Jun 9, 2021 · 7 comments

Comments

@martinschaffhauser
Copy link

martinschaffhauser commented Jun 9, 2021

Setting full_width = T in the kable function is giving the following error message when knitting the document with pdfTeX Version 3.141592653-2.6-1.40.22 (TeX Live 2021) installed:

! Dimension too large.
\LT@max@sel #1#2->{\ifdim #2=\wd \tw@ 
                                      #1\else \number \c@LT@chunks \fi }{\th...
l.218 \end{longtabu}

Having pdfTeX 3.14159265-2.6-1.40.21 (TeX Live 2020) installed, the issue does not exist.

@u-fischer
Copy link

the tabu package is broken and unmaintained. It is recommended not to use it. See the readme here https://github.com/tabu-issues-for-future-maintainer/tabu

@wphampton
Copy link

As it impacts kableExtra, does this suggest that full_width should not be used, or will not be provided in the future? I guess I'm unclear on what guidance is being given to the OP?

@krlmlr
Copy link
Contributor

krlmlr commented Oct 6, 2021

Upstream issue: tabu-issues-for-future-maintainer/tabu#27.

@u-fischer: What's a good alternative to tabu, one that supports full-width tables spanning multiple pages?

@ulyngs
Copy link

ulyngs commented Jun 9, 2022

Just ran into this issue when I tried to recompile my PhD thesis from a couple of years ago and the longtable functionality was broken.

Seems the tabularray package is the new and maintained alternative?

@eeholmes
Copy link

eeholmes commented Mar 19, 2023

Any news of a workaround?

@tjbrailey
Copy link

Bumping this, when longtable = TRUE and full_width = TRUE, I keep getting the error

! Dimension too large. \LT@max@sel #1#2->{\ifdim #2=\wd \tw@ #1\else \number \c@LT@chunks \fi }{\th... l.376 \end{longtabu}

@vincentarelbundock
Copy link
Collaborator

Thanks for the report. We know that tabu is broken beyond repair (and unmaintained). I will soon propose a solution (hopefully it gets accepted; not sure yet).

In any case, since there is no actionable information here, and no reproducible example, I will close this to clean up the issue tracker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants