From 60d8d0e661e636720a9735e0d7c9eb30d2a06685 Mon Sep 17 00:00:00 2001 From: lvjr Date: Sun, 1 Dec 2024 10:39:35 +0800 Subject: [PATCH] make hook library depend on varwidth library --- tabularray.sty | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tabularray.sty b/tabularray.sty index d3cee9b..38e70a4 100644 --- a/tabularray.sty +++ b/tabularray.sty @@ -7393,6 +7393,8 @@ \NewTblrLibrary { hook } { + %% We need varwidth to keep \lTblrMeasuringBool correct + \UseTblrLibrary { varwidth } \cs_set_eq:NN \__tblr_hook_use:n \hook_use:n \hook_new_pair:nn { tabularray/trial/before } { tabularray/trial/after } \hook_new_pair:nn { tabularray/table/before } { tabularray/table/after }