summaryrefslogtreecommitdiff
path: root/tex/context/base/publ-dat.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-05-10 20:15:06 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-05-10 20:15:06 +0200
commit1e6ac8e86fb8e91f4606fb1ae519024d6cb52b12 (patch)
treecb81d3056223f37665f9f52a2c07841be24e2756 /tex/context/base/publ-dat.lua
parentb2720858f841530581e009ae380e39b4267a3d5d (diff)
downloadcontext-1e6ac8e86fb8e91f4606fb1ae519024d6cb52b12.tar.gz
2015-05-10 20:10:00
Diffstat (limited to 'tex/context/base/publ-dat.lua')
-rw-r--r--tex/context/base/publ-dat.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/tex/context/base/publ-dat.lua b/tex/context/base/publ-dat.lua
index 494a13d3c..1e651c45b 100644
--- a/tex/context/base/publ-dat.lua
+++ b/tex/context/base/publ-dat.lua
@@ -346,6 +346,12 @@ function publications.parenttag(dataset,tag)
local entry = luadata[tag]
if entry then
combined[#combined+1] = tag
+ if combined[tag] then
+ report("error in combination, dataset %a, tag %a, parent %a, ignored %a",dataset,tag,combined[tag],parent)
+ else
+ report("combining, dataset %a, tag %a, parent %a",dataset,tag,parent)
+ current.combined[tag] = parent
+ end
end
end
end
@@ -382,6 +388,7 @@ function publications.new(name)
-- used specifications
},
suffixed = false,
+ combined = { },
}
-- we delay details till we need it (maybe we just delay the
-- individual fields but that is tricky as there can be some