summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/typo-cln.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-09-02 00:04:51 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2018-09-02 00:04:51 +0200
commitfd9c4ecd4421d087de21bef1e53d8ffb016285b0 (patch)
tree64606204adcabe2f197984ca8d063891b770bace /tex/context/base/mkiv/typo-cln.lua
parent2106beefbc854f77a92264c815d3cf2b3460f0b6 (diff)
downloadcontext-fd9c4ecd4421d087de21bef1e53d8ffb016285b0.tar.gz
2018-09-01 23:20:00
Diffstat (limited to 'tex/context/base/mkiv/typo-cln.lua')
-rw-r--r--tex/context/base/mkiv/typo-cln.lua31
1 files changed, 1 insertions, 30 deletions
diff --git a/tex/context/base/mkiv/typo-cln.lua b/tex/context/base/mkiv/typo-cln.lua
index a2ebe6a0a..e5dd2271f 100644
--- a/tex/context/base/mkiv/typo-cln.lua
+++ b/tex/context/base/mkiv/typo-cln.lua
@@ -58,8 +58,7 @@ local resetter = { -- this will become an entry in char-def
function cleaners.handler(head)
local inline = false
- for n in nextglyph, head do
- local char = getchar(n)
+ for n, font, char in nextglyph, head do
if resetter[char] then
inline = false
elseif not inline then
@@ -81,34 +80,6 @@ function cleaners.handler(head)
return head
end
-if LUATEXVERSION >= 1.080 then
-
- function cleaners.handler(head)
- local inline = false
- for n, font, char in nextglyph, head do
- if resetter[char] then
- inline = false
- elseif not inline then
- local a = getattr(n,a_cleaner)
- if a == 1 then -- currently only one cleaner so no need to be fancy
- local upper = uccodes[char]
- if type(upper) == "table" then
- -- some day, not much change that \SS ends up here
- else
- setchar(n,upper)
- if trace_autocase then
- report_autocase("")
- end
- end
- end
- inline = true
- end
- end
- return head
- end
-
-end
-
-- see typo-cap for a more advanced settings handler .. not needed now
local enabled = false