summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-20 23:58:24 +0000
committerKarl Berry <karl@freefriends.org>2012-05-20 23:58:24 +0000
commitba135237e227af8d0a0cb28713636e65b95f7f2d (patch)
treeac35aa2bca31ce3acc235a6a85532daf4168be64 /Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
parentd66f3e2f4f5c746daae0c2368b939be05b451781 (diff)
chemmacros (18may12)
git-svn-id: svn://tug.org/texlive/trunk@26515 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.sty16
1 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
index ef22313ddd7..806515e9b58 100644
--- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
+++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
@@ -5,7 +5,7 @@
% - macros and commands for chemists - %
% --------------------------------------------------------------------------- %
% - Clemens Niederberger - %
-% - 2012/05/13 - %
+% - 2012/05/18 - %
% --------------------------------------------------------------------------- %
% - https://bitbucket.org/cgnieder/chemmacros/ - %
% - contact@mychemistry.eu - %
@@ -33,8 +33,8 @@
\ProvidesExplPackage
{chemmacros}
- {2012/05/13}
- {3.3a}
+ {2012/05/18}
+ {3.3b}
{macros and commands for chemists}
\@ifpackageloaded { chemformula } {} { \RequirePackage { chemformula } }
@@ -2261,7 +2261,11 @@
\cs_set_nopar:cpn { #1 }
{
\bool_if:NTF \l_chemmacros_phases_sub_bool
- { \ensuremath { \c_math_subscript_token { \text { (#2) } } } }
+ {
+ \bool_if:NTF \l_chemformula_inside_ch_bool
+ { \chemformula_subscript:n { ( #2 ) } }
+ { \ensuremath { \c_math_subscript_token { \text { (#2) } } } }
+ }
{
\ensuremath
{
@@ -3768,7 +3772,9 @@ Version history
- proper language support
2012/05/13 - version 3.3a - Italian translations of the H, EUH and P statements
- \hapto and \bridge
+2012/05/18 - version 3.3b - compatibility with MiKTeX
% --------------------------------------------------------------------------- %
% TODO:
-- ox-option xfrac vs math? \ No newline at end of file
+- ox-option xfrac vs math?
+- drop option `bpchem' \ No newline at end of file