diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-08-28 12:41:55 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-08-28 12:41:55 +0200 |
commit | 833f45553da60d8185f7095b5efbafc540c21173 (patch) | |
tree | 8b23322146b3dea3be8f741dc9d8e8285f0d0c45 /tex/context/modules/mkiv/x-asciimath.lua | |
parent | 9c25133c75ad4c533cd66a26243173de11ee461b (diff) | |
download | context-833f45553da60d8185f7095b5efbafc540c21173.tar.gz |
2017-08-28 12:19:00
Diffstat (limited to 'tex/context/modules/mkiv/x-asciimath.lua')
-rw-r--r-- | tex/context/modules/mkiv/x-asciimath.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tex/context/modules/mkiv/x-asciimath.lua b/tex/context/modules/mkiv/x-asciimath.lua index 07cf12306..1c74294f1 100644 --- a/tex/context/modules/mkiv/x-asciimath.lua +++ b/tex/context/modules/mkiv/x-asciimath.lua @@ -834,7 +834,8 @@ local issimplified = { -- --- special mess +-- special mess (we have a generic one now but for the moment keep this) +-- special mess (we have a generic one now but for the moment keep this) local d_one = R("09") local d_two = d_one * d_one @@ -894,6 +895,8 @@ local symbolmethod = nil local digitseparator = utfchar(0x2008) local digitsymbol = "." +local v_yes_digits = interfaces and interfaces.variables.yes or true + function asciimath.setup(settings) splitmethod = splitmethods[tonumber(settings.splitmethod) or 0] if splitmethod then @@ -902,7 +905,8 @@ function asciimath.setup(settings) digitsymbol = "." end local separator = settings.separator - if separator == true or not interfaces or interfaces.variables.yes then + -- if separator == true or not interfaces or interfaces.variables.yes then + if separator == true or separator == nil or separator == v_yes_digits then digitseparator = utfchar(0x2008) elseif type(separator) == "string" and separator ~= "" then digitseparator = separator |