diff options
author | Karl Berry <karl@freefriends.org> | 2010-12-23 00:24:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-12-23 00:24:42 +0000 |
commit | c921dfc3f7ecaf9ada56612535cb34c98e609047 (patch) | |
tree | aac110b0bc752bc21f989dc0b7298fc3271dd653 /Master/texmf-dist/tex/latex/siunitx | |
parent | 4e5040e3f22afbee205156eb6e64b5e5002b088e (diff) |
siunitx (22dec10)
git-svn-id: svn://tug.org/texlive/trunk@20830 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx')
-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 |