From f3bd7117b5dfa4a51d51c4e416c8a656651f1ce2 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 8 Nov 2021 03:02:49 +0000 Subject: CTAN sync 202111080302 --- indexing/xindex/lualatex/xindex-lib.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'indexing/xindex/lualatex/xindex-lib.lua') diff --git a/indexing/xindex/lualatex/xindex-lib.lua b/indexing/xindex/lualatex/xindex-lib.lua index a7936ffb0f..717eec69f7 100644 --- a/indexing/xindex/lualatex/xindex-lib.lua +++ b/indexing/xindex/lualatex/xindex-lib.lua @@ -5,11 +5,11 @@ -- AUTHOR: Herbert Voß -- LICENSE: LPPL1.3 -- --- $Id: xindex-lib.lua 12 2021-08-15 09:28:32Z hvoss $ +-- $Id: xindex-lib.lua 13 2021-08-15 10:49:40Z hvoss $ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-lib'] = { - version = 0.33, + version = 0.34, comment = "main library to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", @@ -492,7 +492,8 @@ function get_category(code_point) end function getCharType(c) --- print ("getCharType c="..tostring(c).." "..type(c)..": codepoint="..utf8.codepoint(c)) + if c=="" then return 0 end +-- 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 -- cgit v1.2.3