diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-05-16 11:46:45 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-05-16 11:46:45 +0200 |
commit | 330909ad62342ff873dc758b909968c66d0252a4 (patch) | |
tree | 72b7552cdc6925b962badb33aa9b307d949144b0 /tex/context/modules/mkiv/m-catchword.mkiv | |
parent | 4396699cb99f42f6378ed7229788bbceb898851a (diff) | |
download | context-330909ad62342ff873dc758b909968c66d0252a4.tar.gz |
2021-05-15 22:44:00
Diffstat (limited to 'tex/context/modules/mkiv/m-catchword.mkiv')
-rw-r--r-- | tex/context/modules/mkiv/m-catchword.mkiv | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/modules/mkiv/m-catchword.mkiv b/tex/context/modules/mkiv/m-catchword.mkiv index 86a3a2d55..98f0132fd 100644 --- a/tex/context/modules/mkiv/m-catchword.mkiv +++ b/tex/context/modules/mkiv/m-catchword.mkiv @@ -60,19 +60,19 @@ local function set_catchword(t) end local page = tex.getbox(t.box) local head = nodes.copy_list(first,last.next) - head = nodes.insert_before(head,head,nodes.pool.glue(1,1,1)) + head = nodes.insertbefore(head,head,nodes.pool.glue(1,1,1)) local line = nodes.hpack(head,page.width,"exactly") if CONTEXTLMTXMODE > 0 then line.yoffset = -t.voffset line.xoffset = t.hoffset else line.shift = t.hoffset - line = nodes.insert_before(line,line,nodes.pool.kern(t.voffset-line.height)) + line = nodes.insertbefore(line,line,nodes.pool.kern(t.voffset-line.height)) line = nodes.vpack(line) end line.height = 0 line.depth = 0 - node.insert_after(page.list,nodes.tail(page.list),line) + nodes.insertafter(page.list,nodes.tail(page.list),line) logs.report("catchword","appending %a on page %i",nodes.toutf(head),tex.getcount("realpageno")) end |