texlive[52140] Master/texmf-dist: xindex (21sep19)

commits+karl at tug.org commits+karl at tug.org
Sat Sep 21 23:51:16 CEST 2019


Revision: 52140
          http://tug.org/svn/texlive?view=revision&revision=52140
Author:   karl
Date:     2019-09-21 23:51:16 +0200 (Sat, 21 Sep 2019)
Log Message:
-----------
xindex (21sep19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG
    trunk/Master/texmf-dist/doc/lualatex/xindex/Makefile
    trunk/Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua

Modified: trunk/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG	2019-09-20 23:53:31 UTC (rev 52139)
+++ trunk/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG	2019-09-21 21:51:16 UTC (rev 52140)
@@ -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

Modified: trunk/Master/texmf-dist/doc/lualatex/xindex/Makefile
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/xindex/Makefile	2019-09-20 23:53:31 UTC (rev 52139)
+++ trunk/Master/texmf-dist/doc/lualatex/xindex/Makefile	2019-09-21 21:51:16 UTC (rev 52140)
@@ -1,4 +1,3 @@
-# `Makefile' for `pst-grad.pdf', hv, 2008/08/11
 
 .SUFFIXES : .tex .ltx .dvi .ps .pdf .eps
 

Modified: trunk/Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua	2019-09-20 23:53:31 UTC (rev 52139)
+++ trunk/Master/texmf-dist/tex/lualatex/xindex/xindex-lib.lua	2019-09-21 21:51:16 UTC (rev 52140)
@@ -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 @@
 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 @@
 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 @@
   return str:gsub("^%s*(.-)%s*$", "%1")
 end
 
-
- str:gsub("^%s*(.-)%s*$", "%1")
-end
-
-



More information about the tex-live-commits mailing list