summaryrefslogtreecommitdiff
path: root/tex/context/base/node-par.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/node-par.lua')
-rw-r--r--tex/context/base/node-par.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/tex/context/base/node-par.lua b/tex/context/base/node-par.lua
index a8ad969fe..8c6ab2c34 100644
--- a/tex/context/base/node-par.lua
+++ b/tex/context/base/node-par.lua
@@ -45,7 +45,13 @@ function parbuilders.constructor(head,followed_by_display)
if attribute then
local constructor = names[attribute]
if constructor then
- return constructors[constructor](head,followed_by_display)
+ local handler = constructor and constructors[constructor]
+ if handler then
+ return handler(head,followed_by_display)
+ else
+ logs.report("parbuilders","handler '%s' is not defined",tostring(constructor))
+ return true -- let tex break
+ end
end
end
return true -- let tex break