summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-11-03 23:42:23 +0000
committerKarl Berry <karl@freefriends.org>2013-11-03 23:42:23 +0000
commit2e5d8b0237884321ed5c11a8c100ecdd711cf1b1 (patch)
tree520725b4b3a121e967774aed04e08ac81fea347f /Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
parent5ce7edc70ecd5dba9645d946c65be9ab5095ed0b (diff)
chemmacros
git-svn-id: svn://tug.org/texlive/trunk@32049 c570f23f-e606-0410-a88d-b1316a301751
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: