summaryrefslogtreecommitdiff
path: root/tex/context/base/publ-dat.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2014-10-29 16:15:03 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2014-10-29 16:15:03 +0100
commit8b2d210bded556395191e66f360a5ef35e5e1f8d (patch)
tree5270689333a371b518535e802ea73bab4efb7443 /tex/context/base/publ-dat.lua
parente4d37ac8b9848292f1af2de118258a093b104cc8 (diff)
downloadcontext-8b2d210bded556395191e66f360a5ef35e5e1f8d.tar.gz
2014-10-29 15:23:00
Diffstat (limited to 'tex/context/base/publ-dat.lua')
-rw-r--r--tex/context/base/publ-dat.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/tex/context/base/publ-dat.lua b/tex/context/base/publ-dat.lua
index 67ab81e9f..0d1e10e66 100644
--- a/tex/context/base/publ-dat.lua
+++ b/tex/context/base/publ-dat.lua
@@ -160,7 +160,14 @@ local specifications = setmetatableindex(function(t,name)
local d = data[t]
if d then
for i=1,#d do
- list[d[i]] = t
+ local di = d[i]
+ if type(di) == "table" then
+ for i=1,#di do
+ list[di] = di[i]
+ end
+ else
+ list[di] = t
+ end
end
else
data[t] = { }