diff options
Diffstat (limited to 'tex/context/base/strc-reg.lua')
-rw-r--r-- | tex/context/base/strc-reg.lua | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/tex/context/base/strc-reg.lua b/tex/context/base/strc-reg.lua index 23609cfd9..6da58345b 100644 --- a/tex/context/base/strc-reg.lua +++ b/tex/context/base/strc-reg.lua @@ -266,10 +266,6 @@ local function preprocessentries(rawdata) end rawdata.entries = nil end - local seeword = rawdata.seeword - if seeword then - seeword.processor, seeword.text = splitprocessor(seeword.text or "") - end end function registers.store(rawdata) -- metadata, references, entries @@ -830,11 +826,10 @@ function registers.flush(data,options,prefixspec,pagespec) context.startregisterseewords() for i=1,nt do local entry = t[i] - local seeword = entry.seeword - local seetext = seeword.text or "" - local processor = seeword.processor or (entry.processors and entry.processors[1]) or "" + local processor = entry.processors and entry.processors[1] or "" local seeindex = entry.references.seeindex or "" - context.registerseeword(i,n,processor,0,seeindex,seetext) + local seeword = entry.seeword.text or "" + context.registerseeword(i,n,processor,0,seeindex,seeword) end context.stopregisterseewords() end |