diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-10-02 22:03:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-10-02 22:03:00 +0200 |
commit | 08f8bbb60ad11fe3fe1b5632b2eca97422c5bf8c (patch) | |
tree | 1ea0d9f304ed82d113e109c4f17277dd062d7f93 /tex/context/base/math-ext.lua | |
parent | df4e78545a9a7e02cca523a2912aa1684f6867c6 (diff) | |
download | context-08f8bbb60ad11fe3fe1b5632b2eca97422c5bf8c.tar.gz |
beta 2012.10.02 22:03
Diffstat (limited to 'tex/context/base/math-ext.lua')
-rw-r--r-- | tex/context/base/math-ext.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/math-ext.lua b/tex/context/base/math-ext.lua index da00c7a9e..047543970 100644 --- a/tex/context/base/math-ext.lua +++ b/tex/context/base/math-ext.lua @@ -20,8 +20,11 @@ characters.math = characters.math or { } local mathdata = characters.math local chardata = characters.data -function extras.add(unicode,t) +function extras.add(unicode,t) -- todo: if already stored ... local min, max = mathematics.extrabase, mathematics.privatebase - 1 + -- if mathdata[unicode] or chardata[unicode] then + -- report_math("extra U+%05X overloads existing character",unicode) + -- end if unicode >= min and unicode <= max then mathdata[unicode], chardata[unicode] = t, t else |