diff options
author | Norbert Preining <norbert@preining.info> | 2021-11-08 03:02:49 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-11-08 03:02:49 +0000 |
commit | f3bd7117b5dfa4a51d51c4e416c8a656651f1ce2 (patch) | |
tree | 5053c95dab175775cc85badf7990ffa535676f23 /indexing/xindex/lualatex/xindex-lib.lua | |
parent | 8389f0bb8e6af2c5dcbfe3cdad746a9c170d1157 (diff) |
CTAN sync 202111080302
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 |