diff options
Diffstat (limited to 'tex/context/base/mkxl/typo-rub.lmt')
-rw-r--r-- | tex/context/base/mkxl/typo-rub.lmt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/typo-rub.lmt b/tex/context/base/mkxl/typo-rub.lmt index eff522e02..f5bba7f7f 100644 --- a/tex/context/base/mkxl/typo-rub.lmt +++ b/tex/context/base/mkxl/typo-rub.lmt @@ -170,13 +170,14 @@ do local function setruby(n,m) nofrubies = nofrubies + 1 local r = takebox(n) - rubylist[nofrubies] = setmetatableindex({ + local t = { text = r, width = getwidth(r), basewidth = 0, start = false, stop = false, - }, shared) + } + rubylist[nofrubies] = setmetatableindex(t, shared) texsetattribute(a_ruby,nofrubies) end |