diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-21 21:04:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-21 21:04:16 +0000 |
commit | b1faafa7a3280da5554864dc3b75351f780b7c74 (patch) | |
tree | 0f962862960d0afe503d2d5f2d069f052a7ffaf3 /Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx | |
parent | 239a4ff802c59efea422120c00ffc23a00840396 (diff) |
siunitx (21may21)
git-svn-id: svn://tug.org/texlive/trunk@59292 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx index 5287f2c8cf8..4ae6cd15905 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx @@ -358,6 +358,12 @@ { group-digits ~ = ~ true } { group-digits ~ = ~ all } } , + input-symbols .code:n = + { + \msg_info:nnnn { siunitx } { option-deprecated } + { input-symbols } { input-digits } + \tl_put_right:Nn \l_@@_number_input_digit_tl {#1} + } , separate-uncertainty .choice: , separate-uncertainty / false .code:n = { @@ -984,6 +990,31 @@ % \end{macrocode} % \end{macro} % +% Units that have been removed. +% \begin{macrocode} +\msg_new:nnnn { siunitx } { unit-removed } + { Unit~macro~#1~has~been~removed~in~this~release. } + { + The~BIPM~have~removed~this~unit~from~the~SI~Brochure.~ + You~will~need~to~define~it~yourself~using~\token_to_str:N \DeclareSIUnit. + } +\clist_map_inline:nn + { + \angstrom , + \atomicmassunit , + \bohr , + \clight , + \electronmass , + \elementarycharge , + \hartree , + \plackbar + } + { + \siunitx_declare_unit:Nx #1 + { \msg_error:nnn { siunitx } { unit-removed } { \token_to_str:N #1 } } + } +% \end{macrocode} +% % \begin{macrocode} %</interfaces> % \end{macrocode} |