diff options
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} |