summaryrefslogtreecommitdiff
path: root/tex/context/base/chem-ini.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-05-24 11:20:14 +0300
committerMarius <mariausol@gmail.com>2012-05-24 11:20:14 +0300
commit365f5ba645cc67406ec94867bd24bdfa4b59a9f8 (patch)
treed1967c777b36abac92bd9eac38b292ca08ae8f5c /tex/context/base/chem-ini.mkiv
parent1e0c1be960bc3c573f2bcc2dd3d3250bc0998034 (diff)
downloadcontext-365f5ba645cc67406ec94867bd24bdfa4b59a9f8.tar.gz
beta 2012.05.24 09:57
Diffstat (limited to 'tex/context/base/chem-ini.mkiv')
-rw-r--r--tex/context/base/chem-ini.mkiv8
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/chem-ini.mkiv b/tex/context/base/chem-ini.mkiv
index c0a1d021e..357bceefa 100644
--- a/tex/context/base/chem-ini.mkiv
+++ b/tex/context/base/chem-ini.mkiv
@@ -22,7 +22,8 @@
%D Quick and dirty:
%D
%D \starttyping
-%D \def\molecule#1{$\enablesupersub\tf#1$}
+%D \unexpanded\def\molecule#1%
+%D {$\enablesupersub\tf#1$}
%D \stoptyping
%D
%D Using \LUA:
@@ -35,11 +36,12 @@
%D
%D \typebuffer \getbuffer
-\def\molecule#1{\ctxcommand{molecule(\!!bs#1\!!es)}}
+\unexpanded\def\molecule#1%
+ {\ctxcommand{molecule(\!!bs#1\!!es)}}
%D For old times sake:
-\def\chem#1#2#3%
+\unexpanded\def\chem#1#2#3%
{\dontleavehmode\begingroup#1\lohi{#2}{#3}\endgroup}
\protect \endinput