diff options
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} |