summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-21 21:51:16 +0000
committerKarl Berry <karl@freefriends.org>2019-09-21 21:51:16 +0000
commit311ead01bb121de9b2ed25f763a662fc6841fce2 (patch)
tree8fc02e8f98a57eda9bb82b781671788ab28e8940 /Master/texmf-dist
parentc6d529f107a4ba2e6a5b3714621a707101b26b50 (diff)
xindex (21sep19)
git-svn-id: svn://tug.org/texlive/trunk@52140 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/CHANGELOG1
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/Makefile1
-rw-r--r--Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua14
3 files changed, 6 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG b/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG
index 0fd24c3209e..157585bc5b5 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG
+++ b/Master/texmf-dist/doc/lualatex/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/Master/texmf-dist/doc/lualatex/xindex/Makefile b/Master/texmf-dist/doc/lualatex/xindex/Makefile
index a4fb2b95df5..10d8c8a58ff 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/Makefile
+++ b/Master/texmf-dist/doc/lualatex/xindex/Makefile
@@ -1,4 +1,3 @@
-# `Makefile' for `pst-grad.pdf', hv, 2008/08/11
.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps
diff --git a/Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua b/Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua
index 0dc61059107..90e50668962 100644
--- a/Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua
+++ b/Master/texmf-dist/tex/lualatex/xindex/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
-
-