summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.acid-base.code.tex
diff options
context:
space:
mode:
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