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

colortbl: dependency issue with xltabular #56

Open
ludoguard opened this issue Sep 5, 2024 · 1 comment
Open

colortbl: dependency issue with xltabular #56

ludoguard opened this issue Sep 5, 2024 · 1 comment

Comments

@ludoguard
Copy link

Dear David,
this might not be a bug because I'm using a quite old version of MikTeX (21.6). My colleague tried to reproduce the same environment like me and run into error when using xltabular package.
We created the following MWE to reproduce the issue:

\documentclass[hidelinks,oneside]{book}
\usepackage[T1]{fontenc}
\usepackage{xltabular}
\usepackage{colortbl}
\listfiles

\begin{document}
  \begin{xltabular}{\textwidth}{|l|X|X|}
    \hline First column & Second column & Third column \\ \hline 
  \end{xltabular}
\end{document}

On his setup, my colleague get the following error message (on my setup, it runs fine):

! Undefined control sequence.
<argument> \g__tbl_row_int 

l.10   \end{xltabular}

If the line \usepackage{colortbl} is commented, the error disappear and the *.tex file compiles successfully.

For an unknown reason, all the package files listed in the log are identical except for this (I thought that not upgrading to a newer version of MikTeX would prevent such differences):

  • My setup:
    • fontenc.sty: not used
    • colortbl.sty: 2022/06/20 v1.0f Color table columns (DPC)
  • My colleagues' setup:
    • fontenc.sty: 2021/04/29 v2.0v Standard LaTeX package
    • colortbl.sty: 2024/07/06 v1.0i Color table columns (DPC)

I thought you might be interested in this feedback. For us, the quick fix would be to replace the colortbl.sty file on my colleagues’ systems with the version dated 2022/06/20 v1.0f.

@u-fischer
Copy link
Contributor

The document compiles without error in an up-to-date miktex.
But your colleague has a new colortbl but only an old LaTeX format and this errors.
Im miktex packages can get out of sync like this in a number of ways: At first if you install only a basic miktex and newer packages are installed with the on-the-fly installation. At second if have a multi-user installation but do updates only in user or only in admin mode. At last naturally if you update only selected packages.

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

2 participants