summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-02-04 03:01:28 +0000
committerNorbert Preining <norbert@preining.info>2020-02-04 03:01:28 +0000
commitfc358ce7332053945afe16ced2a271556cdccfb7 (patch)
treed723e8bbffaaffd6c8c6d51d46c54db70c61f67a /macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex
parent34897eebd22c3de968b64f09bb4a371d96cb0b89 (diff)
CTAN sync 202002040301
Diffstat (limited to 'macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex')
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex18
1 files changed, 8 insertions, 10 deletions
diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex
index afe973899d..ef9f8568e2 100644
--- a/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex
+++ b/macros/latex/contrib/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