texlive[58127] branches/branch2020.0/Master/texmf-dist: witharrows

commits+karl at tug.org commits+karl at tug.org
Thu Mar 4 23:16:35 CET 2021


Revision: 58127
          http://tug.org/svn/texlive?view=revision&revision=58127
Author:   karl
Date:     2021-03-04 23:16:34 +0100 (Thu, 04 Mar 2021)
Log Message:
-----------
witharrows (4mar21) (branch)

Modified Paths:
--------------
    branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf
    branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows-french.tex
    branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows.pdf
    branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows.tex
    branches/branch2020.0/Master/texmf-dist/source/generic/witharrows/witharrows.dtx
    branches/branch2020.0/Master/texmf-dist/tex/generic/witharrows/witharrows.sty

Modified: branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows-french.tex
===================================================================
--- branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows-french.tex	2021-03-04 22:14:54 UTC (rev 58126)
+++ branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows-french.tex	2021-03-04 22:16:34 UTC (rev 58127)
@@ -1228,11 +1228,11 @@
 \end{WithArrows}$
 
  
-\interitem
+\interitem 
 L'extension \pkg{witharrows} fournit une autre commande disponible dans le |code-after| : la commande
-|\MultiArrow|. Cette commande dessine un «rateau». La liste des rangées concernées par ce rateau
-est donnée dans le premier argument de la commande |\MultiArrow|. La syntaxe utilisée pour décrire cette liste
-est celle de la commande |\foreach| de \pkg{pgffor}.
+|\MultiArrow|. Cette commande dessine un «rateau». La liste des rangées concernées par ce rateau est donnée dans le
+premier argument de la commande |\MultiArrow|. La syntaxe utilisée pour décrire cette liste est celle de la
+commande |\foreach| de \pkg{pgffor}.
 
 \begin{Verbatim}
 $\begin{WithArrows}[tikz = rounded corners,

Modified: branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows.tex
===================================================================
--- branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows.tex	2021-03-04 22:14:54 UTC (rev 58126)
+++ branches/branch2020.0/Master/texmf-dist/doc/generic/witharrows/witharrows.tex	2021-03-04 22:16:34 UTC (rev 58127)
@@ -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{2.6b}
-\def\myfiledate{2021/01/31}
+\def\myfileversion{2.6c}
+\def\myfiledate{2021/03/04}
 \input tikz.tex
 \input expl3-generic.tex
 \usetikzlibrary{arrows.meta,bending}
@@ -1550,6 +1550,21 @@
         } ;
         \endtikzpicture
   }
+\str_new:N \l_witharrows_body_str
+\cs_new:Npn \__witharrows_potential_body_i:
+  {
+    \str_if_empty:NF \l_witharrows_body_str
+      { \\ If~you~want~to~see~the~body~of~the~environment,~type~H~<return>. }
+  }
+\cs_new:Npn \__witharrows_potential_body_ii:
+  {
+    \str_if_empty:NTF \l_nicematrix_body_str
+      { No~further~help~available }
+      {
+        The~body~of~your~environment~was:\\
+        \l_witharrows_body_str
+      }
+  }
 \str_const:Nn \c__witharrows_option_ignored_str
   { If~you~go~on,~this~option~will~be~ignored. }
 \str_const:Nn \c__witharrows_command_ignored_str
@@ -1580,23 +1595,29 @@
     (or~another~line)~of~your~environment~\{\l__witharrows_type_env_str\}.\\
     You~can~go~on~but~you~may~have~others~errors.
   }
-\__witharrows_msg_new:nn { Invalid~option~format }
+\__witharrows_msg_new:nnn { Invalid~option~format }
   {
     The~key~'format'~should~contain~only~letters~r,~c~and~l~and~
     must~not~be~empty.\\
     \c__witharrows_option_ignored_str
+    \__witharrows_potential_body_i:
   }
-\__witharrows_msg_new:nn { invalid~key~o }
+  { \__witharrows_potential_body_ii: }
+\__witharrows_msg_new:nnn { invalid~key~o }
   {
     The~key~'o'~for~individual~arrows~can~be~used~only~in~mode~
     'group'~or~in~mode~'groups'.\\
     \c__witharrows_option_ignored_str
+    \__witharrows_potential_body_i:
   }
-\__witharrows_msg_new:nn { Value~for~a~key }
+  { \__witharrows_potential_body_ii: }
+\__witharrows_msg_new:nnn { Value~for~a~key }
   {
     The~key~'\l_keys_key_str'~should~be~used~without~value. \\
     However,~you~can~go~on~for~this~time.
+    \__witharrows_potential_body_i:
   }
+  { \__witharrows_potential_body_ii: }
 \__witharrows_msg_new:nnn { Unknown~option~in~Arrow }
   {
     The~key~'\l_keys_key_str'~is~unknown~for~the~command~
@@ -1652,7 +1673,7 @@
     The~available~keys~are~(in~alphabetic~order):~
     \seq_use:Nnnn \l__witharrows_options_Arrow_code_after_seq {~and~} {,~} {~and~}.
   }
-\__witharrows_msg_new:nn { Too~much~columns~in~WithArrows }
+\__witharrows_msg_new:nnn { Too~much~columns~in~WithArrows }
   {
     Your~environment~\{\l__witharrows_type_env_str\}~has~\int_use:N
     \l__witharrows_nb_cols_int\ columns~and~you~try~to~use~one~more.~
@@ -1660,8 +1681,10 @@
     If~you~really~want~to~use~more~columns~(after~the~arrows)~you~should~use~
     the~option~'more-columns'~at~a~global~level~or~for~an~environment. \\
     However,~you~can~go~one~for~this~time.
+    \__witharrows_potential_body_i:
   }
-\__witharrows_msg_new:nn { Too~much~columns~in~DispWithArrows }
+  { \__witharrows_potential_body_ii: }
+\__witharrows_msg_new:nnn { Too~much~columns~in~DispWithArrows }
   {
     Your~environment~\{\l__witharrows_type_env_str\}~has~\int_use:N
     \l__witharrows_nb_cols_int\ columns~and~you~try~to~use~one~more.~
@@ -1668,7 +1691,9 @@
     Maybe~you~have~forgotten~a~\c_backslash_str\c_backslash_str\
     at~the~end~of~row~\int_use:N \g__witharrows_line_int. \\
     This~error~is~fatal.
+    \__witharrows_potential_body_i:
   }
+  { \__witharrows_potential_body_ii: }
 \__witharrows_msg_new:nn { Negative~jump }
   {
     You~can't~use~a~negative~value~for~the~option~'jump'~of~command~
@@ -1686,7 +1711,7 @@
     'groups'~in~your~environment~\{\l__witharrows_type_env_str\}. \\
     \c__witharrows_option_ignored_str
   }
-\__witharrows_msg_new:nn
+\__witharrows_msg_new:nnn
   { Too~few~lines~for~an~arrow }
   {
     Line~\l__witharrows_input_line_str\
@@ -1694,7 +1719,9 @@
     of~your~environment~\{\l__witharrows_type_env_str\}~can't~be~drawn~
     because~it~arrives~after~the~last~row~of~the~environment. \\
     If~you~go~on,~this~arrow~will~be~ignored.
+    \__witharrows_potential_body_i:
   }
+  { \__witharrows_potential_body_ii: }
 \__witharrows_msg_new:nn { o~arrow~with~no~arrow~under }
   {
     Line~\l__witharrows_input_line_str\
@@ -1701,18 +1728,22 @@
     :~there~is~no~arrow~'under'~your~arrow~of~type~'o'.\\
     If~you~go~on,~this~arrow~won't~be~drawn.
   }
