diff options
author | Norbert Preining <norbert@preining.info> | 2019-11-01 03:00:46 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-11-01 03:00:46 +0000 |
commit | 61b8d58232b999b6cc966aee9152fb86bbb759cd (patch) | |
tree | 61c65799f06cec526c81cc517c0ee68bc4323021 /indexing/xindex/lualatex/xindex-lib.lua | |
parent | 038f3d26e9b2f40210a14133c33f1d2dfb5261bf (diff) |
CTAN sync 201911010300
Diffstat (limited to 'indexing/xindex/lualatex/xindex-lib.lua')
-rw-r--r-- | indexing/xindex/lualatex/xindex-lib.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indexing/xindex/lualatex/xindex-lib.lua b/indexing/xindex/lualatex/xindex-lib.lua index 59193f1d28..fd36c1560c 100644 --- a/indexing/xindex/lualatex/xindex-lib.lua +++ b/indexing/xindex/lualatex/xindex-lib.lua @@ -7,7 +7,7 @@ ----------------------------------------------------------------------- if not modules then modules = { } end modules ['xindex-lib'] = { - version = 0.18, + version = 0.19, comment = "main library to xindex.lua", author = "Herbert Voss", copyright = "Herbert Voss", @@ -272,6 +272,14 @@ function replaceVerticalChar(v) end end +--local ignore = "'`'" + +function ignoreLetters( c ) + return (c:gsub("["..ignore.."]+", ""):match("^%s*(.-)%s*$")) +end +-- somestring:match("^%s*(.-)%s*$") --trim function + + function getEntryAndPage(w, nextW, EntryList) -- \indexentry{Aachen, Johann von}{VII/1-215} -- \indexentry {Document@\idxtextClasses !IEEEtran@{\sfffffamily IEEEtran}}{185} |