diff options
author | Karl Berry <karl@freefriends.org> | 2021-03-04 22:04:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-03-04 22:04:33 +0000 |
commit | 36076825de930027e22a2cda4e56dfc5cbd16c50 (patch) | |
tree | 18b3e978bda7e9bad72db1b0fb1ec4d91146ed92 | |
parent | 63440db1104e290e1c083946a1c04136c92ab771 (diff) |
witharrows (4mar21)
git-svn-id: svn://tug.org/texlive/trunk@58120 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf | bin | 270367 -> 271551 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/witharrows/witharrows-french.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/witharrows/witharrows.pdf | bin | 640821 -> 647631 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/witharrows/witharrows.tex | 55 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/witharrows/witharrows.dtx | 82 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/witharrows/witharrows.sty | 62 |
6 files changed, 161 insertions, 46 deletions
diff --git a/Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf b/Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf Binary files differindex 8ea76ae1de0..2d9b238271a 100644 --- a/Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf +++ b/Master/texmf-dist/doc/generic/witharrows/witharrows-french.pdf diff --git a/Master/texmf-dist/doc/generic/witharrows/witharrows-french.tex b/Master/texmf-dist/doc/generic/witharrows/witharrows-french.tex index 86b7f660f96..8c19fc72f8e 100644 --- a/Master/texmf-dist/doc/generic/witharrows/witharrows-french.tex +++ b/Master/texmf-dist/doc/generic/witharrows/witharrows-french.tex @@ -1228,11 +1228,11 @@ $\begin{WithArrows}[code-after = \Arrow[v]{1-2}{2-2}{division par $2$} ] \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, diff --git a/Master/texmf-dist/doc/generic/witharrows/witharrows.pdf b/Master/texmf-dist/doc/generic/witharrows/witharrows.pdf Binary files differindex 7727d27d1ca..03a0cb1161e 100644 --- a/Master/texmf-dist/doc/generic/witharrows/witharrows.pdf +++ b/Master/texmf-dist/doc/generic/witharrows/witharrows.pdf diff --git a/Master/texmf-dist/doc/generic/witharrows/witharrows.tex b/Master/texmf-dist/doc/generic/witharrows/witharrows.tex index 97cb5359466..f0adab1ae7d 100644 --- a/Master/texmf-dist/doc/generic/witharrows/witharrows.tex +++ b/Master/texmf-dist/doc/generic/witharrows/witharrows.tex @@ -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,15 +1681,19 @@ 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.~ 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,25 +1719,31 @@ 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\ :~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~ diff --git a/Master/texmf-dist/source/generic/witharrows/witharrows.dtx b/Master/texmf-dist/source/generic/witharrows/witharrows.dtx index f14d21114ab..2e6c4270ea0 100644 --- a/Master/texmf-dist/source/generic/witharrows/witharrows.dtx +++ b/Master/texmf-dist/source/generic/witharrows/witharrows.dtx @@ -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 @@ version 2005/12/01 or later. % % % \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 @@ version 2005/12/01 or later. 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,6 +6823,33 @@ version 2005/12/01 or later. % \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. } @@ -6880,40 +6906,48 @@ version 2005/12/01 or later. % % \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 @@ version 2005/12/01 or later. % % % \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,18 +7030,22 @@ version 2005/12/01 or later. 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.~ 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 @@ version 2005/12/01 or later. % % % \begin{macrocode} -\@@_msg_new:nn +\@@_msg_new:nnn { Too~few~lines~for~an~arrow } { Line~\l_@@_input_line_str\ @@ -7043,7 +7081,9 @@ version 2005/12/01 or later. 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 @@ version 2005/12/01 or later. % \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 @@ version 2005/12/01 or later. % \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} diff --git a/Master/texmf-dist/tex/generic/witharrows/witharrows.sty b/Master/texmf-dist/tex/generic/witharrows/witharrows.sty index 3a9b68ff7fb..2eaeb3c7b33 100644 --- a/Master/texmf-dist/tex/generic/witharrows/witharrows.sty +++ b/Master/texmf-dist/tex/generic/witharrows/witharrows.sty @@ -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,15 +2015,19 @@ 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.~ 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,25 +2053,31 @@ 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\ :~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~ |