summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-22 21:03:20 +0000
committerKarl Berry <karl@freefriends.org>2022-01-22 21:03:20 +0000
commitcdf946a4c2d4105eba2a5bec9a9608a3c2e178c3 (patch)
tree4537c299eafae52df1691ca9656c352563c3917f /Build
parent84657de6b123a17eb3af55b3ed14ee47c671d7c8 (diff)
xindex (22jan22)
git-svn-id: svn://tug.org/texlive/trunk@61696 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/xindex/xindex.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/xindex/xindex.lua b/Build/source/texk/texlive/linked_scripts/xindex/xindex.lua
index 03bc0970937..73b0e0c8054 100755
--- a/Build/source/texk/texlive/linked_scripts/xindex/xindex.lua
+++ b/Build/source/texk/texlive/linked_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)