diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-09-10 03:48:41 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-09-10 03:48:41 +0200 |
commit | 809177a0640771ac59eb13a1b52c91acb644e3a1 (patch) | |
tree | 8c616d0045d905f78555d5be9bdd9285bddac42d /tex/context/base/mkxl/node-res.lmt | |
parent | 0a51e22e296356871498d2925dff025680be8779 (diff) | |
download | context-809177a0640771ac59eb13a1b52c91acb644e3a1.tar.gz |
2022-09-10 02:44:00
Diffstat (limited to 'tex/context/base/mkxl/node-res.lmt')
-rw-r--r-- | tex/context/base/mkxl/node-res.lmt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/node-res.lmt b/tex/context/base/mkxl/node-res.lmt index 672f3c5a5..5b7ac3fb5 100644 --- a/tex/context/base/mkxl/node-res.lmt +++ b/tex/context/base/mkxl/node-res.lmt @@ -73,6 +73,7 @@ local setshift = nuts.setshift local setwidth = nuts.setwidth local setsubtype = nuts.setsubtype local setleader = nuts.setleader +local setclass = nuts.setclass local setdata = nuts.setdata local setruledata = nuts.setruledata @@ -452,11 +453,18 @@ function nutpool.temp() return copy_nut(temp) end -function nutpool.noad() return copy_nut(noad) end +function nutpool.noad(class) + local n = copy_nut(noad) + if class then + setsubtype(n,class) + setclass(n,class,class,class) + end + return n +end + function nutpool.delimiter() return copy_nut(delimiter) end nutpool.delim = nutpool.delimiter function nutpool.fence() return copy_nut(fence) end function nutpool.submlist() return copy_nut(submlist) end -function nutpool.noad() return copy_nut(noad) end function nutpool.fence() return copy_nut(fence) end function nutpool.accent() return copy_nut(accent) end function nutpool.radical() return copy_nut(radical) end |