diff options
Diffstat (limited to 'support/make4ht/extensions/make4ht-ext-latexmk_build.lua')
-rw-r--r-- | support/make4ht/extensions/make4ht-ext-latexmk_build.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/make4ht/extensions/make4ht-ext-latexmk_build.lua b/support/make4ht/extensions/make4ht-ext-latexmk_build.lua index b9ed94b0dc..b93f458d62 100644 --- a/support/make4ht/extensions/make4ht-ext-latexmk_build.lua +++ b/support/make4ht/extensions/make4ht-ext-latexmk_build.lua @@ -16,7 +16,7 @@ function M.modify_build(make) -- tex4ht command overwrites content that was set by LaTeX with it's own stuff local tmp_file make:add("save_tmp", function(par) - local f = io.open(par.input .. ".tmp", "r") + local f = io.open(mkutils.file_in_builddir(par.input .. ".tmp", par), "r") if f then tmp_file = f:read("*all") f:close() @@ -25,7 +25,7 @@ function M.modify_build(make) end) make:add("load_tmp", function(par) if tmp_file then - local f = io.open(par.input .. ".tmp", "w") + local f = io.open(mkutils.file_in_builddir(par.input .. ".tmp", par), "w") if f then f:write(tmp_file) end |