diff options
Diffstat (limited to 'tex/context/base/page-lin.lua')
-rw-r--r-- | tex/context/base/page-lin.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tex/context/base/page-lin.lua b/tex/context/base/page-lin.lua index 359aed877..788ca0a18 100644 --- a/tex/context/base/page-lin.lua +++ b/tex/context/base/page-lin.lua @@ -245,7 +245,11 @@ local function check_number(n,a,skip,sameline) end end local p = getprop(n,"line") - ctx_makelinenumber(tag,skipflag,s,p.hsize,p.reverse and "TRT" or "TLT") -- getfield(n,"dir")) + if p then + ctx_makelinenumber(tag,skipflag,s,p.hsize,p.reverse and "TRT" or "TLT") + else + report_lines("needs checking") + end end end |