texlive[69275] Master/texmf-dist: nicematrix (2jan24)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 2 22:24:55 CET 2024


Revision: 69275
          https://tug.org/svn/texlive?view=revision&revision=69275
Author:   karl
Date:     2024-01-02 22:24:54 +0100 (Tue, 02 Jan 2024)
Log Message:
-----------
nicematrix (2jan24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.pdf
    trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.tex
    trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix.pdf
    trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix.tex
    trunk/Master/texmf-dist/source/latex/nicematrix/nicematrix-code.dtx
    trunk/Master/texmf-dist/source/latex/nicematrix/nicematrix.ins
    trunk/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-code.pdf

Added: trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-code.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-code.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-code.pdf	2024-01-02 21:24:41 UTC (rev 69274)
+++ trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-code.pdf	2024-01-02 21:24:54 UTC (rev 69275)

Property changes on: trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-code.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.tex	2024-01-02 21:24:41 UTC (rev 69274)
+++ trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.tex	2024-01-02 21:24:54 UTC (rev 69275)
@@ -316,7 +316,11 @@
 \end{pNiceMatrix}$
 \end{scope}
 
+\bigskip
+Il est également possible de changer ces paramètres pour certaines lignes
+seulement grâce à la commande |\RowStyle| (cf.~p.~\pageref{RowStyle}).
 
+
 \medskip
 \section{La clé baseline}
 
@@ -1780,10 +1784,6 @@
 \texttt{table} : |\usepackage[table]{xcolor}|.
 
 \medskip
-Comme l'extension \pkg{nicematrix} est fondée sur \pkg{array}, il est possible
-d'utiliser \pkg{colortbl} avec \pkg{nicematrix}.
-
-\medskip
 Il y a néanmoins deux inconvénients :
 \begin{itemize}
 \item L'extension \pkg{colortbl} patche \pkg{array}, ce qui entraîne des
@@ -5199,6 +5199,7 @@
 Pour un exemple d'utilisation, voir \url{tex.stackexchange.com/questions/488566} 
 
 
+
 \section{Utilisation de TikZ avec nicematrix}
 
 \label{name}\label{PGF-nodes}
@@ -5207,6 +5208,8 @@
 
 \subsection{Les nœuds correspondant aux contenus des cases}
 
+\index{no-cell-nodes}
+
 L'extension \pkg{nicematrix} crée un nœud PGF-TikZ\footnote{On rappelle que TikZ
   est une sur-couche de PGF. L'extension \pkg{nicematrix} charge PGF et ne
   charge pas TikZ. On parle de «nœud PGF-TikZ» pour rappeler que, en fait, les
@@ -5225,6 +5228,11 @@
 (cf. p.~\pageref{corners}).}
 
 \medskip
+Comme la création de ces nœuds requiert du temps et de la mémoire, il est
+possible de la désactiver ponctuellement avec la clé |no-cell-nodes| pour
+accéler les compilations. 
+
+\medskip
 Tous les nœuds du document doivent avoir des noms deux à deux distincts et le
 nom de ces nœuds doit donc faire intervenir le numéro de l'environnement
 courant. Les environnements créés par \pkg{nicematrix} sont en effet numérotés

Modified: trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix.tex	2024-01-02 21:24:41 UTC (rev 69274)
+++ trunk/Master/texmf-dist/doc/latex/nicematrix/nicematrix.tex	2024-01-02 21:24:54 UTC (rev 69275)
@@ -288,10 +288,12 @@
 \end{pNiceMatrix}$
 \end{scope}
 
+\bigskip
+It's also possible to change these parameters for only a few rows by using the 
+command |\RowStyle| provided by \pkg{nicematrix} (cf.~p.~\pageref{RowStyle}).
 
 
 
-
 \bigskip
 \section{The vertical position of the arrays}
 
@@ -1728,10 +1730,6 @@
 |\usepackage[table]{xcolor}|. 
 
 \medskip
-Since the package \pkg{nicematrix} is based on \pkg{array}, it's possible to
-use \pkg{colortbl} with \pkg{nicematrix}.
-
-\medskip
 However, there is two drawbacks:
 \begin{itemize}
 \item The package \pkg{colortbl} patches \pkg{array}, leading to some
