diff options
author | Norbert Preining <norbert@preining.info> | 2023-01-19 03:01:20 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-01-19 03:01:20 +0000 |
commit | c11207d3e9027d6aa4153a2103df58382d41e56e (patch) | |
tree | bde001e74895007216ab81847975bd9143182d60 /indexing/xindex/lualatex/xindex-lib.lua | |
parent | 8491e6b8fb521fb1c79d3ce9376836c67050c381 (diff) |
CTAN sync 202301190301
Diffstat (limited to 'indexing/xindex/lualatex/xindex-lib.lua')
-rw-r--r-- | indexing/xindex/lualatex/xindex-lib.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indexing/xindex/lualatex/xindex-lib.lua b/indexing/xindex/lualatex/xindex-lib.lua index 67fc733488..c8b2a73718 100644 --- a/indexing/xindex/lualatex/xindex-lib.lua +++ b/indexing/xindex/lualatex/xindex-lib.lua @@ -9,7 +9,7 @@ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-lib'] = { - version = 0.45, + version = 0.46, comment = "main library to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", @@ -798,7 +798,11 @@ function itemOutput(last, v, hyperpage) if (i == 1) and (item == "item") then str = space.."\\"..item.." "..sublabels[i]..currentItems[i].."\n" else - str = space.."\\"..item.." "..sublabels[i]..currentItems[i]..itemPageDelimiter.." "..getPageList(v,hyperpage).."\n" + if i < excl+1 then -- there is one more ! => so we print no pagenumber + str = space.."\\"..item.." "..sublabels[i]..currentItems[i].."\n" + else + str = space.."\\"..item.." "..sublabels[i]..currentItems[i]..itemPageDelimiter.." "..getPageList(v,hyperpage).."\n" + end end for i, str0 in ipairs(escape_chars) do -- undo the escape char setting str = string.gsub(str,str0[2],str0[3]) |