summaryrefslogtreecommitdiff
path: root/support/make4ht/domfilters/make4ht-collapsetoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'support/make4ht/domfilters/make4ht-collapsetoc.lua')
-rw-r--r--support/make4ht/domfilters/make4ht-collapsetoc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/make4ht/domfilters/make4ht-collapsetoc.lua b/support/make4ht/domfilters/make4ht-collapsetoc.lua
index ede6e1f908..1c7011c1b7 100644
--- a/support/make4ht/domfilters/make4ht-collapsetoc.lua
+++ b/support/make4ht/domfilters/make4ht-collapsetoc.lua
@@ -168,7 +168,7 @@ end
-- process the .4tc file and convert entries to a tree structure
-- based on the sectioning level
local function parse_4tc(parameters, toc_levels)
- local tcfilename = parameters.input .. ".4tc"
+ local tcfilename = mkutils.file_in_builddir(parameters.input .. ".4tc", parameters)
if not mkutils.file_exists(tcfilename) then
log:warning("Cannot find TOC: " .. tcfilename)
return {}