summaryrefslogtreecommitdiff
path: root/tex/context/base/font-otn.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-05-15 12:15:04 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-05-15 12:15:04 +0200
commitd0d9c0224d42b024edfc81eaf8e6d9e82b204804 (patch)
treec7f09fbb4b089eea5885981c0f376869eced8b5d /tex/context/base/font-otn.lua
parent35af43666d4d33ac9a492dd106c466e30c166ed2 (diff)
downloadcontext-d0d9c0224d42b024edfc81eaf8e6d9e82b204804.tar.gz
2015-05-15 11:44:00
Diffstat (limited to 'tex/context/base/font-otn.lua')
-rw-r--r--tex/context/base/font-otn.lua24
1 files changed, 4 insertions, 20 deletions
diff --git a/tex/context/base/font-otn.lua b/tex/context/base/font-otn.lua
index 440eb34ec..b1bd45304 100644
--- a/tex/context/base/font-otn.lua
+++ b/tex/context/base/font-otn.lua
@@ -2085,7 +2085,7 @@ local function normal_handle_contextchain(head,start,kind,chainname,contexts,seq
if not replace then
break
elseif n > l then
--- match = false
+ -- match = false
break
end
else
@@ -2163,7 +2163,7 @@ local function normal_handle_contextchain(head,start,kind,chainname,contexts,seq
if not replace or replace == finish then
break
elseif n < 1 then
--- match = false
+ -- match = false
break
end
else
@@ -2196,17 +2196,8 @@ local function normal_handle_contextchain(head,start,kind,chainname,contexts,seq
break
end
end
- elseif f == 2 then
- match = seq[1][32]
--- elseif f > 2 then
--- match = false -- KE ?
else
- for n=f-1,1 do
- if not seq[n][32] then
- match = false
- break
- end
- end
+ match = false
end
end
-- after
@@ -2287,15 +2278,8 @@ local function normal_handle_contextchain(head,start,kind,chainname,contexts,seq
break
end
end
- elseif s-l == 1 then
- match = seq[s][32]
else
- for n=l+1,s do
- if not seq[n][32] then
- match = false
- break
- end
- end
+ match = false
end
end
end