diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-22 03:01:01 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-22 03:01:01 +0000 |
commit | 77cef1d14e947b4899f54ca0311ca5ce9d253164 (patch) | |
tree | b641044ef8a3372df30ea6e27d7c822bccc58cb0 /indexing | |
parent | 31d764f773a47d4d8cfa2cd2c0c3a4d5a7dff3e6 (diff) |
CTAN sync 201909220301
Diffstat (limited to 'indexing')
-rw-r--r-- | indexing/xindex/CHANGELOG | 1 | ||||
-rw-r--r-- | indexing/xindex/doc/Makefile | 1 | ||||
-rw-r--r-- | indexing/xindex/lualatex/xindex-lib.lua | 14 |
3 files changed, 6 insertions, 10 deletions
diff --git a/indexing/xindex/CHANGELOG b/indexing/xindex/CHANGELOG index 0fd24c3209..157585bc5b 100644 --- a/indexing/xindex/CHANGELOG +++ b/indexing/xindex/CHANGELOG @@ -1,3 +1,4 @@ +0.15 2019-09-21 - fixed the corrupt file xindex-lib.lua 0.14 2019-09-01 - added variable idxnewletter 0.13 2019-06-07 - fix for minCompress < 2 0.12 2019-06-05 - fix for fCompress=false diff --git a/indexing/xindex/doc/Makefile b/indexing/xindex/doc/Makefile index a4fb2b95df..10d8c8a58f 100644 --- a/indexing/xindex/doc/Makefile +++ b/indexing/xindex/doc/Makefile @@ -1,4 +1,3 @@ -# `Makefile' for `pst-grad.pdf', hv, 2008/08/11 .SUFFIXES : .tex .ltx .dvi .ps .pdf .eps diff --git a/indexing/xindex/lualatex/xindex-lib.lua b/indexing/xindex/lualatex/xindex-lib.lua index 0dc6105910..90e5066896 100644 --- a/indexing/xindex/lualatex/xindex-lib.lua +++ b/indexing/xindex/lualatex/xindex-lib.lua @@ -7,7 +7,7 @@ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-lib'] = { - version = 0.13, + version = 0.15, comment = "main library to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", @@ -501,7 +501,7 @@ function get_category(code_point) end function getCharType(c) --- print ("getCharType c="..c..": codepoint="..utf8.codepoint(c)) +-- print ("getCharType c="..tostring(c).." "..type(c)..": codepoint="..utf8.codepoint(c)) local category = get_category(utf8.codepoint(c)) -- print ("getCharType: "..category) if category == "Nd" then return 1 @@ -739,11 +739,12 @@ function printList(Index,level) end function getItem(str,n) - if n >= 0 then + + if (n >= 0) and str then local item = (str:gsub("!.*", "%0!") :gsub("[^!]*!", "", n) :match("^([^!]*)!") ) - writeLog(1,"getItem ("..str..", "..n..") = "..item.."\n",2) +-- writeLog(1,"getItem ("..str..", "..n..") = "..item.."\n",2) return item end end @@ -977,8 +978,3 @@ function stripLeadingSpaces(str) return str:gsub("^%s*(.-)%s*$", "%1") end - - str:gsub("^%s*(.-)%s*$", "%1") -end - - |