diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-04 22:14:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-04 22:14:53 +0000 |
commit | d70ad5795d2f31a375d4496f8d2c65389a741ae1 (patch) | |
tree | 9d7d725e21b20b634f165a18d93dacd8675c110f /Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.greek.code.tex | |
parent | 54c32ad3fede7208dd034d5278347a380315612c (diff) |
chemmacros (4feb20)
git-svn-id: svn://tug.org/texlive/trunk@53665 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.greek.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.greek.code.tex | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.greek.code.tex b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.greek.code.tex index afe973899de..ef9f8568e2b 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.greek.code.tex +++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.greek.code.tex @@ -25,9 +25,9 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{greek}{2015/06/09 upright greek symbols} +\ChemModule{greek}{2020/02/02 upright greek symbols} -\RequirePackage{chemgreek}[2015/04/09] +\RequirePackage{chemgreek}[2020/01/16] \msg_new:nnn {chemmacros} {no-greek} { @@ -45,19 +45,15 @@ % chemgreek selects a mapping if an unambiguous choice is possible, otherwise % selects `default'. Warn the user in this case: \AtBeginDocument{ - \bool_if:nT - { - \chemgreek_if_mapping_active_p:n {default} || - \chemgreek_if_mapping_active_p:n {var-default} - } + \bool_lazy_or:nnT + { \chemgreek_if_mapping_active_p:n {default} } + { \chemgreek_if_mapping_active_p:n {var-default} } { \msg_warning:nn {chemmacros} {no-greek} } } % an option for manual selection: \chemmacros_define_global_keys:n - { - greek .code:n = \chemmacros_choose_chemgreek_mapping:n {#1} - } + { greek .code:n = \chemmacros_choose_chemgreek_mapping:n {#1} } \cs_new_protected:Npn \chemmacros_choose_chemgreek_mapping:n #1 { @@ -70,3 +66,5 @@ } % -------------------------------------------------------------------------- +\file_input_stop: +2020/02/02 - lazy boolean evaluation |