summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty')
-rw-r--r--Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
index 3b99d33eb9b..2c0e7272907 100644
--- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
+++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
@@ -26,8 +26,8 @@
% - The Current Maintainer of this work is Clemens Niederberger.
% --------------------------------------------------------------------------
\RequirePackage{ expl3 , xparse , l3keys2e }
-\def\chemmacros@version{4.2}
-\def\chemmacros@date{2013/10/28}
+\def\chemmacros@version{4.2a}
+\def\chemmacros@date{2013/10/31}
\ProvidesExplPackage
{chemmacros}
@@ -1125,7 +1125,11 @@
}
\cs_new_protected:Npn \chemformula_hapto:n #1
- { \Chemeta \chemformula_superscript:n { #1 } \chemmacros_break_point_hyphen: }
+ {
+ \Chemeta \chemformula_superscript:n { #1 }
+ \bool_if:NT \l__chemmacros_coord_use_hyphen_bool
+ { \chemmacros_break_point_hyphen: }
+ }
\cs_new_protected:Npn \chemformula_bridge:n #1
{
@@ -1136,7 +1140,8 @@
{ \chemformula_superscript:n { #1 } }
{ \chemformula_subscript:n { #1 } }
}
- \chemmacros_break_point_hyphen:
+ \bool_if:NT \l__chemmacros_coord_use_hyphen_bool
+ { \chemmacros_break_point_hyphen: }
}
\DeclareChemIUPAC \hapto { \chemformula_hapto:n }
@@ -4042,6 +4047,7 @@ Version history
- change in the syntax of \DeclareChemState and
\RenewChemState and improved both internal
definition and user interface
+2013/10/31 - version 4.2a - bug bix in \hapto and \bridge
% --------------------------------------------------------------------------- %
% TODO: