From bc2d0660f4f460b55009ab4e525f2a0e4cde6187 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 8 Sep 2020 03:02:12 +0000 Subject: CTAN sync 202009080302 --- support/make4ht/make4ht-indexing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/make4ht/make4ht-indexing.lua') diff --git a/support/make4ht/make4ht-indexing.lua b/support/make4ht/make4ht-indexing.lua index a86fd139aa..eb9c9b5017 100644 --- a/support/make4ht/make4ht-indexing.lua +++ b/support/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 -- cgit v1.2.3