From 7043cd3b7046f6a11112a5d49c4ae5e2dc0c6896 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sat, 31 Oct 2020 00:09:22 +0100 Subject: 2020-10-30 22:27:00 --- tex/context/base/mkiv/typo-dub.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tex/context/base/mkiv/typo-dub.lua') diff --git a/tex/context/base/mkiv/typo-dub.lua b/tex/context/base/mkiv/typo-dub.lua index ccbcc0a06..88b3361da 100644 --- a/tex/context/base/mkiv/typo-dub.lua +++ b/tex/context/base/mkiv/typo-dub.lua @@ -87,7 +87,7 @@ local hlist_code = nodecodes.hlist local vlist_code = nodecodes.vlist local math_code = nodecodes.math local dir_code = nodecodes.dir -local localpar_code = nodecodes.localpar +local par_code = nodecodes.par local parfillskip_code = gluecodes.parfillskip @@ -398,7 +398,7 @@ end local function get_baselevel(head,list,size,direction) if direction == lefttoright_code or direction == righttoleft_code then return direction, true - elseif getid(head) == localpar_code and start_of_par(head) then + elseif getid(head) == par_code and start_of_par(head) then direction = getdirection(head) if direction == lefttoright_code or direction == righttoleft_code then return direction, true @@ -902,8 +902,8 @@ local function apply_to_list(list,size,head,pardir) enddir = false end elseif begindir then - if id == localpar_code and start_of_par(current) then - -- localpar should always be the 1st node + if id == par_code and start_of_par(current) then + -- par should always be the 1st node local d = new_direction(begindir) -- setprop(d,"directions",true) -- setattrlist(d,current) -- cgit v1.2.3