-\__witharrows_msg_new:nn { WithArrows~outside~math~mode }
+\__witharrows_msg_new:nnn { WithArrows~outside~math~mode }
   {
     The~environment~\{\l__witharrows_type_env_str\}~should~be~used~only~in~math~mode~
     like~the~environment~\{aligned\}~of~amsmath. \\
     Nevertheless,~you~can~go~on.
+    \__witharrows_potential_body_i:
   }
-\__witharrows_msg_new:nn { DispWithArrows~in~math~mode }
+  { \__witharrows_potential_body_ii: }
+\__witharrows_msg_new:nnn { DispWithArrows~in~math~mode }
   {
     The~environment~\{\l__witharrows_type_env_str\}~should~be~used~only~outside~math~
     mode~like~the~environments~\{align\}~and~\{align*\}~of~amsmath. \\
     This~error~is~fatal.
+    \__witharrows_potential_body_i:
   }
+  { \__witharrows_potential_body_ii: }
 \__witharrows_msg_new:nn { Incompatible~options~in~Arrow }
   {
     You~try~to~use~the~option~'\l_keys_key_str'~but~
@@ -1732,13 +1763,15 @@
       }. \\
     \c__witharrows_option_ignored_str
   }
-\__witharrows_msg_new:nn { Arrow~not~in~last~column }
+\__witharrows_msg_new:nnn { Arrow~not~in~last~column }
   {
     You~should~use~the~command~\l__witharrows_string_Arrow_for_msg_str\
     only~in~the~last~column~(column~\int_use:N\l__witharrows_nb_cols_int)~
     of~your~environment~\{\l__witharrows_type_env_str\}.\\
     However~you~can~go~on~for~this~time.
+    \__witharrows_potential_body_i:
   }
