diff options
author | Marius <mariausol@gmail.com> | 2010-12-04 20:40:13 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-12-04 20:40:13 +0200 |
commit | c06e4e00885df7a7e679311a36059669caaa1435 (patch) | |
tree | 0b014f2d20d349977140ddd7e4e046a435ff4c39 /tex/context/base/buff-ver.mkiv | |
parent | 5e7d254e26fb7683947962997410d89b502645b2 (diff) | |
download | context-c06e4e00885df7a7e679311a36059669caaa1435.tar.gz |
beta 2010.12.04 19:31
Diffstat (limited to 'tex/context/base/buff-ver.mkiv')
-rw-r--r-- | tex/context/base/buff-ver.mkiv | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/tex/context/base/buff-ver.mkiv b/tex/context/base/buff-ver.mkiv index f4402eb41..f6847f055 100644 --- a/tex/context/base/buff-ver.mkiv +++ b/tex/context/base/buff-ver.mkiv @@ -269,6 +269,20 @@ %D %D \typebuffer +% beware, the command is supposed to do something like +% \framed and not manipulate content i.e. it gets no +% argument but something b/egrouped instead +% +% so, if we only had left and right it woul dbe: +% +% \def\doleftoftype {\typeparameter\c!left\bgroup} % we need the grouping in order +% \def\dorightoftype{\egroup\typeparameter\c!right} % to get the normal font +% +% but with command: + +\def\doleftoftype {\typeparameter\c!left\typeparameter\c!command\bgroup} +\def\dorightoftype{\egroup\typeparameter\c!right} + \unexpanded\def\type{\dotype\empty} \unexpanded\def\typ {\dotyp \empty} @@ -283,7 +297,8 @@ \dodotype} \def\dodotype - {\futurelet\next\dodotypeone} + {\doleftoftype + \futurelet\next\dodotypeone} \def\dotyp#1% {\dontleavehmode @@ -338,6 +353,7 @@ nature = "inline", }}% \dostoptagged + \dorightoftype \egroup} \def\dodotypenested#1% @@ -351,6 +367,7 @@ nature = "inline", }}% \dostoptagged + \dorightoftype \egroup \gobbleoneargument} % grab last > |