diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty index e18a84fe953..ca76b8ab2cb 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty +++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty @@ -31,10 +31,10 @@ % -------------------------------------------------------------------------- % package information: -\tl_const:Nn \c_chemmacros_date_tl {2020/01/16} +\tl_const:Nn \c_chemmacros_date_tl {2020/02/03} \tl_const:Nn \c_chemmacros_version_major_number_tl {5} -\tl_const:Nn \c_chemmacros_version_minor_number_tl {9} -\tl_const:Nn \c_chemmacros_version_subrelease_tl {a} +\tl_const:Nn \c_chemmacros_version_minor_number_tl {10} +\tl_const:Nn \c_chemmacros_version_subrelease_tl {} \tl_const:Nx \c_chemmacros_version_number_tl { \c_chemmacros_version_major_number_tl . @@ -208,11 +208,9 @@ \cs_new_protected:Npn \ChemCompatibilityBetween #1#2#3 \EndChemCompatibility { - \bool_if:nT - { - \chemmacros_if_compatibility_p:nn {>=} {#1} && - \chemmacros_if_compatibility_p:nn {<} {#2} - } + \bool_lazy_and:nnT + { \chemmacros_if_compatibility_p:nn {>=} {#1} } + { \chemmacros_if_compatibility_p:nn {<} {#2} } {#3} } @@ -267,6 +265,8 @@ { \RequirePackage{chemmacros4} } { \RequirePackage{chemmacros5} } -% -------------------------------------------------------------------------- \file_input_stop: - +% -------------------------------------------------------------------------- +2020/02/03 - lazy boolean evaluation + - prefer the kernel commands to \chemmacros_leave_vmode: and + \chemmacros_tex_if: |