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.sty16
1 files changed, 9 insertions, 7 deletions
diff --git a/macros/latex/contrib/chemmacros/chemmacros.sty b/macros/latex/contrib/chemmacros/chemmacros.sty
index f9b0bf50cd..64f237e629 100644
--- a/macros/latex/contrib/chemmacros/chemmacros.sty
+++ b/macros/latex/contrib/chemmacros/chemmacros.sty
@@ -1,5 +1,5 @@
% --------------------------------------------------------------------------
-% the CHEMMACROS package v6.2 2022/03/05
+% the CHEMMACROS package v6.2a 2022/03/12
%
% comprehensive support for typesetting chemistry documents
%
@@ -34,10 +34,10 @@
% --------------------------------------------------------------------------
% package information:
-\tl_const:Nn \c_chemmacros_date_tl {2022/03/05}
+\tl_const:Nn \c_chemmacros_date_tl {2022/03/11}
\tl_const:Nn \c_chemmacros_version_major_number_tl {6}
\tl_const:Nn \c_chemmacros_version_minor_number_tl {2}
-\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 .
@@ -1708,9 +1708,9 @@
{ { \ensuremath { \chemmacros_standardstate: } } }
\cs_new_protected:Npn \chemmacros_standardstate:
- { \mathpalette \chemmacros_standardstate_aux: \circ }
+ { \mathpalette \__chemmacros_standardstate: \circ }
-\cs_new_protected:Npn \chemmacros_standardstate_aux: #1#2
+\cs_new_protected:Npn \__chemmacros_standardstate: #1#2
{
\ooalign
{
@@ -3959,9 +3959,10 @@
% --------------------------------------------------------------------------
\ChemModuleEnd
-\ChemModule{reactions}{2022/02/05 reaction environments}
+\ChemModule{reactions}{2022/03/11 reaction environments}
\newcounter {reaction}
+
\hook_gput_code:nnn {package/hyperref/after} {chemmacros}
{
\cs_if_exist:NTF \chapter
@@ -4118,10 +4119,11 @@
{
\bool_if:NT \l__chemmacros_reactions_counter_bool
{
+ \chemmacros_patch_cmd:Nnn \thereaction {reaction} {equation}
\cs_set_eq:NN \r@equation \r@reaction
\cs_set_eq:NN \p@equation \p@reaction
\cs_set_eq:NN \c@equation \c@reaction
- \chemmacros_patch_cmd:Nnn \thereaction {reaction} {equation}
+ \cs_set_eq:NN \theequation \thereaction
\chemmacros_if_package_loaded:nT {cleveref}
{ \crefalias {equation} {reaction} }
% this only works if nobody steps counters inside reactions: