diff options
author | Marius <mariausol@gmail.com> | 2012-05-24 11:20:14 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-05-24 11:20:14 +0300 |
commit | 365f5ba645cc67406ec94867bd24bdfa4b59a9f8 (patch) | |
tree | d1967c777b36abac92bd9eac38b292ca08ae8f5c /tex/context/base/chem-ini.mkiv | |
parent | 1e0c1be960bc3c573f2bcc2dd3d3250bc0998034 (diff) | |
download | context-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.mkiv | 8 |
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 |