diff options
Diffstat (limited to 'indexing/xindex/lualatex/xindex-lib.lua')
-rw-r--r-- | indexing/xindex/lualatex/xindex-lib.lua | 7 |
1 files changed, 4 insertions, 3 deletions
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 |