summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luavlna/luavlna.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luavlna/luavlna.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luavlna/luavlna.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/luatex/luavlna/luavlna.lua b/Master/texmf-dist/tex/luatex/luavlna/luavlna.lua
index ce596bc2588..84d4c3f82cd 100644
--- a/Master/texmf-dist/tex/luatex/luavlna/luavlna.lua
+++ b/Master/texmf-dist/tex/luatex/luavlna/luavlna.lua
@@ -47,15 +47,12 @@ local tex4ht = false
-- must be table in the {char = true, char2=true} form
local set_singlechars= function(lang,c)
--print("Set single chars lua")
- print(type(lang), lang)
if type(lang) == "table" then
for _,l in pairs(lang) do
- print("language: ",l)
singlechars[l] = c
end
else
local lang = tonumber(lang)
- print("language: ",lang)
-- for k,_ in pairs(c) do print(k) end
singlechars[lang] = c
end
@@ -231,7 +228,8 @@ local function prevent_single_letter (head)
while head do
local id = head.id
local nextn = head.next
- local skip = node.has_attribute(head, luatexbase.attributes.preventsinglestatus)
+ -- local skip = node.has_attribute(head, luatexbase.attributes.preventsinglestatus)
+ local skip = node.has_attribute(head, M.preventsingleid)
if id == math_id then
if head.subtype == 0 then
word = ""