diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx/siunitx.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty index ab74299888b..272ca6f6e03 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty @@ -16,6 +16,29 @@ \RequirePackage{expl3} \ProvidesExplPackage {siunitx} {2010/11/24} {2.1f} {A comprehensive (SI) units package} +\cs_if_exist:NTF \msg_set:nnnn + { + \msg_set:nnnn { siunitx } { support-outdated } + { Support~package~#1~too~old. } + { + Please~install~an~up~to~date~version~of~#1. \\ + Loading~siunitx~will~abort! + } + } + { + \PackageError { siunitx } { Support~package~expl3~too~old. } + { + Please~install~an~up~to~date~version~of~expl3. \\ + Loading~siunitx~will~abort! + } + \tex_endinput:D + } +\@ifpackagelater { expl3 } { 2010/11/13 } + { } + { + \msg_error:nnx { siunitx } { support-outdated } { expl3 } + \tex_endinput:D + } \msg_set:nnnn { siunitx } { incompatible-package } { Package~'#1'~incompatible. } { The~#1~package~and~siunitx~are~incompatible. } @@ -33,6 +56,13 @@ \clist_map_function:nN { SIunits , sistyle , siunits , SIstyle } \siunitx_load_check:n } +\RequirePackage{ xparse } +\@ifpackagelater { xparse } { 2010/10/13 } + { } + { + \msg_error:nnx { siunitx } { support-outdated } { xparse } + \tex_endinput:D + } \RequirePackage{ amstext , array , l3keys2e } \cs_new:Npn \siunitx_tmp:w { } \bool_new:N \l_siunitx_tmp_bool |