From 2e5d8b0237884321ed5c11a8c100ecdd711cf1b1 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 3 Nov 2013 23:42:23 +0000
Subject: chemmacros

git-svn-id: svn://tug.org/texlive/trunk@32049 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty')

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:
-- 
cgit v1.2.3