+  { \__witharrows_potential_body_ii: }
 \__witharrows_msg_new:nn { Wrong~line~in~Arrow }
   {
     The~specification~of~line~'#1'~you~use~in~the~command~

Modified: branches/branch2020.0/Master/texmf-dist/source/generic/witharrows/witharrows.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/generic/witharrows/witharrows.dtx	2021-03-04 22:14:54 UTC (rev 58126)
+++ branches/branch2020.0/Master/texmf-dist/source/generic/witharrows/witharrows.dtx	2021-03-04 22:16:34 UTC (rev 58127)
@@ -15,8 +15,8 @@
 %
 % \fi
 % \iffalse
-\def\myfileversion{2.6b}
-\def\myfiledate{2021/01/31}
+\def\myfileversion{2.6c}
+\def\myfiledate{2021/03/04}
 %
 %
 %<*batchfile>
@@ -2669,10 +2669,7 @@
 %
 % 
 % \medskip
-% The version of 2020/02/08 of \pkg{expl3} has replaced |\l_keys_key_tl| by
-% |\l_keys_key_str|. We have immediatly changed in this file. Now, you test the
-% existence of |\l_keys_key_str| in order to detect if the version of LaTeX used
-% by the final user is up to date.
+% We use |\seq_set_map_x:NNn| which has been introduced the 2020/07/16.
 %    \begin{macrocode}
 \msg_new:nnn { witharrows } { expl3~too~old }
   {
@@ -2680,12 +2677,14 @@
     You~can~go~on~but~you~will~probably~have~other~errors~
     if~you~use~the~functionalities~of~witharrows.
   }
-\cs_if_exist:NF \l_keys_key_str
+\cs_if_exist:NF \seq_set_map_x:NNn
   { \msg_error:nn { witharrows } { expl3~too~old } }
 %    \end{macrocode}
 % 
 % \bigskip
+% The package \pkg{xparse} is still loaded for use on Overleaf.
 %    \begin{macrocode}
+\RequirePackage { xparse }
 \RequirePackage { varwidth }
 %</LaTeX>
 %    \end{macrocode}
@@ -6824,7 +6823,34 @@
 % \bigskip
 % \subsection{The error messages of the package}
 %
+% 
 %    \begin{macrocode}
+\str_new:N \l_witharrows_body_str
+%    \end{macrocode}
+%
+% The following commands must \emph{not} be protected since they will be used in
+% error messages.
+%    \begin{macrocode}
+\cs_new:Npn \@@_potential_body_i:
+  {
+    \str_if_empty:NF \l_witharrows_body_str
+      { \\ If~you~want~to~see~the~body~of~the~environment,~type~H~<return>. } 
+  }
+%    \end{macrocode}
+% 
+%    \begin{macrocode}
+\cs_new:Npn \@@_potential_body_ii:
+  {
+    \str_if_empty:NTF \l_nicematrix_body_str
+      { No~further~help~available }
+      {
+        The~body~of~your~environment~was:\\ 
+        \l_witharrows_body_str
+      }
+  }
+%    \end{macrocode}
+% 
+%    \begin{macrocode}
 \str_const:Nn \c_@@_option_ignored_str
   { If~you~go~on,~this~option~will~be~ignored. }
 \str_const:Nn \c_@@_command_ignored_str
@@ -6880,40 +6906,48 @@
 %
 %    \begin{macrocode}
 %<*LaTeX>
-\@@_msg_new:nn { newline~at~the~end~of~env }
+\@@_msg_new:nnn { newline~at~the~end~of~env }
   { 
     The~environments~of~witharrows~(\{WithArrows\}~and~
     \{DispWithArrows\})~should~not~end~by~\token_to_str:N \\.\\
     However,~you~can~go~on~for~this~time.~No~similar~error~will~be~
-    raised~in~this~document.
+    raised~in~this~document. 
+    \@@_potential_body_i:
   }
+  { \@@_potential_body_ii: }
 %</LaTeX>
 %    \end{macrocode}    
 %
 %    \begin{macrocode}
-\@@_msg_new:nn { Invalid~option~format }
+\@@_msg_new:nnn { Invalid~option~format }
   {
     The~key~'format'~should~contain~only~letters~r,~c~and~l~and~
     must~not~be~empty.\\  
     \c_@@_option_ignored_str
+    \@@_potential_body_i:
   }
+  { \@@_potential_body_ii: }
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\@@_msg_new:nn { invalid~key~o }
+\@@_msg_new:nnn { invalid~key~o }
   {
     The~key~'o'~for~individual~arrows~can~be~used~only~in~mode~
     'group'~or~in~mode~'groups'.\\
     \c_@@_option_ignored_str 
+    \@@_potential_body_i:
   }
+  { \@@_potential_body_ii: }
 %    \end{macrocode}
 % 
 %    \begin{macrocode}
-\@@_msg_new:nn { Value~for~a~key }
+\@@_msg_new:nnn { Value~for~a~key }
   {
     The~key~'\l_keys_key_str'~should~be~used~without~value. \\
     However,~you~can~go~on~for~this~time.
+    \@@_potential_body_i:
   }
+  { \@@_potential_body_ii: }
 %    \end{macrocode}
 %
 %    \begin{macrocode}          
@@ -6988,7 +7022,7 @@
 %
 %
 %    \begin{macrocode}          
-\@@_msg_new:nn { Too~much~columns~in~WithArrows }
+\@@_msg_new:nnn { Too~much~columns~in~WithArrows }
   { 
     Your~environment~\{\l_@@_type_env_str\}~has~\int_use:N 
     \l_@@_nb_cols_int\ columns~and~you~try~to~use~one~more.~
@@ -6996,11 +7030,13 @@
     If~you~really~want~to~use~more~columns~(after~the~arrows)~you~should~use~ 
     the~option~'more-columns'~at~a~global~level~or~for~an~environment. \\
     However,~you~can~go~one~for~this~time.
+    \@@_potential_body_i:
   }
+  { \@@_potential_body_ii: }
 %    \end{macrocode}
 %
 %    \begin{macrocode}          
-\@@_msg_new:nn { Too~much~columns~in~DispWithArrows }
+\@@_msg_new:nnn { Too~much~columns~in~DispWithArrows }
   { 
     Your~environment~\{\l_@@_type_env_str\}~has~\int_use:N 
     \l_@@_nb_cols_int\ columns~and~you~try~to~use~one~more.~
@@ -7007,7 +7043,9 @@
     Maybe~you~have~forgotten~a~\c_backslash_str\c_backslash_str\ 
     at~the~end~of~row~\int_use:N \g_@@_line_int. \\
     This~error~is~fatal.
+    \@@_potential_body_i:
   }
+  { \@@_potential_body_ii: }
 %    \end{macrocode}
 %    
 %    \begin{macrocode}          
@@ -7035,7 +7073,7 @@
 %
 %
 %    \begin{macrocode}          
-\@@_msg_new:nn          
+\@@_msg_new:nnn          
   { Too~few~lines~for~an~arrow }
   { 
     Line~\l_@@_input_line_str\
@@ -7043,7 +7081,9 @@
     of~your~environment~\{\l_@@_type_env_str\}~can't~be~drawn~
     because~it~arrives~after~the~last~row~of~the~environment. \\
     If~you~go~on,~this~arrow~will~be~ignored.
+    \@@_potential_body_i:
   }
+  { \@@_potential_body_ii: }
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -7056,21 +7096,25 @@
 %    \end{macrocode}
 % 
 %    \begin{macrocode}          
-\@@_msg_new:nn { WithArrows~outside~math~mode }
+\@@_msg_new:nnn { WithArrows~outside~math~mode }
   { 
     The~environment~\{\l_@@_type_env_str\}~should~be~used~only~in~math~mode~
     like~the~environment~\{aligned\}~of~amsmath. \\
     Nevertheless,~you~can~go~on.
+    \@@_potential_body_i:
   }
+  { \@@_potential_body_ii: }
 %    \end{macrocode}
 %
 %    \begin{macrocode}          
-\@@_msg_new:nn { DispWithArrows~in~math~mode }
+\@@_msg_new:nnn { DispWithArrows~in~math~mode }
   { 
     The~environment~\{\l_@@_type_env_str\}~should~be~used~only~outside~math~
     mode~like~the~environments~\{align\}~and~\{align*\}~of~amsmath. \\ 
     This~error~is~fatal.
+    \@@_potential_body_i:
   }
+  { \@@_potential_body_ii: }
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -7100,13 +7144,15 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\@@_msg_new:nn { Arrow~not~in~last~column }
+\@@_msg_new:nnn { Arrow~not~in~last~column }
   { 
     You~should~use~the~command~\l_@@_string_Arrow_for_msg_str\
     only~in~the~last~column~(column~\int_use:N\l_@@_nb_cols_int)~
     of~your~environment~\{\l_@@_type_env_str\}.\\
     However~you~can~go~on~for~this~time.
+    \@@_potential_body_i:
   }
+  { \@@_potential_body_ii: }
 %    \end{macrocode}
 %
 %    \begin{macrocode}

Modified: branches/branch2020.0/Master/texmf-dist/tex/generic/witharrows/witharrows.sty
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/generic/witharrows/witharrows.sty	2021-03-04 22:14:54 UTC (rev 58126)
+++ branches/branch2020.0/Master/texmf-dist/tex/generic/witharrows/witharrows.sty	2021-03-04 22:16:34 UTC (rev 58127)
@@ -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{2.6b}
-\def\myfiledate{2021/01/31}
+\def\myfileversion{2.6c}
+\def\myfiledate{2021/03/04}
 \RequirePackage{tikz}
 \usetikzlibrary{arrows.meta,bending}
 \RequirePackage{l3keys2e}
@@ -34,8 +34,9 @@
     You~can~go~on~but~you~will~probably~have~other~errors~
     if~you~use~the~functionalities~of~witharrows.
   }
-\cs_if_exist:NF \l_keys_key_str
+\cs_if_exist:NF \seq_set_map_x:NNn
   { \msg_error:nn { witharrows } { expl3~too~old } }
+\RequirePackage { xparse }
 \RequirePackage { varwidth }
 \bool_new:N \c__witharrows_footnotehyper_bool
 \bool_new:N \c__witharrows_footnote_bool
@@ -1867,6 +1868,21 @@
         } ;
         \end{tikzpicture}
   }
+\str_new:N \l_witharrows_body_str
+\cs_new:Npn \__witharrows_potential_body_i:
+  {
+    \str_if_empty:NF \l_witharrows_body_str
+      { \\ If~you~want~to~see~the~body~of~the~environment,~type~H~<return>. }
+  }
+\cs_new:Npn \__witharrows_potential_body_ii:
+  {
+    \str_if_empty:NTF \l_nicematrix_body_str
+      { No~further~help~available }
+      {
+        The~body~of~your~environment~was:\\
+        \l_witharrows_body_str
+      }
+  }
 \str_const:Nn \c__witharrows_option_ignored_str
   { If~you~go~on,~this~option~will~be~ignored. }
 \str_const:Nn \c__witharrows_command_ignored_str
@@ -1904,30 +1920,38 @@
     (or~another~line)~of~your~environment~\{\l__witharrows_type_env_str\}.\\
     You~can~go~on~but~you~may~have~others~errors.
   }
-\__witharrows_msg_new:nn { newline~at~the~end~of~env }
+\__witharrows_msg_new:nnn { newline~at~the~end~of~env }
   {
     The~environments~of~witharrows~(\{WithArrows\}~and~
     \{DispWithArrows\})~should~not~end~by~\token_to_str:N \\.\\
     However,~you~can~go~on~for~this~time.~No~similar~error~will~be~
     raised~in~this~document.
+    \__witharrows_potential_body_i:
   }
-\__witharrows_msg_new:nn { Invalid~option~format }
+  { \__witharrows_potential_body_ii: }
+\__witharrows_msg_new:nnn { Invalid~option~format }
   {
     The~key~'format'~should~contain~only~letters~r,~c~and~l~and~
     must~not~be~empty.\\
     \c__witharrows_option_ignored_str
+    \__witharrows_potential_body_i:
   }
-\__witharrows_msg_new:nn { invalid~key~o }
+  { \__witharrows_potential_body_ii: }
+\__witharrows_msg_new:nnn { invalid~key~o }
   {
     The~key~'o'~for~individual~arrows~can~be~used~only~in~mode~
     'group'~or~in~mode~'groups'.\\
     \c__witharrows_option_ignored_str
+    \__witharrows_potential_body_i:
   }
-\__witharrows_msg_new:nn { Value~for~a~key }
+  { \__witharrows_potential_body_ii: }
+\__witharrows_msg_new:nnn { Value~for~a~key }
   {
     The~key~'\l_keys_key_str'~should~be~used~without~value. \\
     However,~you~can~go~on~for~this~time.
+    \__witharrows_potential_body_i:
   }
+  { \__witharrows_potential_body_ii: }
 \__witharrows_msg_new:nnn { Unknown~option~in~Arrow }
   {
     The~key~'\l_keys_key_str'~is~unknown~for~the~command~
@@ -1983,7 +2007,7 @@
     The~available~keys~are~(in~alphabetic~order):~
     \seq_use:Nnnn \l__witharrows_options_Arrow_code_after_seq {~and~} {,~} {~and~}.
   }
-\__witharrows_msg_new:nn { Too~much~columns~in~WithArrows }
+\__witharrows_msg_new:nnn { Too~much~columns~in~WithArrows }
   {
     Your~environment~\{\l__witharrows_type_env_str\}~has~\int_use:N
     \l__witharrows_nb_cols_int\ columns~and~you~try~to~use~one~more.~
@@ -1991,8 +2015,10 @@
     If~you~really~want~to~use~more~columns~(after~the~arrows)~you~should~use~
     the~option~'more-columns'~at~a~global~level~or~for~an~environment. \\
     However,~you~can~go~one~for~this~time.
+    \__witharrows_potential_body_i:
   }
-\__witharrows_msg_new:nn { Too~much~columns~in~DispWithArrows }
+  { \__witharrows_potential_body_ii: }
+\__witharrows_msg_new:nnn { Too~much~columns~in~DispWithArrows }
   {
     Your~environment~\{\l__witharrows_type_env_str\}~has~\int_use:N
     \l__witharrows_nb_cols_int\ columns~and~you~try~to~use~one~more.~
@@ -1999,7 +2025,9 @@
     Maybe~you~have~forgotten~a~\c_backslash_str\c_backslash_str\
     at~the~end~of~row~\int_use:N \g__witharrows_line_int. \\
     This~error~is~fatal.
+    \__witharrows_potential_body_i:
   }
+  { \__witharrows_potential_body_ii: }
 \__witharrows_msg_new:nn { Negative~jump }
   {
     You~can't~use~a~negative~value~for~the~option~'jump'~of~command~
@@ -2017,7 +2045,7 @@
     'groups'~in~your~environment~\{\l__witharrows_type_env_str\}. \\
     \c__witharrows_option_ignored_str
   }
-\__witharrows_msg_new:nn
+\__witharrows_msg_new:nnn
   { Too~few~lines~for~an~arrow }
   {
     Line~\l__witharrows_input_line_str\
@@ -2025,7 +2053,9 @@
     of~your~environment~\{\l__witharrows_type_env_str\}~can't~be~drawn~
     because~it~arrives~after~the~last~row~of~the~environment. \\
     If~you~go~on,~this~arrow~will~be~ignored.
+    \__witharrows_potential_body_i:
   }
+  { \__witharrows_potential_body_ii: }
 \__witharrows_msg_new:nn { o~arrow~with~no~arrow~under }
   {
     Line~\l__witharrows_input_line_str\
@@ -2032,18 +2062,22 @@
     :~there~is~no~arrow~'under'~your~arrow~of~type~'o'.\\
     If~you~go~on,~this~arrow~won't~be~drawn.
   }
-\__witharrows_msg_new:nn { WithArrows~outside~math~mode }
+\__witharrows_msg_new:nnn { WithArrows~outside~math~mode }
   {
     The~environment~\{\l__witharrows_type_env_str\}~should~be~used~only~in~math~mode~
     like~the~environment~\{aligned\}~of~amsmath. \\
     Nevertheless,~you~can~go~on.
+    \__witharrows_potential_body_i:
   }
-\__witharrows_msg_new:nn { DispWithArrows~in~math~mode }
+  { \__witharrows_potential_body_ii: }
+\__witharrows_msg_new:nnn { DispWithArrows~in~math~mode }
   {
     The~environment~\{\l__witharrows_type_env_str\}~should~be~used~only~outside~math~
     mode~like~the~environments~\{align\}~and~\{align*\}~of~amsmath. \\
     This~error~is~fatal.
+    \__witharrows_potential_body_i:
   }
+  { \__witharrows_potential_body_ii: }
 \__witharrows_msg_new:nn { Incompatible~options~in~Arrow }
   {
     You~try~to~use~the~option~'\l_keys_key_str'~but~
@@ -2063,13 +2097,15 @@
       }. \\
     \c__witharrows_option_ignored_str
   }
-\__witharrows_msg_new:nn { Arrow~not~in~last~column }
+\__witharrows_msg_new:nnn { Arrow~not~in~last~column }
   {
     You~should~use~the~command~\l__witharrows_string_Arrow_for_msg_str\
     only~in~the~last~column~(column~\int_use:N\l__witharrows_nb_cols_int)~
     of~your~environment~\{\l__witharrows_type_env_str\}.\\
     However~you~can~go~on~for~this~time.
+    \__witharrows_potential_body_i:
   }
+  { \__witharrows_potential_body_ii: }
 \__witharrows_msg_new:nn { Wrong~line~in~Arrow }
   {
     The~specification~of~line~'#1'~you~use~in~the~command~



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