@@ -5095,10 +5093,12 @@
 
 \label{name}\label{PGF-nodes}
 \index{tikza at TikZ (utilisation with \pkg{nicematrix})}
-\index{node@\textbf{Nodes of PGF/TikZ|}(}
+\index{node@\textbf{Nodes of PGF/TikZ}|(}
 
 \subsection{The nodes corresponding to the contents of the cells}
 
+\index{no-cell-nodes}
+
 The package \pkg{nicematrix} creates a PGF/TikZ node\footnote{We recall that TikZ
 is a layer over PGF. The extension \pkg{nicematrix} loads PGF but does not
 load TikZ. We speak of PGF/TikZ nodes to emphase the fact that the PGF nodes
@@ -5119,6 +5119,11 @@
 (cf.~p.~\pageref{corners}).}
 
 \medskip
+The creation of those nodes needs time and memory. It's possible to desactive
+ponctually the creation of those nodes with the key |no-cell-nodes| in order to
+speed up the compilations.
+
+\medskip
 The nodes of a document must have distinct names. That's why the names of the
 nodes created by \pkg{nicematrix} contains the number of the current
 environment. Indeed, the environments of \pkg{nicematrix} are numbered by a

Modified: trunk/Master/texmf-dist/source/latex/nicematrix/nicematrix-code.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/nicematrix/nicematrix-code.dtx	2024-01-02 21:24:41 UTC (rev 69274)
+++ trunk/Master/texmf-dist/source/latex/nicematrix/nicematrix-code.dtx	2024-01-02 21:24:54 UTC (rev 69275)
@@ -2,7 +2,7 @@
 %
 % This file should be compiled with $xelatex$.
 %
-% Copyright (C) 2018-2023 by F. Pantigny
+% Copyright (C) 2018-2024 by F. Pantigny
 % ------------------------------------------
 %
 % This file may be distributed and/or modified under the
@@ -17,8 +17,8 @@
 %
 % \fi
 % \iffalse
-\def\myfileversion{6.26b}
-\def\myfiledate{2023/12/13}
+\def\myfileversion{6.26c}
+\def\myfiledate{2024/01/02}
 %
 %
 %<*batchfile>  
@@ -29,7 +29,7 @@
 \preamble
 
 
-Copyright (C) 2018-2023 by F. Pantigny
+Copyright (C) 2018-2024 by F. Pantigny
 -----------------------------------
 
 This file may be distributed and/or modified under the
@@ -121,7 +121,7 @@
 % \pkg{nicematrix} relies upon the fact that the package |{array}| uses
 % |\ialign| to begin the |\halign|. 
 % 
-%
+% 
 % \bigskip
 % \section{Declaration of the package and packages loaded}
 %
@@ -1821,15 +1821,15 @@
 % argument of |\tabularnote|.}
 % \item During the composition of the main tabular, the tabular notes will be
 % numbered from |\g_@@_notes_caption_int|+1 and the notes will be stored in
-% |\g_@@_notes_seq|. Each composant of |\g_@@_notes_seq| will be a kind of
+% |\g_@@_notes_seq|. Each component of |\g_@@_notes_seq| will be a kind of
 % couple of the form : \texttt{\{\textsl{label}\}\{\textsl{text of the
-% tabularnote}\}}. The first composante is the optional argument (between square
+% tabularnote}\}}. The first component is the optional argument (between square
 % brackets) of the command |\tabularnote| (if the optional argument is not used,
 % the value will be the special marker |\c_novalue_tl|).
 % \item During the composition of the caption (value of |\l_@@_caption_tl|), the
 % tabular notes will be numbered from $1$ to |\g_@@_notes_caption_int| and the
 % notes themselves will be stored in |\g_@@_notes_in_caption_seq|. The structure
-% of the composantes of that sequence will be the same as for |\g_@@_notes_seq|.
+% of the components of that sequence will be the same as for |\g_@@_notes_seq|.
 % \item After the composition of the main tabular and after the composition of
 % the caption, the sequences |\g_@@_notes_in_caption_seq| and |\g_@@_notes_seq|
 % will be merged (in that order) and the notes will be composed.
@@ -1973,6 +1973,11 @@
   }    
 %    \end{macrocode}
 %
