Skip to content

longtable, xltabular and enumerate #57

@hvoss49

Description

@hvoss49

Wrong counter with latest long table:

\documentclass{article}
%\usepackage{longtable-2020-01-07}
\usepackage{longtable}
\usepackage{xltabular}

\begin{document}

\begin{longtable}{ | l | p{5in} |}\hline
    Rev 1 &
    \begin{enumerate} %\setcounter{enumi}{1}
        \item 9/20/2024: AA
        \item 9/24/2024: BB
    \end{enumerate}
    \\ \hline
  \end{longtable}

\end{document}

The counter starts at 0, without loading xltabular at the expected 1. If I load longtable from 2020 (needs
also the change in ltablex.sty) all is fine! I cannot see why the latest longtable maybe a problem.
xltabular only loads tabularx, longtable and ltablex

Tested with Up-to-date TL2024

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions