diff options
Diffstat (limited to 'tex/context/base/publ-dat.lua')
-rw-r--r-- | tex/context/base/publ-dat.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tex/context/base/publ-dat.lua b/tex/context/base/publ-dat.lua index b34a99bc8..0a71b0936 100644 --- a/tex/context/base/publ-dat.lua +++ b/tex/context/base/publ-dat.lua @@ -53,7 +53,7 @@ local report_duplicates = logs.reporter("publications","duplicates") local allocate = utilities.storage.allocate local commands = commands -local implement = interfaces.implement +local implement = interfaces and interfaces.implement publications = publications or { } local publications = publications @@ -431,8 +431,7 @@ do local space = S(" \t\n\r\f") -- / " " local collapsed = space^1/" " - ----- csletter = R("az","AZ") - local csletter = lpegpatterns.csletter + local csletter = lpegpatterns.csletter or R("az","AZ") ----- command = P("\\") * Cc("btxcmd{") * (R("az","AZ")^1) * Cc("}") ----- command = P("\\") * (Carg(1) * C(R("az","AZ")^1) / function(list,c) list[c] = (list[c] or 0) + 1 return "btxcmd{" .. c .. "}" end) |