diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/publ-usr.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/publ-usr.lua | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/context/base/publ-usr.lua b/Master/texmf-dist/tex/context/base/publ-usr.lua index f0111227916..901f116296c 100644 --- a/Master/texmf-dist/tex/context/base/publ-usr.lua +++ b/Master/texmf-dist/tex/context/base/publ-usr.lua @@ -89,10 +89,12 @@ local function addtexentry(dataset,settings,content) category = settings.category or settings.t or "article", } lpegmatch(pattern,content,1,data) -- can set tag too - local tag = data.tag - current.userdata[tag] = data - current.luadata[tag] = data - current.details[tag] = nil + local tag = data.tag + local index = publications.getindex(dataset,current.luadata,tag) + current.ordered[index] = data + current.luadata[tag] = data + current.userdata[tag] = data + current.details[tag] = nil return data end |