summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-lin.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/typo-lin.lua')
-rw-r--r--tex/context/base/typo-lin.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/typo-lin.lua b/tex/context/base/typo-lin.lua
index fcd68da7d..ef7bbe6ac 100644
--- a/tex/context/base/typo-lin.lua
+++ b/tex/context/base/typo-lin.lua
@@ -136,9 +136,9 @@ function paragraphs.normalize(head,...)
head = remove_node(head,head,true)
end
end
- head = insert_before(head,head,anchor)
+ head = insert_before(head,head,anchor)
+ shift = shift + width - hsize
if reverse then
- shift = shift + width - hsize
head = insert_before(head,head,new_kern(shift))
insert_after(head,anchor,new_kern(-shift))
else