From d4424601e554a08fb8666350f6aad3cf6486fc92 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 14 Aug 2021 20:49:46 +0000 Subject: xindex (14aug21) git-svn-id: svn://tug.org/texlive/trunk@60242 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/lualatex/xindex/xindex-DIN2.lua | 4 +- .../tex/lualatex/xindex/xindex-HAdW-eKO.lua | 4 +- .../texmf-dist/tex/lualatex/xindex/xindex-base.lua | 22 +- .../tex/lualatex/xindex/xindex-baselib.lua | 159 ++++++++++++++ .../tex/lualatex/xindex/xindex-cfg-common.lua | 4 +- .../tex/lualatex/xindex/xindex-cfg-uca.lua | 4 +- .../texmf-dist/tex/lualatex/xindex/xindex-cfg.lua | 4 +- .../texmf-dist/tex/lualatex/xindex/xindex-dtk.lua | 4 +- .../texmf-dist/tex/lualatex/xindex/xindex-lapp.lua | 11 +- .../texmf-dist/tex/lualatex/xindex/xindex-lib.lua | 238 +++++---------------- .../tex/lualatex/xindex/xindex-norsk.lua | 4 +- .../tex/lualatex/xindex/xindex-pretty.lua | 4 +- .../tex/lualatex/xindex/xindex-yannis.lua | 4 +- 13 files changed, 259 insertions(+), 207 deletions(-) create mode 100644 Master/texmf-dist/tex/lualatex/xindex/xindex-baselib.lua (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-DIN2.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-DIN2.lua index 0b475ae118d..22167d63c91 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-DIN2.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-DIN2.lua @@ -5,11 +5,11 @@ -- AUTHOR: Herbert Voß -- LICENSE: LPPL1.3 -- --- $Id: xindex-DIN2.lua 3 2021-07-07 07:21:56Z hvoss $ +-- $Id: xindex-DIN2.lua 6 2021-08-13 07:08:46Z hvoss $ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-cfg'] = { - version = 0.30, + version = 0.31, comment = "configuration to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-HAdW-eKO.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-HAdW-eKO.lua index 68e0546e2c5..5a9b114a356 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-HAdW-eKO.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-HAdW-eKO.lua @@ -5,13 +5,13 @@ -- AUTHOR: Herbert Voß -- LICENSE: LPPL1.3 -- --- $Id: xindex-HAdW-eKO.lua 3 2021-07-07 07:21:56Z hvoss $ +-- $Id: xindex-HAdW-eKO.lua 6 2021-08-13 07:08:46Z hvoss $ ----------------------------------------------------------------------- -- -- configuration for index files of the Heidelberger Akademie der Wissenschaften if not modules then modules = { } end modules ['xindex-HAdW-eKO'] = { - version = 0.30, + version = 0.31, comment = "configuration to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-base.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-base.lua index 4748026af05..6df683605f2 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-base.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-base.lua @@ -5,10 +5,10 @@ -- AUTHOR: Herbert Voß -- LICENSE: LPPL1.3 -- --- $Id: xindex-base.lua 3 2021-07-07 07:21:56Z hvoss $ +-- $Id: xindex-base.lua 9 2021-08-13 19:42:48Z hvoss $ ----------------------------------------------------------------------- -local info = { version = 0.30 } +local info = { version = 0.31 } -- check config if pageNoPrefixDel ~= "" then @@ -16,9 +16,21 @@ if pageNoPrefixDel ~= "" then pageNoPrefixPattern = "^.*"..pageNoPrefixDel end -writeLog(2,"Read Data from file "..inFile.." ... \n",0) -local lines = read_lines_from(inFile) -writeLog(2,#lines.." lines of data read\n",0) +local lines = {} + +if useStdInput then + writeLog(2,"Read Data from stdin ... \n",0) + for line in io.lines() do + lines[#lines+1] = line + end + writeLog(2,#lines.." lines of data read\n",0) +else + for i=1,#inFiles do + writeLog(2,"Read Data from file "..inFiles[i].." ... \n",0) + lines = array_concat(lines, read_lines_from(inFiles[i])) + writeLog(2,#lines.." lines of data read\n",0) + end +end if vlevel > 1 then writeLog(1,"--------------- Input data -----------------\n",2) diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-baselib.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-baselib.lua new file mode 100644 index 00000000000..ba1e0d27cce --- /dev/null +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-baselib.lua @@ -0,0 +1,159 @@ +----------------------------------------------------------------------- +-- FILE: xindex-baselib.lua +-- DESCRIPTION: baselibrary for xindex.lua +-- REQUIREMENTS: +-- AUTHOR: Herbert Voß +-- LICENSE: LPPL1.3 +-- +-- $Id: xindex-baselib.lua 11 2021-08-14 09:46:46Z hvoss $ +----------------------------------------------------------------------- + +if not modules then modules = { } end modules ['xindex-baselib'] = { + version = 0.31, + comment = "base library to xindex.lua", + author = "Herbert Voss", + copyright = "Herbert Voss", + license = "LPPL 1.3" +} + +function dofile(filename) + local file = kpse.find_file(filename) + local f = assert(loadfile(file)) + return f() +end + +-- see if the file exists +function file_exists(file) +local f = io.open(file, "rb") +if f then f:close() end +return f ~= nil +end + +function array_concat(...) + local t = {} + for n = 1,select("#",...) do + local arg = select(n,...) + if type(arg)=="table" then + for _,v in ipairs(arg) do + t[#t+1] = v + end + else + t[#t+1] = arg + end + end + return t +end + +function IntegerOrString(str) + local x = tonumber(str) + if x == nil -- true, if str contains _not_ only digits -> integer + then return str + else return x + end +end + +function getPathFileExt(str) + local filepath = str:match("(.*[/\\])") + local filename = str:match("^.+/(.+)$") + local fileext = str:match("^.+(%..+)$") + return filepath,filename,fileext +end + +local romanMap = { + I = 1, + V = 5, + X = 10, + L = 50, + C = 100, + D = 500, + M = 1000, +} + +local numbers = { 1, 5, 10, 50, 100, 500, 1000 } +local romanchars = { "I", "V", "X", "L", "C", "D", "M" } +local RomanNumerals = { } + +function numberToRoman(s) + --s = tostring(s) + s = tonumber(s) + if not s or s ~= s then error"Unable to convert to number" end + if s == math.huge then error"Unable to convert infinity" end + s = math.floor(s) + if s <= 0 then return s end + local ret = "" + for i = #numbers, 1, -1 do + local num = numbers[i] + while s - num >= 0 and s > 0 do + ret = ret .. romanchars[i] + s = s - num + end + for j = 1, i - 1 do + local n2 = numbers[j] + if s - (num - n2) >= 0 and s < num and s > 0 and num - n2 ~= n2 then + ret = ret .. romanchars[j] .. romanchars[i] + s = s - (num - n2) + break + end + end + end + return ret +end + +function romanToNumber(s) +-- if args_v then print("romanToNumber: "..tostring(s)) end +-- if not s then return end + s = s:upper() + local ret = 0 + local i = 1 + while i <= s:len() do + local c = s:sub(i, i) + if c ~= " " then -- allow spaces + local m = romanMap[c] + if not m then return nil end --error("Unknown Roman Numeral '" .. c .. "'") + local next = s:sub(i + 1, i + 1) + local nextm = romanMap[next] + if next and nextm then + if nextm > m then + ret = ret + (nextm - m) + i = i + 1 + else + ret = ret + m + end + else + ret = ret + m + end + end + i = i + 1 + end + return ret +end + +function string:split() + local sep, fields = " ", {} + local pattern = string.format("([^%s]+)", sep) + self:gsub(pattern, function(c) fields[#fields+1] = c end) + return fields +end + +function shellsort(a) + local inc = math.ceil( #a / 2 ) + while inc > 0 do + for i = inc, #a do + local tmp = a[i] + local j = i + while j > inc and not UTFCompare(a[j-inc],tmp) do + a[j] = a[j-inc] + j = j - inc + end + a[j] = tmp + end + inc = math.floor( 0.5 + inc / 2.2 ) + end + return a +end + +function stripLeadingSpaces(str) + return str:gsub("^%s*(.-)%s*$", "%1") +end + + diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg-common.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg-common.lua index 927caff925e..18c97ade807 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg-common.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg-common.lua @@ -5,11 +5,11 @@ -- AUTHOR: Herbert Voß -- LICENSE: LPPL1.3 -- --- $Id: xindex-cfg-common.lua 4 2021-07-07 07:25:04Z hvoss $ +-- $Id: xindex-cfg-common.lua 6 2021-08-13 07:08:46Z hvoss $ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-cfg-common'] = { - version = 0.30, + version = 0.31, comment = "configuration to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg-uca.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg-uca.lua index c057024ddaa..57fb142d743 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg-uca.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg-uca.lua @@ -5,11 +5,11 @@ -- AUTHOR: Herbert Voß -- LICENSE: LPPL1.3 -- --- $Id: xindex-cfg-uca.lua 4 2021-07-07 07:25:04Z hvoss $ +-- $Id: xindex-cfg-uca.lua 6 2021-08-13 07:08:46Z hvoss $ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-cfg-lua'] = { - version = 0.30, + version = 0.31, comment = "configuration to xindex-cfg-uca.lua", author = "Herbert Voss", copyright = "Herbert Voss", diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg.lua index 8020e4b87a0..5824d12d910 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-cfg.lua @@ -5,11 +5,11 @@ -- AUTHOR: Herbert Voß -- LICENSE: LPPL1.3 -- --- $Id: xindex-cfg.lua 4 2021-07-07 07:25:04Z hvoss $ +-- $Id: xindex-cfg.lua 6 2021-08-13 07:08:46Z hvoss $ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-cfg'] = { - version = 0.30, + version = 0.31, comment = "main configuration to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-dtk.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-dtk.lua index 28cd42daddd..662a0deb9dc 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-dtk.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-dtk.lua @@ -5,11 +5,11 @@ -- AUTHOR: Herbert Voß -- LICENSE: LPPL1.3 -- --- $Id: xindex-dtk.lua 4 2021-07-07 07:25:04Z hvoss $ +-- $Id: xindex-dtk.lua 6 2021-08-13 07:08:46Z hvoss $ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-cfg'] = { - version = 0.30, + version = 0.31, comment = "DTK configuration to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-lapp.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-lapp.lua index 4e312ce4a04..cb79a0d5502 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-lapp.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-lapp.lua @@ -1,7 +1,7 @@ -- lapp.lua -- Simple command-line parsing using human-readable specification -- --- $Id: xindex-lapp.lua 4 2021-07-07 07:25:04Z hvoss $ +-- $Id: xindex-lapp.lua 9 2021-08-13 19:42:48Z hvoss $ ----------------------------- --~ -- args.lua --~ local args = require ('lapp') [[ @@ -30,7 +30,7 @@ --~ n 2 -------------------------------- if not modules then modules = { } end modules ['xindex-lapp'] = { - version = 0.30, + version = 0.31, comment = "read parameter for xindex.lua", author = "Steve Donovan", copyright = "Steve Donovan", @@ -80,7 +80,12 @@ end local function open (file,opt) local val,err = io.open(file,opt) - if not val then error(err,true) end + if not val then + val,err = io.open(file..".idx",opt) + if not val then + error(err,true) + end + end append(open_files,val) return val end diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua index cd88fef0c82..906ea00b699 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua @@ -5,11 +5,11 @@ -- AUTHOR: Herbert Voß -- LICENSE: LPPL1.3 -- --- $Id: xindex-lib.lua 4 2021-07-07 07:25:04Z hvoss $ +-- $Id: xindex-lib.lua 9 2021-08-13 19:42:48Z hvoss $ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-lib'] = { - version = 0.30, + version = 0.31, comment = "main library to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", @@ -112,6 +112,31 @@ end -- return table.concat(str) --end +-- get all lines from a file, returns an empty +-- list/table if the file does not exist +function read_lines_from(infile) + if not file_exists(infile) then return {} end + local lines = {} + local str + local c + for line in io.lines(infile) do + if line ~= "" then + if string.find(line,'\\indexentry',1,true) then + str = line:gsub('^\\%a+%s*{','{') -- remove "\\indexentry " + writeLog(1,"read_lines: str="..str.." ("..utf.sub(str,2,2)..")\n",2) + if getCharType(utf.sub(str,2,2)) == 0 then -- we have a symbol + lines[#lines + 1] = str:gsub('^{*','{ ') -- add a space before the symbol + else + lines[#lines + 1] = str + end + else + lines[#lines + 1] = "\\MACRO<<< "..line -- allow macros between entries + end + end + end + return lines +end + function checkVert(str) -- get the | part local vert = string.find(str,"|",1,true) if (vert) then @@ -147,59 +172,6 @@ function replaceAt(str) -- return "bar" from "foo@bar" return str:gsub('[^!|@]+@', '') end -function dofile(filename) - local file = kpse.find_file(filename) - local f = assert(loadfile(file)) - return f() -end - --- see if the file exists -function file_exists(file) -local f = io.open(file, "rb") -if f then f:close() end -return f ~= nil -end - --- get all lines from a file, returns an empty --- list/table if the file does not exist -function read_lines_from(infile) - if not file_exists(infile) then return {} end - local lines = {} - local str - local c - for line in io.lines(infile) do - if line ~= "" then - if string.find(line,'\\indexentry',1,true) then - str = line:gsub('^\\%a+%s*{','{') -- remove "\\indexentry " - writeLog(1,"read_lines: str="..str.." ("..utf.sub(str,2,2)..")\n",2) - if getCharType(utf.sub(str,2,2)) == 0 then -- we have a symbol - lines[#lines + 1] = str:gsub('^{*','{ ') -- add a space before the symbol - else - lines[#lines + 1] = str - end - else - lines[#lines + 1] = "\\MACRO<<< "..line -- allow macros between entries - end - end - end - return lines -end - -function array_concat(...) - local t = {} - for n = 1,select("#",...) do - local arg = select(n,...) - if type(arg)=="table" then - for _,v in ipairs(arg) do - t[#t+1] = v - end - else - t[#t+1] = arg - end - end - return t -end - function findSequences(a) -- look for 1,2,3,4, ... local b = {} local firstPage = a[1] -- first page in the sequence @@ -582,12 +554,13 @@ function UTFCompare(a,b) end end + function pageCompare(a,b) -- a = {{number=...,special=..},{...,...}} -- a["number"], b["number"] are something like "3" or "VI-17" or "9--31" writeLog(1,"pageCompare: "..a["number"].." "..b["number"].."\n",2) if (a["number"] == nil) or (b["number"] == nil) then return true end -- should be no nil here - local a0 = a["number"] -- can be numeric or alphanumeric - local b0 = b["number"] + local a0 = IntegerOrString(a["number"]) -- can be numeric or alpha or alphanumeric + local b0 = IntegerOrString(b["number"]) -- if pageNoPrefixDel ~= "" then ---- not active -- A = (a0:gsub(pageNoPrefixPattern,'')) -- B = (b0:gsub(pageNoPrefixPattern,'')) @@ -595,10 +568,20 @@ function pageCompare(a,b) -- a = {{number=...,special=..},{...,...}} -- b0 = tonumber(B) or romanToNumber(B) -- else if numericPage then +--[[ if (type(a0) == "number") and (type(b0) == "number") then return a0 < b0 end - if romanToNumber(a0) and (type(b0) == "number") then return true end -- ii < 2 - if (type(a0) == "number") and romanToNumber(b0) then return false end -- ii > 2 + if romanToNumber(tostring(a0)) and (type(b0) == "number") then return true end -- ii < 2 + if (type(a0) == "number") and romanToNumber(tostring(b0)) then return false end -- ii > 2 if romanToNumber(a0) and romanToNumber(b0) then return a0 < b0 end -- ii < iii +]] + if (type(a0) == "number") and (type(b0) == "number") then return a0 < b0 end -- 12 < 14 ist true + if (type(a0) == "number") then + if romanToNumber(b0) then return false else return true end -- 2, ii -> ii, 2; 2, A -> ok + end + if (type(b0) == "number") then + if romanToNumber(a0) then return true else return false end -- ii, 2 -> ok; A, 2 -> 2, A + end + if romanToNumber(tostring(a0)) and romanToNumber(tostring(b0)) then return a0 < b0 end -- ii < iii or A < B -- now we have some special page numbers A = tostring(a0) B = tostring(b0) @@ -722,14 +705,6 @@ function getPageList(v,hyperpage) end end - -function getPathFileExt(str) - local filepath = str:match("(.*[/\\])") - local filename = str:match("^.+/(.+)$") - local fileext = str:match("^.+(%..+)$") - return filepath,filename,fileext -end - function printList(Index,level) for k,v in pairs(Index) do if v["Entry"] then @@ -754,75 +729,6 @@ function getItem(str,n) end end -local romanMap = { - I = 1, - V = 5, - X = 10, - L = 50, - C = 100, - D = 500, - M = 1000, -} - -local numbers = { 1, 5, 10, 50, 100, 500, 1000 } -local romanchars = { "I", "V", "X", "L", "C", "D", "M" } -local RomanNumerals = { } - -function numberToRoman(s) - --s = tostring(s) - s = tonumber(s) - if not s or s ~= s then error"Unable to convert to number" end - if s == math.huge then error"Unable to convert infinity" end - s = math.floor(s) - if s <= 0 then return s end - local ret = "" - for i = #numbers, 1, -1 do - local num = numbers[i] - while s - num >= 0 and s > 0 do - ret = ret .. romanchars[i] - s = s - num - end - for j = 1, i - 1 do - local n2 = numbers[j] - if s - (num - n2) >= 0 and s < num and s > 0 and num - n2 ~= n2 then - ret = ret .. romanchars[j] .. romanchars[i] - s = s - (num - n2) - break - end - end - end - return ret -end - -function romanToNumber(s) --- if args_v then print("romanToNumber: "..tostring(s)) end --- if not s then return end - s = s:upper() - local ret = 0 - local i = 1 - while i <= s:len() do - local c = s:sub(i, i) - if c ~= " " then -- allow spaces - local m = romanMap[c] - if not m then return nil end --error("Unknown Roman Numeral '" .. c .. "'") - local next = s:sub(i + 1, i + 1) - local nextm = romanMap[next] - if next and nextm then - if nextm > m then - ret = ret + (nextm - m) - i = i + 1 - else - ret = ret + m - end - else - ret = ret + m - end - end - i = i + 1 - end - return ret -end - function commandEntry(line) return string.find(line,"\\MACRO<<<",1,true) end @@ -939,29 +845,6 @@ function getSortString(Entry) return data end -function writeLog(i, str, level) -- mode i 0->console; 1->logfile: 2->both - if not_quiet then - if level <= vlevel then - if (i ~= 1) or (i < 0) then io.write(tostring(str)) end - if i > 0 then logFile:write(tostring(str)) end - end - else - if level < 0 then - io.write(tostring(str)) - elseif level == 0 then - logFile:write(tostring(str)) - end - end -end - -function string:split() - local sep, fields = " ", {} - local pattern = string.format("([^%s]+)", sep) - self:gsub(pattern, function(c) fields[#fields+1] = c end) - return fields -end - - --\indexentry{hello@foo!world@foo!bar|bar}{60} @@ -973,28 +856,6 @@ end ]] -function shellsort(a) - local inc = math.ceil( #a / 2 ) - while inc > 0 do - for i = inc, #a do - local tmp = a[i] - local j = i - while j > inc and not UTFCompare(a[j-inc],tmp) do - a[j] = a[j-inc] - j = j - inc - end - a[j] = tmp - end - inc = math.floor( 0.5 + inc / 2.2 ) - end - return a -end - -function stripLeadingSpaces(str) - return str:gsub("^%s*(.-)%s*$", "%1") -end - - -- get Unicode category of the codepoint, if supported function getCategory(codepoints) local codepoint = codepoints[1] @@ -1045,3 +906,18 @@ function getSortChar(codepoints) end end +function writeLog(i, str, level) -- mode i 0->console; 1->logfile: 2->both + if not_quiet then + if level <= vlevel then + if (i ~= 1) or (i < 0) then io.write(tostring(str)) end + if i > 0 then logFile:write(tostring(str)) end + end + else + if level < 0 then + io.write(tostring(str)) + elseif level == 0 then + logFile:write(tostring(str)) + end + end +end + diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-norsk.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-norsk.lua index 246b295f6a9..c33b89cda36 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-norsk.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-norsk.lua @@ -6,11 +6,11 @@ -- MODIFIED: Sveinung Heggen (2020-01-02) -- LICENSE: LPPL1.3 -- --- $Id: xindex-norsk.lua 4 2021-07-07 07:25:04Z hvoss $ +-- $Id: xindex-norsk.lua 6 2021-08-13 07:08:46Z hvoss $ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-no'] = { - version = 0.30, + version = 0.31, comment = "configuration to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-pretty.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-pretty.lua index f8fc65b8bcc..e50e6f0ff8a 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-pretty.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-pretty.lua @@ -3,11 +3,11 @@ -- Also provides a sandboxed Lua table reader and -- a function to present large numbers in human-friendly format. -- --- $Id: xindex-pretty.lua 4 2021-07-07 07:25:04Z hvoss $ +-- $Id: xindex-pretty.lua 6 2021-08-13 07:08:46Z hvoss $ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-pretty'] = { - version = 0.30, + version = 0.31, comment = "dump a Lua table for debugging", author = "Steve Donovan", copyright = "Steve Donovan", diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-yannis.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-yannis.lua index 2ef45e43606..4b1565b2a57 100644 --- a/Master/texmf-dist/tex/lualatex/xindex/xindex-yannis.lua +++ b/Master/texmf-dist/tex/lualatex/xindex/xindex-yannis.lua @@ -5,11 +5,11 @@ -- AUTHOR: Herbert Voß -- LICENSE: LPPL1.3 -- --- $Id: xindex-yannis.lua 4 2021-07-07 07:25:04Z hvoss $ +-- $Id: xindex-yannis.lua 6 2021-08-13 07:08:46Z hvoss $ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-yannis'] = { - version = 0.30, + version = 0.31, comment = "main configuration to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", -- cgit v1.2.3