~reviczky/context/mirror

« back to all changes in this revision

Viewing changes to tex/context/base/mkiv/node-tra.lua

  • Committer: Context Git Mirror Bot
  • Author(s): Hans Hagen
  • Date: 2019-11-25 22:15:50 UTC
  • Revision ID: git-v1:7ecbcaaf68d152851591dbb5931a6eb15d155019
2019-11-25 17:37:00

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
local dimenfactors    = number.dimenfactors
84
84
local formatters      = string.formatters
85
85
 
 
86
local start_of_par    = nuts.start_of_par
 
87
 
86
88
-- this will be reorganized:
87
89
 
88
90
function nodes.showlist(head, message)
165
167
            elseif id == dir_code then
166
168
                local d, p = getdirection(start)
167
169
                n = n + 1 ; t[n] = "[<" .. (p and "-" or "+") .. d .. ">]" -- todo l2r etc
168
 
            elseif id == localpar_code and getsubtype(start) == 0 then
 
170
            elseif id == localpar_code and start_of_par(current) then
169
171
                n = n + 1 ; t[n] = "[<" .. getdirection(start) .. ">]" -- todo l2r etc
170
172
            elseif compact then
171
173
                n = n + 1 ; t[n] = "[]"