summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/typo-fln.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-11-25 23:15:50 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-11-25 23:15:50 +0100
commit7ecbcaaf68d152851591dbb5931a6eb15d155019 (patch)
tree45722ebceab0911372cd571bfc9b2c1ed992e747 /tex/context/base/mkiv/typo-fln.lua
parent8d30ee280d6fb2db6268bf6f839c5f93193a6925 (diff)
downloadcontext-7ecbcaaf68d152851591dbb5931a6eb15d155019.tar.gz
2019-11-25 17:37:00
Diffstat (limited to 'tex/context/base/mkiv/typo-fln.lua')
-rw-r--r--tex/context/base/mkiv/typo-fln.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/typo-fln.lua b/tex/context/base/mkiv/typo-fln.lua
index 3124e80c7..6cca92480 100644
--- a/tex/context/base/mkiv/typo-fln.lua
+++ b/tex/context/base/mkiv/typo-fln.lua
@@ -71,6 +71,7 @@ local insert_node_after = nuts.insert_after
local remove_node = nuts.remove
local getdimensions = nuts.dimensions
local hpack_node_list = nuts.hpack
+local start_of_par = nuts.start_of_par
local nodepool = nuts.pool
local newpenalty = nodepool.penalty
@@ -369,7 +370,7 @@ end
actions[v_default] = actions[v_line]
function firstlines.handler(head)
- if getid(head) == localpar_code then
+ if getid(head) == localpar_code and start_of_par(head) then
local settings = getprop(head,a_firstline)
if settings then
disableaction("processors","typesetters.firstlines.handler")