Skip to content

Commit 2bff142

Browse files
committed
fix(languages): Fix Uyghur hyphenation
1 parent 2e816f2 commit 2bff142

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

languages/ug/init.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ end
113113
-- function debugUyghur(word)
114114
-- SILE.languageSupport.loadLanguage("ug")
115115
-- print(SILE.showHyphenationPoints(word,"ug"))
116-
-- local items = SILE._hyphenate(SILE.hyphenators["ug"],word)
116+
-- local items = SILE._hyphenate(SILE._hyphenators["ug"],word)
117117
-- print(reorderHyphenations(items,true))
118118
-- end
119119

@@ -124,10 +124,10 @@ SILE.hyphenator.languages.ug = function (n)
124124
-- Make "Turkish" nodes
125125
local newoptions = pl.tablex.deepcopy(n.options)
126126
newoptions.language = "lt"
127-
if not SILE.hyphenators.lt then
127+
if not SILE._hyphenators.lt then
128128
SILE.hyphenate(SILE.shaper:createNnodes(latin, newoptions))
129129
end
130-
local items = SILE._hyphenate(SILE.hyphenators["lt"], latin)
130+
local items = SILE._hyphenate(SILE._hyphenators["lt"], latin)
131131
if #items == 1 then
132132
SU.debug("uyghur", latin, "No hyphenation points")
133133
return { n }

0 commit comments

Comments
 (0)