summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-lin.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-08-26 10:15:06 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-08-26 10:15:06 +0200
commit470438f73f2273ca9cff09393f198884a219ec48 (patch)
treebfe466c731afb959a747f87be00366fcc99bc577 /tex/context/base/typo-lin.lua
parent095d5c305c2c8b536710a5b0ef5e104f07995fb5 (diff)
downloadcontext-470438f73f2273ca9cff09393f198884a219ec48.tar.gz
2015-08-26 09:09:00
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