acro icon indicating copy to clipboard operation
acro copied to clipboard

Missing number, treated as zero with template=tabularray

Open komascript opened this issue 2 years ago • 1 comments

There seems to be an issue using template=tabularray:

\documentclass{article}

\usepackage{tabularray}
\usepackage{acro-examples}

\begin{document}
\printacronyms[template=tabularray]
\end{document}

results in:

Missing number, treated as zero.
<to be read again> 
                   \__dim_eval_end: 
l.7 \printacronyms[template=tabularray]

Currently I do not know, whether this is an issue of acro or tabularray. Unfortunately I've not the time to examine it.

The issue originally has been found on goLaTeX

komascript avatar Nov 10 '22 13:11 komascript

Currently I do not know, whether this is an issue of acro or tabularray.

partly the one and the other I would say. The core problem is that longtblr errors if the content is empty https://github.com/lvjr/tabularray/issues/326. On the other side, acro could probably check if \AcronymTable has some content before printing the table.

u-fischer avatar Nov 11 '22 09:11 u-fischer