summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/xindex/xindex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/xindex/xindex.lua')
-rwxr-xr-xMaster/texmf-dist/scripts/xindex/xindex.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/scripts/xindex/xindex.lua b/Master/texmf-dist/scripts/xindex/xindex.lua
index 03bc0970937..73b0e0c8054 100755
--- a/Master/texmf-dist/scripts/xindex/xindex.lua
+++ b/Master/texmf-dist/scripts/xindex/xindex.lua
@@ -6,11 +6,11 @@
-- AUTHOR: Herbert Voß
-- LICENSE: LPPL 1.3
--
--- $Id: xindex.lua 13 2021-08-15 10:49:40Z hvoss $
+-- $Id: xindex.lua 20 2022-01-22 10:37:29Z hvoss $
-----------------------------------------------------------------------
xindex = xindex or { }
- local version = 0.34
+ local version = 0.35
xindex.version = version
--xindex.self = "xindex"
@@ -196,11 +196,13 @@ escape_chars = { -- by default " is the escape char
{esc_char..'"', '//escapedquote//', '"' },
{esc_char..'@', '//escapedat//', '@' },
{esc_char..'|', '//escapedvert//', '|' },
- {esc_char..'!', '//scapedexcl//', '!' },
- {esc_char..'(', '//escapedparenleft//', '(' },
- {esc_char..')', '//escapedparenright//',')' }
+ {esc_char..'!', '//escapedexcl//', '!' }
+-- {esc_char..'%(', '//escapedparenleft//', '(' }, -- ( must beescaped
+-- {esc_char..'%)', '//escapedparenright//',')' } -- ) " "
}
+-- esc_char..'%( is not needed because it can only appear after |
+
language = "en" -- default language
language = string.lower(args["language"]):sub(1, 2)