summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/chem-str.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/chem-str.mkxl')
-rw-r--r--tex/context/base/mkiv/chem-str.mkxl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/chem-str.mkxl b/tex/context/base/mkiv/chem-str.mkxl
index 853887678..036b1f5da 100644
--- a/tex/context/base/mkiv/chem-str.mkxl
+++ b/tex/context/base/mkiv/chem-str.mkxl
@@ -157,11 +157,11 @@
{\setupcurrentchemical[#1]}% same as \currentchemical
{\edef\currentchemical{#1}%
\setupcurrentchemical[#2]}%
- \else\iffirstargument
+ \orelse\iffirstargument
\doifelseassignment{#1}
{\setupcurrentchemical[#1]}% same as \currentchemical
{\edef\currentchemical{#1}}%
- \fi\fi
+ \fi
\the\everystructurechemical
\setbox\b_chem_result\hpack\bgroup
\clf_startchemical
@@ -254,7 +254,7 @@
\appendtoks
\edef\chemicalbodyfont{\chemicalparameter\c!bodyfont}% public?
- \ifx\chemicalbodyfont\empty
+ \ifempty\chemicalbodyfont
\switchtobodyfont[\chemicalbodyfont]%
\fi
\getvalue{\??chemicalsize\chemicalparameter\c!size}%