diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-07-15 15:01:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-07-15 15:01:00 +0200 |
commit | 84903d24d6d930438bb3cc4322c4b14271b713aa (patch) | |
tree | 7f5fca13da2c9e1c81e61fbcac67f61d55f13800 /tex/context/base/typo-dig.mkiv | |
parent | cb0c6e65703831a34d0ba909f703994a0825beac (diff) | |
download | context-84903d24d6d930438bb3cc4322c4b14271b713aa.tar.gz |
beta 2010.07.15 15:01
Diffstat (limited to 'tex/context/base/typo-dig.mkiv')
-rw-r--r-- | tex/context/base/typo-dig.mkiv | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tex/context/base/typo-dig.mkiv b/tex/context/base/typo-dig.mkiv index df00d9cef..2739ec5d4 100644 --- a/tex/context/base/typo-dig.mkiv +++ b/tex/context/base/typo-dig.mkiv @@ -41,7 +41,18 @@ \unexpanded\def\setdigitsmanipulation[#1]% {\ctxlua{typesetting.digits.set(\number#1)}} +\unexpanded\def\resetdigitsmanipulation + {\attribute\digitsattribute\attributeunsetvalue} + +\appendtoks + \resetdigitsmanipulation +\to \everyresettypesetting + \unexpanded\def\equaldigits{\groupedcommand{\setdigitsmanipulation[\plusone]}{}} \unexpanded\def\dummydigit {\hphantom{\setdigitsmanipulation[\plusone]0}} +\appendtoks + \resetcharacterspacing +\to \everyinitializeverbatim + \protect \endinput |