summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/scrp-eth.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-08 00:43:40 +0000
committerKarl Berry <karl@freefriends.org>2013-04-08 00:43:40 +0000
commit824f7b0903de8ad7f6ee3d7656005e4c59155e06 (patch)
treeabfc8673ef9916f3ab7074e811207384c301492b /Master/texmf-dist/tex/context/base/scrp-eth.lua
parent689aefb0727676ed3cddf331337b4be226495e72 (diff)
context import for TL13, from www.pragma-ade.com/context/beta/cont-tmf.zip
git-svn-id: svn://tug.org/texlive/trunk@29731 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/scrp-eth.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/scrp-eth.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/scrp-eth.lua b/Master/texmf-dist/tex/context/base/scrp-eth.lua
index 75fad24811c..e1b8df43232 100644
--- a/Master/texmf-dist/tex/context/base/scrp-eth.lua
+++ b/Master/texmf-dist/tex/context/base/scrp-eth.lua
@@ -9,7 +9,6 @@ if not modules then modules = { } end modules ['scrp-eth'] = {
-- at some point I will review the script code but for the moment we
-- do it this way; so space settings like with cjk yet
-local has_attribute = node.has_attribute
local insert_node_before = node.insert_before
local nodepool = nodes.pool
@@ -38,7 +37,7 @@ local inter_character_stretch_factor = 1
local inter_character_shrink_factor = 1
local function space_glue(current)
- local data = numbertodataset[has_attribute(current,a_preproc)]
+ local data = numbertodataset[current[a_preproc]]
if data then
inter_character_space_factor = data.inter_character_space_factor or 1
inter_character_stretch_factor = data.inter_character_stretch_factor or 1
@@ -107,7 +106,7 @@ local function process(head,first,last)
while current do
local id = current.id
if id == glyph_code then
- local prestat = has_attribute(current,a_prestat)
+ local prestat = current[a_prestat]
local category = numbertocategory[prestat]
if injector then
local action = injector[category]