summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/chem-str.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-12-15 19:13:44 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-12-15 19:13:44 +0100
commit8f472c629a996f1c08281198210354a253d7f56b (patch)
tree26f5fa0bda520d7ea9e87947df6978b9085a7d58 /tex/context/base/mkxl/chem-str.mkxl
parent3bdc9b9072bba774cd5c604fe185d39ddbdc911e (diff)
downloadcontext-8f472c629a996f1c08281198210354a253d7f56b.tar.gz
2022-12-15 17:52:00
Diffstat (limited to 'tex/context/base/mkxl/chem-str.mkxl')
-rw-r--r--tex/context/base/mkxl/chem-str.mkxl20
1 files changed, 10 insertions, 10 deletions
diff --git a/tex/context/base/mkxl/chem-str.mkxl b/tex/context/base/mkxl/chem-str.mkxl
index 6c591225e..5f3f8b6c7 100644
--- a/tex/context/base/mkxl/chem-str.mkxl
+++ b/tex/context/base/mkxl/chem-str.mkxl
@@ -82,7 +82,7 @@
[\c!align=\v!normal,
\c!strut=\v!no]
-\mutable\let\currentdefinedchemical\empty
+\mutable\lettonothing\currentdefinedchemical
\permanent\protected\def\setupchemicalframed
{\setupframed[\??chemicalframed]}
@@ -120,9 +120,9 @@
\ifcase\currentxfontsize\or\scriptstyle\or\scriptscriptstyle\fi
#1}}
-\setvalue{\??chemicalsize\v!small }{\txx}
-\setvalue{\??chemicalsize\v!medium}{\tx}
-\setvalue{\??chemicalsize\v!big }{}
+\defcsname\??chemicalsize\v!small \endcsname{\txx}
+\defcsname\??chemicalsize\v!medium\endcsname{\tx}
+\defcsname\??chemicalsize\v!big \endcsname{}
\newtoks \everychemical
\newtoks \everystructurechemical
@@ -256,14 +256,14 @@
\permanent\protected\def\chemicalbottext#1{\global\settrue\c_chem_some_text\gdef\m_chem_bot_text{#1}\ignorespaces}
\permanent\protected\def\chemicalmidtext#1{\global\settrue\c_chem_some_text\gdef\m_chem_mid_text{#1}\ignorespaces}
-\mutable\let\toptext\empty
-\mutable\let\bottext\empty
-\mutable\let\midtext\empty
+\mutable\lettonothing\toptext
+\mutable\lettonothing\bottext
+\mutable\lettonothing\midtext
\appendtoks
- \let\toptext\chemicaltoptext \glet\m_chem_top_text\empty
- \let\bottext\chemicalbottext \glet\m_chem_bot_text\empty
- \let\midtext\chemicalmidtext \glet\m_chem_mid_text\empty
+ \let\toptext\chemicaltoptext \glettonothing\m_chem_top_text
+ \let\bottext\chemicalbottext \glettonothing\m_chem_bot_text
+ \let\midtext\chemicalmidtext \glettonothing\m_chem_mid_text
\global\setfalse\c_chem_some_text
\to \everystructurechemical