summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-15 20:04:28 +0000
committerKarl Berry <karl@freefriends.org>2024-04-15 20:04:28 +0000
commita0fd0a0407e303ff43a339e47fbe7e8de782e60c (patch)
tree467c6b91a3572c0235b33cd159884b78c0ed25ec /Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
parent32944e574ed5a30d752c72613eb8499400dd8bb9 (diff)
siunitx (15apr24)
git-svn-id: svn://tug.org/texlive/trunk@70958 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx15
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
index cfa4a03e259..2b875143759 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
@@ -1117,9 +1117,11 @@
% }
% \begin{macro}[EXP]
% {\@@_parse_combine_uncert:nnnnnn, \@@_parse_combine_uncert:ennnnn}
+% \begin{macro}[EXP]{\@@_parse_combine_uncert_aux:nn}
% \begin{macro}[EXP]
% {\@@_parse_combine_uncert:nnnnnnn, \@@_parse_combine_uncert:ennnnnn}
-% \begin{macro}[EXP]{\@@_parse_combine_uncert:nnnnn}
+% \begin{macro}[EXP]
+% {\@@_parse_combine_uncert:nnnnn, \@@_parse_combine_uncert:nnenn}
% \begin{macro}[EXP]
% {
% \@@_parse_combine_uncert_aux:nnnn ,
@@ -1196,11 +1198,16 @@
{#3} {#4} {#5} {#6} { #7 #1 }
}
{
- \@@_parse_combine_uncert:nnnnn
- { #3 #1 } {#4} {#5} {#6} {#7}
+ \@@_parse_combine_uncert:nnenn { #3 #1 } {#4}
+ {
+ \tl_map_tokens:nn {#5}
+ { \@@_parse_combine_uncert_aux:nn {#1} }
+ }
+ {#6} {#7}
}
}
\cs_generate_variant:Nn \@@_parse_combine_uncert:nnnnnnn { e }
+\cs_new:Npn \@@_parse_combine_uncert_aux:nn #1#2 { {#2#1} }
% \end{macrocode}
% We now ensure that the decimal part is never entirely blank \emph{if} there
% are decimal-part uncertainty digits. There is also a need to handle the
@@ -1224,6 +1231,7 @@
{#2}
{#3}
}
+\cs_generate_variant:Nn \@@_parse_combine_uncert:nnnnn { nne }
\cs_new:Npn \@@_parse_combine_uncert_aux:nnnn #1#2#3#4
{
\@@_parse_combine_uncert_loop:neennnn
@@ -1282,6 +1290,7 @@
% \end{macro}
% \end{macro}
% \end{macro}
+% \end{macro}
%
% \begin{macro}{\@@_parse_comparator:}
% \begin{macro}{\@@_parse_comparator_aux:Nw}