diff options
author | Karl Berry <karl@freefriends.org> | 2021-12-04 21:38:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-12-04 21:38:27 +0000 |
commit | 06467b57e8216af43ec7aa54e312dfaa3b630af1 (patch) | |
tree | c8d75ab4951e851cae8716a9fb213719782e67c0 /Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx | |
parent | bdd7ee84cb4cb69f0f8cdf3f1971f2f086767a90 (diff) |
siunitx (4dec21)
git-svn-id: svn://tug.org/texlive/trunk@61216 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.dtx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx index 25e15ca4bb0..a7b3594d9d6 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx @@ -2143,6 +2143,8 @@ { \bool_if:NT \l_@@_drop_exponent_bool { + \str_if_eq:VnT \l_@@_exponent_mode_tl { input } + { \msg_warning:nn { siunitx } { ambiguous-dropped-exponent } } \tl_set:Nx #2 { \exp_after:wN \@@_drop_exponent:nnnnnnn #1 } } @@ -3736,6 +3738,12 @@ The~input~'#1'~could~not~be~parsed~as~a~number~following~the~ format~defined~in~module~documentation. } +\msg_new:nnnn { siunitx } { ambiguous-dropped-exponent } + { Potentially~ambiguous~dropping~of~exponent. } + { + The~option~"drop-exponent"~is~active~but~values~do~not~have~an~ + exponent~fixed~by~"exponent-mode".~The~result~could~be~misleading. + } % \end{macrocode} % % \subsection{Standard settings for module options} |