diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-02 22:49:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-02 22:49:31 +0000 |
commit | 9d63d20b395741946482b9029e072ae7ebff21f0 (patch) | |
tree | 26e2e930c4b2f12cf1d8a96c9958ae138d7b5ccd /Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty | |
parent | 069503af305d75c1cef7a93d073495529d717229 (diff) |
chemmacros (2may16)
git-svn-id: svn://tug.org/texlive/trunk@40838 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty index 31e6f679976..e119d05200c 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty +++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty @@ -31,9 +31,9 @@ % -------------------------------------------------------------------------- % package information: -\tl_const:Nn \c_chemmacros_date_tl {2016/03/08} +\tl_const:Nn \c_chemmacros_date_tl {2016/05/02} \tl_const:Nn \c_chemmacros_version_major_number_tl {5} -\tl_const:Nn \c_chemmacros_version_minor_number_tl {5} +\tl_const:Nn \c_chemmacros_version_minor_number_tl {6} \tl_const:Nn \c_chemmacros_version_subrelease_tl {} \tl_const:Nx \c_chemmacros_version_number_tl {\c_chemmacros_version_major_number_tl.\c_chemmacros_version_minor_number_tl} @@ -85,7 +85,11 @@ \fp_compare:nTF { floor(#1) = floor(#3) } { \fp_compare:nTF - { (\chemmacros_get_minor:f {#1}) #2 (\chemmacros_get_minor:f {#3}) } + { + ( \chemmacros_get_minor_version:f {#1} ) + #2 + ( \chemmacros_get_minor_version:f {#3} ) + } { \prg_return_true: } { \prg_return_false: } } @@ -96,11 +100,11 @@ } } -\cs_new:Npn \__chemmacros_get_minor:w #1.#2.#3 \q_stop +\cs_new:Npn \__chemmacros_get_minor_version:w #1.#2.#3 \q_stop { \tl_if_blank:nTF {#2} {0} {#2} } -\cs_new:Npn \chemmacros_get_minor:n #1 - { \__chemmacros_get_minor:w #1.. \q_stop } -\cs_generate_variant:Nn \chemmacros_get_minor:n {f} +\cs_new:Npn \chemmacros_get_minor_version:n #1 + { \__chemmacros_get_minor_version:w #1.. \q_stop } +\cs_generate_variant:Nn \chemmacros_get_minor_version:n {f} % check compatibility % #1: relation @@ -506,3 +510,11 @@ Version history (base) - new option `explicit-zero-sign' (redox) 2016/03/08 - version 5.5 - new module `polymers' +2016/04/25 - version 5.6 - generalization of the formula method concept, new + methods `chemist' and `chemfig' (chemformula) + - use `tocbasic' for the list of reactions if + available (reactions) + - fix reaction environments to obey \thereaction + (reactions) + - add cleveref and fancyref support (reactions) + |