+%    \begin{macrocode}
+\cs_new_protected:Npn \@@_test_first_novalue:nnn #1 #2 #3
+  { \tl_if_novalue:nT { #1 } { #3 } }
+%    \end{macrocode}
+%
 % \bigskip 
 % For the version in normal conditions, that is to say not in the |caption|.
 % |#1| is the optional argument of |\tabularnote| (maybe equal to the special
@@ -1998,12 +2003,20 @@
 % \end{center}
 % If the user have used |\tabularnote| without the optional argument, the
 % \texttt{\textsl{label}} will be the special marker |\c_novalue_tl|.
+%
+% When we will go through the sequence |\g_@@_notes_seq|, we will count in
+% |\l_tmpb_int| the notes without explicit label in order to have the
+% ``current'' value of the counter |\c at tabularnote|.
 %    \begin{macrocode}
+        \int_zero:N \l_tmpb_int
         \seq_map_indexed_inline:Nn \g_@@_notes_seq
           {
+            \@@_test_first_novalue:nnn ##2 { \int_incr:N \l_tmpb_int }
             \tl_if_eq:nnT { { #1 } { #2 } } { ##2 } 
-              { 
-                \int_set:Nn \l_tmpa_int { ##1 } 
+              {
+                \tl_if_novalue:nTF { #1 } 
+                  { \int_set_eq:NN \l_tmpa_int \l_tmpb_int }
+                  { \int_set:Nn \l_tmpa_int { ##1 }  }
                 \seq_map_break: 
               }
           }
@@ -4536,7 +4549,7 @@
 % Now, we prepare the token list for the instructions that we will have to write
 % on the |aux| file at the end of the environment.
 %    \begin{macrocode}
-    \tl_build_gbegin:N \g_@@_aux_tl
+    \tl_gclear:N \g_@@_aux_tl
 %    \end{macrocode}
 % 
 %    \begin{macrocode}
@@ -4609,7 +4622,7 @@
 %    \begin{macrocode}
     \int_compare:nNnT \g_@@_total_X_weight_int > \c_zero_int
       { 
-        \tl_build_gput_right:Nx \g_@@_aux_tl
+        \tl_gput_right:Nx \g_@@_aux_tl
           {
             \bool_set_true:N \l_@@_X_columns_aux_bool
             \dim_set:Nn \l_@@_X_columns_dim 
@@ -4804,7 +4817,6 @@
 % We write on the |aux| file all the informations corresponding to the
 % current environment.
 %    \begin{macrocode}
-    \tl_build_gend:N \g_@@_aux_tl
     \iow_now:Nn \@mainaux { \ExplSyntaxOn }
     \iow_now:Nn \@mainaux { \char_set_catcode_space:n { 32 }  }
     \iow_now:Nx \@mainaux 
@@ -6410,7 +6422,7 @@
 %    \begin{macrocode}
             \int_compare:nNnT \g_@@_notes_caption_int > \c_zero_int
               {
-                \tl_build_gput_right:Nx \g_@@_aux_tl
+                \tl_gput_right:Nx \g_@@_aux_tl
                   {
                     \tl_set:Nn \exp_not:N \l_@@_note_in_caption_tl 
                       { \int_use:N \g_@@_notes_caption_int }
@@ -7637,7 +7649,7 @@
 % 
 % \medskip
 %    \begin{macrocode}
-    \tl_build_gput_right:Nx \g_@@_aux_tl
+    \tl_gput_right:Nx \g_@@_aux_tl
       { 
         \seq_gset_from_clist:Nn \exp_not:N \g_@@_size_seq 
           { 
@@ -7656,7 +7668,7 @@
 %    \begin{macrocode}
     \seq_if_empty:NF \g_@@_pos_of_blocks_seq
       {
-        \tl_build_gput_right:Nx \g_@@_aux_tl
+        \tl_gput_right:Nx \g_@@_aux_tl
           { 
             \seq_gset_from_clist:Nn \exp_not:N \g_@@_pos_of_blocks_seq
               { \seq_use:Nnnn \g_@@_pos_of_blocks_seq , , , }
@@ -7664,7 +7676,7 @@
       } 
     \seq_if_empty:NF \g_@@_multicolumn_cells_seq
       {
-        \tl_build_gput_right:Nx \g_@@_aux_tl
+        \tl_gput_right:Nx \g_@@_aux_tl
           { 
             \seq_gset_from_clist:Nn \exp_not:N \g_@@_multicolumn_cells_seq
               { \seq_use:Nnnn \g_@@_multicolumn_cells_seq , , , }
@@ -7872,7 +7884,7 @@
     \seq_if_empty:NF \g_@@_rowlistcolors_seq { \@@_clear_rowlistcolors_seq: }
     \tl_if_empty:NF \g_@@_pre_code_before_tl
       {
-        \tl_build_gput_right:Nx \g_@@_aux_tl
+        \tl_gput_right:Nx \g_@@_aux_tl
           {
             \tl_gset:Nn \exp_not:N \g_@@_pre_code_before_tl 
               { \exp_not:o \g_@@_pre_code_before_tl }
@@ -7881,7 +7893,7 @@
       }
     \tl_if_empty:NF \g_nicematrix_code_before_tl
       {
-        \tl_build_gput_right:Nx \g_@@_aux_tl
+        \tl_gput_right:Nx \g_@@_aux_tl
           {
             \tl_gset:Nn \exp_not:N \g_@@_code_before_tl 
               { \exp_not:o \g_nicematrix_code_before_tl }
@@ -10060,10 +10072,8 @@
 \keys_define:nn { NiceMatrix / RowStyle }
   {
     cell-space-top-limit .dim_set:N = \l_tmpa_dim ,
-    cell-space-top-limit .initial:n = \c_zero_dim ,
     cell-space-top-limit .value_required:n = true ,
     cell-space-bottom-limit .dim_set:N = \l_tmpb_dim ,
-    cell-space-bottom-limit .initial:n = \c_zero_dim ,
     cell-space-bottom-limit .value_required:n = true ,
     cell-space-limits .meta:n = 
       {
@@ -10095,6 +10105,8 @@
     \tl_clear:N \l_tmpa_tl % value of \rowcolor
     \tl_clear:N \l_@@_color_tl
     \int_set_eq:NN \l_@@_key_nb_rows_int \c_one_int
+    \dim_zero:N \l_tmpa_dim
+    \dim_zero:N \l_tmpb_dim 
     \keys_set:nn { NiceMatrix / RowStyle } { #1 }
 %    \end{macrocode}
 % If the key |rowcolor| has been used.
@@ -10135,15 +10147,16 @@
 %    \begin{macrocode}
     \dim_compare:nNnT \l_tmpa_dim > \c_zero_dim
       {
-        \@@_put_in_row_style:n 
+        \exp_args:Nx \@@_put_in_row_style:n 
           {
-            \exp_not:n
-              {
-                \tl_gput_right:Nn \g_@@_cell_after_hook_tl 
-                  { 
-                    \dim_set:Nn \l_@@_cell_space_top_limit_dim 
-                      { \dim_use:N \l_tmpa_dim } 
-                  }
+            \tl_gput_right:Nn \exp_not:N \g_@@_cell_after_hook_tl 
+              { 
+%    \end{macrocode}
+% It's not possible to chanage the following code by using |\dim_set_eq:NN|
+% (because of expansion).
+%    \begin{macrocode}
+                \dim_set:Nn \l_@@_cell_space_top_limit_dim 
+                  { \dim_use:N \l_tmpa_dim } 
               }
           }
       }
@@ -10152,15 +10165,12 @@
 %    \begin{macrocode}
     \dim_compare:nNnT \l_tmpb_dim > \c_zero_dim
       {
-        \@@_put_in_row_style:n 
+        \exp_args:Nx \@@_put_in_row_style:n 
           {
-            \exp_not:n 
-              {
-                \tl_gput_right:Nn \g_@@_cell_after_hook_tl 
-                  { 
-                    \dim_set:Nn \l_@@_cell_space_bottom_limit_dim 
-                      { \dim_use:N \l_tmpb_dim } 
-                  }
+            \tl_gput_right:Nn \exp_not:N \g_@@_cell_after_hook_tl 
+              { 
+                \dim_set:Nn \l_@@_cell_space_bottom_limit_dim 
+                  { \dim_use:N \l_tmpb_dim } 
               }
           }
       }
@@ -12345,7 +12355,7 @@
 % commands which color the |rows|, |columns| and |cells| must not color the
 % cells in the corners.
 %    \begin{macrocode}
-        \tl_build_gput_right:Nx \g_@@_aux_tl
+        \tl_gput_right:Nx \g_@@_aux_tl
           {
             \seq_set_from_clist:Nn \exp_not:N \l_@@_corners_cells_seq 
               { \seq_use:Nnnn \l_@@_corners_cells_seq , , , }
@@ -17156,6 +17166,7 @@
     left-margin,~
     light-syntax,~
     matrix/columns-type,~
+    no-cell-nodes,~
     notes~(several~subkeys),~
     nullify-dots,~
     pgf-node-code,~
@@ -17214,6 +17225,7 @@
     left-margin,~
     light-syntax,~
     name,~
+    no-cell-nodes,~
     nullify-dots,~
     pgf-node-code,~
     renew-dots,~
@@ -17278,6 +17290,7 @@
     left-margin,~
     light-syntax,~
     name,~
+    no-cell-nodes,~
     nullify-dots,~
     pgf-node-code,~
     r,~
@@ -17340,6 +17353,7 @@
     left-margin,~
     light-syntax,~
     name,~
+    no-cell-nodes,~
     notes~(several~subkeys),~
     nullify-dots,~
     pgf-node-code,~

Modified: trunk/Master/texmf-dist/source/latex/nicematrix/nicematrix.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/nicematrix/nicematrix.ins	2024-01-02 21:24:41 UTC (rev 69274)
+++ trunk/Master/texmf-dist/source/latex/nicematrix/nicematrix.ins	2024-01-02 21:24:54 UTC (rev 69275)
@@ -1,5 +1,5 @@
 %%
-%% Copyright (C) 2018-2023 by F. Pantigny
+%% Copyright (C) 2018-2024 by F. Pantigny
 %%
 %%
 %% This file may be distributed and/or modified under the
@@ -17,7 +17,7 @@
 \usedir{tex/latex/nicematrix}
 \preamble
 
-Copyright (C) 2018-2023 by F. Pantigny
+Copyright (C) 2018-2024 by F. Pantigny
 
 This file may be distributed and/or modified under the
 conditions of the LaTeX Project Public License, either

Modified: trunk/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty	2024-01-02 21:24:41 UTC (rev 69274)
+++ trunk/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty	2024-01-02 21:24:54 UTC (rev 69275)
@@ -6,7 +6,7 @@
 %%
 %% nicematrix-code.dtx  (with options: `package')
 %% 
-%% Copyright (C) 2018-2023 by F. Pantigny
+%% Copyright (C) 2018-2024 by F. Pantigny
 %% 
 %% This file may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -18,8 +18,8 @@
 %% and version 1.3 or later is part of all distributions of
 %% LaTeX version 2005/12/01 or later.
 %% 
-\def\myfileversion{6.26b}
-\def\myfiledate{2023/12/13}
+\def\myfileversion{6.26c}
+\def\myfiledate{2024/01/02}
 \RequirePackage{pgfcore}
 \usepgfmodule{shapes}
 \RequirePackage{l3keys2e}
@@ -645,16 +645,22 @@
           }
       }
   }
+\cs_new_protected:Npn \__nicematrix_test_first_novalue:nnn #1 #2 #3
+  { \tl_if_novalue:nT { #1 } { #3 } }
 \cs_new_protected:Npn \__nicematrix_tabularnote:nn #1 #2
   {
     \int_zero:N \l_tmpa_int
     \bool_if:NT \l__nicematrix_notes_detect_duplicates_bool
       {
+        \int_zero:N \l_tmpb_int
         \seq_map_indexed_inline:Nn \g__nicematrix_notes_seq
           {
+            \__nicematrix_test_first_novalue:nnn ##2 { \int_incr:N \l_tmpb_int }
             \tl_if_eq:nnT { { #1 } { #2 } } { ##2 }
               {
-                \int_set:Nn \l_tmpa_int { ##1 }
+                \tl_if_novalue:nTF { #1 }
+                  { \int_set_eq:NN \l_tmpa_int \l_tmpb_int }
+                  { \int_set:Nn \l_tmpa_int { ##1 }  }
                 \seq_map_break:
               }
           }
@@ -1989,7 +1995,7 @@
         \use:c { c__nicematrix _ \int_use:N \g__nicematrix_env_int _ tl }
       }
       { \bool_gset_false:N \g__nicematrix_aux_found_bool }
-    \tl_build_gbegin:N \g__nicematrix_aux_tl
+    \tl_gclear:N \g__nicematrix_aux_tl
     \tl_if_empty:NF \g__nicematrix_code_before_tl
       {
         \bool_set_true:N \l__nicematrix_code_before_bool
@@ -2019,7 +2025,7 @@
       }
     \int_compare:nNnT \g__nicematrix_total_X_weight_int > \c_zero_int
       {
-        \tl_build_gput_right:Nx \g__nicematrix_aux_tl
+        \tl_gput_right:Nx \g__nicematrix_aux_tl
           {
             \bool_set_true:N \l__nicematrix_X_columns_aux_bool
             \dim_set:Nn \l__nicematrix_X_columns_dim
@@ -2129,7 +2135,6 @@
       }
     \__nicematrix_after_array:
     \egroup
-    \tl_build_gend:N \g__nicematrix_aux_tl
     \iow_now:Nn \@mainaux { \ExplSyntaxOn }
     \iow_now:Nn \@mainaux { \char_set_catcode_space:n { 32 }  }
     \iow_now:Nx \@mainaux
@@ -3065,7 +3070,7 @@
             \__nicematrix_insert_caption:
             \int_compare:nNnT \g__nicematrix_notes_caption_int > \c_zero_int
               {
-                \tl_build_gput_right:Nx \g__nicematrix_aux_tl
+                \tl_gput_right:Nx \g__nicematrix_aux_tl
                   {
                     \tl_set:Nn \exp_not:N \l__nicematrix_note_in_caption_tl
                       { \int_use:N \g__nicematrix_notes_caption_int }
@@ -3826,7 +3831,7 @@
       { \int_set_eq:NN \l__nicematrix_last_col_int \g__nicematrix_col_total_int }
     \bool_if:NT \l__nicematrix_last_row_without_value_bool
       { \int_set_eq:NN \l__nicematrix_last_row_int \g__nicematrix_row_total_int }
-    \tl_build_gput_right:Nx \g__nicematrix_aux_tl
+    \tl_gput_right:Nx \g__nicematrix_aux_tl
       {
         \seq_gset_from_clist:Nn \exp_not:N \g__nicematrix_size_seq
           {
@@ -3840,7 +3845,7 @@
       }
     \seq_if_empty:NF \g__nicematrix_pos_of_blocks_seq
       {
-        \tl_build_gput_right:Nx \g__nicematrix_aux_tl
+        \tl_gput_right:Nx \g__nicematrix_aux_tl
           {
             \seq_gset_from_clist:Nn \exp_not:N \g__nicematrix_pos_of_blocks_seq
               { \seq_use:Nnnn \g__nicematrix_pos_of_blocks_seq , , , }
@@ -3848,7 +3853,7 @@
       }
     \seq_if_empty:NF \g__nicematrix_multicolumn_cells_seq
       {
-        \tl_build_gput_right:Nx \g__nicematrix_aux_tl
+        \tl_gput_right:Nx \g__nicematrix_aux_tl
           {
             \seq_gset_from_clist:Nn \exp_not:N \g__nicematrix_multicolumn_cells_seq
               { \seq_use:Nnnn \g__nicematrix_multicolumn_cells_seq , , , }
@@ -3950,7 +3955,7 @@
     \seq_if_empty:NF \g__nicematrix_rowlistcolors_seq { \__nicematrix_clear_rowlistcolors_seq: }
     \tl_if_empty:NF \g__nicematrix_pre_code_before_tl
       {
-        \tl_build_gput_right:Nx \g__nicematrix_aux_tl
+        \tl_gput_right:Nx \g__nicematrix_aux_tl
           {
             \tl_gset:Nn \exp_not:N \g__nicematrix_pre_code_before_tl
               { \exp_not:o \g__nicematrix_pre_code_before_tl }
@@ -3959,7 +3964,7 @@
       }
     \tl_if_empty:NF \g_nicematrix_code_before_tl
       {
-        \tl_build_gput_right:Nx \g__nicematrix_aux_tl
+        \tl_gput_right:Nx \g__nicematrix_aux_tl
           {
             \tl_gset:Nn \exp_not:N \g__nicematrix_code_before_tl
               { \exp_not:o \g_nicematrix_code_before_tl }
@@ -5342,10 +5347,8 @@
 \keys_define:nn { NiceMatrix / RowStyle }
   {
     cell-space-top-limit .dim_set:N = \l_tmpa_dim ,
-    cell-space-top-limit .initial:n = \c_zero_dim ,
     cell-space-top-limit .value_required:n = true ,
     cell-space-bottom-limit .dim_set:N = \l_tmpb_dim ,
-    cell-space-bottom-limit .initial:n = \c_zero_dim ,
     cell-space-bottom-limit .value_required:n = true ,
     cell-space-limits .meta:n =
       {
@@ -5372,6 +5375,8 @@
     \tl_clear:N \l_tmpa_tl % value of \rowcolor
     \tl_clear:N \l__nicematrix_color_tl
     \int_set_eq:NN \l__nicematrix_key_nb_rows_int \c_one_int
+    \dim_zero:N \l_tmpa_dim
+    \dim_zero:N \l_tmpb_dim
     \keys_set:nn { NiceMatrix / RowStyle } { #1 }
     \tl_if_empty:NF \l_tmpa_tl
       {
@@ -5396,29 +5401,23 @@
     \__nicematrix_put_in_row_style:n { \exp_not:n { #2 } }
     \dim_compare:nNnT \l_tmpa_dim > \c_zero_dim
       {
-        \__nicematrix_put_in_row_style:n
+        \exp_args:Nx \__nicematrix_put_in_row_style:n
           {
-            \exp_not:n
+            \tl_gput_right:Nn \exp_not:N \g__nicematrix_cell_after_hook_tl
               {
-                \tl_gput_right:Nn \g__nicematrix_cell_after_hook_tl
-                  {
-                    \dim_set:Nn \l__nicematrix_cell_space_top_limit_dim
-                      { \dim_use:N \l_tmpa_dim }
-                  }
+                \dim_set:Nn \l__nicematrix_cell_space_top_limit_dim
+                  { \dim_use:N \l_tmpa_dim }
               }
           }
       }
     \dim_compare:nNnT \l_tmpb_dim > \c_zero_dim
       {
-        \__nicematrix_put_in_row_style:n
+        \exp_args:Nx \__nicematrix_put_in_row_style:n
           {
-            \exp_not:n
+            \tl_gput_right:Nn \exp_not:N \g__nicematrix_cell_after_hook_tl
               {
-                \tl_gput_right:Nn \g__nicematrix_cell_after_hook_tl
-                  {
-                    \dim_set:Nn \l__nicematrix_cell_space_bottom_limit_dim
-                      { \dim_use:N \l_tmpb_dim }
-                  }
+                \dim_set:Nn \l__nicematrix_cell_space_bottom_limit_dim
+                  { \dim_use:N \l_tmpb_dim }
               }
           }
       }
@@ -6716,7 +6715,7 @@
       }
     \seq_if_empty:NF \l__nicematrix_corners_cells_seq
       {
-        \tl_build_gput_right:Nx \g__nicematrix_aux_tl
+        \tl_gput_right:Nx \g__nicematrix_aux_tl
           {
             \seq_set_from_clist:Nn \exp_not:N \l__nicematrix_corners_cells_seq
               { \seq_use:Nnnn \l__nicematrix_corners_cells_seq , , , }
@@ -9927,6 +9926,7 @@
     left-margin,~
     light-syntax,~
     matrix/columns-type,~
+    no-cell-nodes,~
     notes~(several~subkeys),~
     nullify-dots,~
     pgf-node-code,~
@@ -9980,6 +9980,7 @@
     left-margin,~
     light-syntax,~
     name,~
+    no-cell-nodes,~
     nullify-dots,~
     pgf-node-code,~
     renew-dots,~
@@ -10037,6 +10038,7 @@
     left-margin,~
     light-syntax,~
     name,~
+    no-cell-nodes,~
     nullify-dots,~
     pgf-node-code,~
     r,~
@@ -10096,6 +10098,7 @@
     left-margin,~
     light-syntax,~
     name,~
+    no-cell-nodes,~
     notes~(several~subkeys),~
     nullify-dots,~
     pgf-node-code,~



More information about the tex-live-commits mailing list.