diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-08-31 00:15:05 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-08-31 00:15:05 +0200 |
commit | db76d739a1e8dc1faa0ba194d4d4f2d6081e9ae7 (patch) | |
tree | 225447286202581362ef758c0561c6f7abfbbeaa /tex/context/base/page-lin.lua | |
parent | 44b54480d044b8fe578a05a3e21bff802e9d0610 (diff) | |
download | context-db76d739a1e8dc1faa0ba194d4d4f2d6081e9ae7.tar.gz |
2015-08-30 23:05:00
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 |