diff options
author | Karl Berry <karl@freefriends.org> | 2020-09-07 21:20:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-09-07 21:20:51 +0000 |
commit | 5c122b3fd45bd3b2708e3fc0927e84243d548709 (patch) | |
tree | 8930267a2d57bcd925d66d3f3d240e1c4b7a956b /Master/texmf-dist/scripts/make4ht/make4ht-indexing.lua | |
parent | 3581485c7b70a58b3297157f006b3260ce2b11c0 (diff) |
make4ht (7sep20)
git-svn-id: svn://tug.org/texlive/trunk@56284 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/make4ht/make4ht-indexing.lua')
-rwxr-xr-x | Master/texmf-dist/scripts/make4ht/make4ht-indexing.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/make4ht/make4ht-indexing.lua b/Master/texmf-dist/scripts/make4ht/make4ht-indexing.lua index a86fd139aa2..eb9c9b50172 100755 --- a/Master/texmf-dist/scripts/make4ht/make4ht-indexing.lua +++ b/Master/texmf-dist/scripts/make4ht/make4ht-indexing.lua @@ -75,7 +75,7 @@ local parse_idx = function(content) if line:match("^\\beforeentry") then -- increment index entry number current_entry = current_entry + 1 - local file, dest = line:match("\\beforeentry{(.-)}{(.-)}") + local file, dest = line:match("\\beforeentry%s*{(.-)}{(.-)}") map[current_entry] = {file = file, dest = dest} elseif line:match("^\\indexentry") then -- replace the page number with the current |