summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.acid-base.code.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-09 22:52:19 +0000
committerKarl Berry <karl@freefriends.org>2016-06-09 22:52:19 +0000
commit36d552979c032d6ef452a4ca9a2fa8a1053f85a6 (patch)
tree6b2f218b497e7fe9c4cd50b29832295d1a273c7f /Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.acid-base.code.tex
parent1a536214c99cadbd376fd416f36a8babec9d7a36 (diff)
chemmacros (8jun16)
git-svn-id: svn://tug.org/texlive/trunk@41327 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.acid-base.code.tex')
-rw-r--r--Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.acid-base.code.tex23
1 files changed, 5 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.acid-base.code.tex b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.acid-base.code.tex
index 28ffe5d485f..61a4a3fb93d 100644
--- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.acid-base.code.tex
+++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.acid-base.code.tex
@@ -25,7 +25,7 @@
%
% The Current Maintainer of this work is Clemens Niederberger.
% --------------------------------------------------------------------------
-\ChemModule{acid-base}{2016/04/27 acid/base}
+\ChemModule{acid-base}{2016/05/31 acid/base}
\chemmacros_load_modules:n {charges}
@@ -66,7 +66,9 @@
\tl_set:cn
{l__chemmacros_#2_tl}
{ \chemmacros_translate:n {#2} }
- \DeclareTranslationFallback {#2} {#3}
+ \chemmacros_if_compatiblity:nnTF {>} {5.6}
+ { \chemmacros_declare_translation:nnn {#2} {fallback} {#3} }
+ { \DeclareTranslationFallback {#2} {#3} }
\cs_set_protected:Npn #1
{
\ensuremath
@@ -150,28 +152,13 @@
\ChemCompatibilityFrom{5.6}
\chemmacros_declare_translations:nn {K-acid}
{
- fallback = \mathrm {a} ,
- English = \mathrm {a} ,
German = \mathrm {s} ,
Dutch = \mathrm {z}
}
-
-\chemmacros_declare_translations:nn {K-base}
- {
- fallback = \mathrm {b} ,
- English = \mathrm {b} ,
- German = \mathrm {b}
- }
-
-\chemmacros_declare_translations:nn {K-water}
- {
- fallback = \mathrm {w} ,
- English = \mathrm {w} ,
- German = \mathrm {w}
- }
\EndChemCompatibility
% --------------------------------------------------------------------------
\tex_endinput:D
2016/02/04 - \NewChemEqConstant and family, new option `eq-constant'
2016/04/27 - moved translations from lang module to acid-base module
+2016/05/31 - adapt to changes in `lang' module