diff options
author | Norbert Preining <norbert@preining.info> | 2021-06-05 03:00:55 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-06-05 03:00:55 +0000 |
commit | 4e703bdd2f304028698cd4ab92b0dda0b95a95a8 (patch) | |
tree | eb585fb7163ef4f11c18dfd7e958f24881232885 /macros/latex/contrib/siunitx/siunitx-table.dtx | |
parent | a5ae129f3aa3a3a0aeaa21c55b75a1d543fe4111 (diff) |
CTAN sync 202106050300
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx-table.dtx')
-rw-r--r-- | macros/latex/contrib/siunitx/siunitx-table.dtx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx-table.dtx b/macros/latex/contrib/siunitx/siunitx-table.dtx index 269015d857..137c2e18d6 100644 --- a/macros/latex/contrib/siunitx/siunitx-table.dtx +++ b/macros/latex/contrib/siunitx/siunitx-table.dtx @@ -185,7 +185,7 @@ % would allow space for one digit in the integer part, two in the decimal % part and three in the exponent part. Signs can be allowed for using any % valid input sign, so for example |+1.2 \pm 1.2| would allow for a sign, -% a number with one integer and two decimal digits and a uncertainty of +% a number with one integer and two decimal digits and an uncertainty of % the same size. % \end{function} % @@ -445,12 +445,22 @@ \l_@@_after_tl } } +% \end{macrocode} +% To cover the use of REV\TeX{}, we need to allow for the insertion of +% \cs{array@row@rst} into cell content: that explodes inside +% \cs{protected@edef}. We use the classical solution of making locally +% equal to \cs{scan_stop:}. +% \begin{macrocode} \cs_new_protected:Npn \@@_collect_end:n #1 { \str_if_eq:eeTF { \exp_not:n {#1} } { { \@@_collect_end_aux:n {#1} } } { \tl_set:Nn } - { \protected@edef } + { + \cs_if_exist:NT \array@row@rst + { \cs_set_eq:NN \array@row@rst \scan_stop: } + \protected@edef + } \l_@@_collect_tl {#1} } \cs_new:Npn \@@_collect_end_aux:n #1 |