summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemmacros/chemmacros.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/chemmacros/chemmacros.sty')
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros.sty10
1 files changed, 6 insertions, 4 deletions
diff --git a/macros/latex/contrib/chemmacros/chemmacros.sty b/macros/latex/contrib/chemmacros/chemmacros.sty
index 5fcbd0a318..c9a913e922 100644
--- a/macros/latex/contrib/chemmacros/chemmacros.sty
+++ b/macros/latex/contrib/chemmacros/chemmacros.sty
@@ -31,10 +31,10 @@
% --------------------------------------------------------------------------
% package information:
-\tl_const:Nn \c_chemmacros_date_tl {2022/01/16}
+\tl_const:Nn \c_chemmacros_date_tl {2022/01/18}
\tl_const:Nn \c_chemmacros_version_major_number_tl {6}
\tl_const:Nn \c_chemmacros_version_minor_number_tl {0}
-\tl_const:Nn \c_chemmacros_version_subrelease_tl {}
+\tl_const:Nn \c_chemmacros_version_subrelease_tl {a}
\tl_const:Nx \c_chemmacros_version_number_tl
{
\c_chemmacros_version_major_number_tl .
@@ -139,7 +139,7 @@
minimal .bool_set:N = \l__chemmacros_minimal_bool ,
minimal .initial:n = false ,
modules .code:n =
- \clist_if_in:NF \l_chemmacros_modules_clist
+ \clist_if_in:NnF \l_chemmacros_modules_clist {#1}
{ \clist_put_right:Nn \l_chemmacros_modules_clist {#1} } ,
unknown .code:n = \__chemmacros_loadtime_warning:n {unknown-option}
}
@@ -917,10 +917,12 @@
% --------------------------------------------------------------------------
\ChemModuleEnd
-\ChemModule{lang}{2020/11/29 language settings for chemmacros}
+\ChemModule{lang}{2022/01/18 language settings for chemmacros}
\RequirePackage{translations}
+\hook_gset_rule:nnnn {begindocument/before} {translations} {before} {chemmacros}
+
\msg_new:nnn {chemmacros} {language-not-defined}
{
You~ chose~ the~ language~ `#1'~ which~ is~ not~ defined~ by~ chemmacros.~