lvjr / tabularray

Typeset tabulars and arrays with LaTeX3
https://ctan.org/pkg/tabularray
247 stars 22 forks source link

Slow Compilation With \NewTblrEnviron #407

Open R-van-Bakel opened 1 year ago

R-van-Bakel commented 1 year ago

We implemented our own kind of tables using the \NewTblrEnviron command, but our document has now reached to point that compilation takes over two minutes. When the tables are removed, the file compiles in seconds. Is this a common problem and is there a way to fix it?

muzimuzhi commented 1 year ago

Do you mean that using builtin environments like tblr and longtblr is much faster than environments defined by \NewTblrEnviron? Or it's just the tabularray itself that slows down the compilation?

Better to provide a (complete) example to show the difference.

R-van-Bakel commented 1 year ago

We are creating our own types of tables using the \NewTblrEnviron command in a separate .cls file. Even if we do not add any styling using \SetTblrOuter or \SetTblrInner, it is already very slow.