diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-01-05 19:27:18 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-01-05 19:27:18 +0100 |
commit | 9a299c9ae21ca06170dda2ed6f079bd703216c5a (patch) | |
tree | 2a8c0b574b6300371392e499d19e97ee16d1f962 /tex/context/base/page-lin.lua | |
parent | 2bf7943cdc4d29a1441ab45d3c3c23d6ea62ce8d (diff) | |
download | context-9a299c9ae21ca06170dda2ed6f079bd703216c5a.tar.gz |
beta 2011.11.04 14:15
Diffstat (limited to 'tex/context/base/page-lin.lua')
-rw-r--r-- | tex/context/base/page-lin.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/page-lin.lua b/tex/context/base/page-lin.lua index 676a4c7f6..fc38f7e6b 100644 --- a/tex/context/base/page-lin.lua +++ b/tex/context/base/page-lin.lua @@ -85,7 +85,8 @@ function lines.finalize(t) local getnumber = lines.number for _,p in next, t do for _,r in next, p do - if r.metadata.kind == "line" then + local m = r.metadata + if m and m.kind == "line" then local e = r.entries local u = r.userdata e.linenumber = getnumber(e.text or 0) -- we can nil e.text |