summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/make4ht/mkutils.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-06 23:34:03 +0000
committerKarl Berry <karl@freefriends.org>2019-11-06 23:34:03 +0000
commitaf84b9db7fece90caa80d73b8faa9de75dd9e568 (patch)
tree745ebd7a73950d0e7099c47a66b6b3deefb2f4bd /Master/texmf-dist/scripts/make4ht/mkutils.lua
parent73e3f7c059fcd8089c33c01b6034e5ad3c9d50d6 (diff)
make4ht (5nov19)
git-svn-id: svn://tug.org/texlive/trunk@52666 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/make4ht/mkutils.lua')
-rwxr-xr-xMaster/texmf-dist/scripts/make4ht/mkutils.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/make4ht/mkutils.lua b/Master/texmf-dist/scripts/make4ht/mkutils.lua
index ba1cd6cbb9f..0ea85c7b56b 100755
--- a/Master/texmf-dist/scripts/make4ht/mkutils.lua
+++ b/Master/texmf-dist/scripts/make4ht/mkutils.lua
@@ -443,7 +443,7 @@ env.Make:add("bibtex", "bibtex ${input}")
--- load the output format plugins
function load_output_format(format_name)
- local format_library = "make4ht.formats."..format_name
+ local format_library = "make4ht.formats.make4ht-"..format_name
local is_format_file = find_lua_file(format_library)
if is_format_file then
local format = assert(require(format_library))
@@ -486,11 +486,11 @@ end
-- @param format current output format
function load_extension(name,format)
-- first test if the extension exists
- local extension_library = "make4ht.extensions." .. name
+ local extension_library = "make4ht.extensions.make4ht-ext-" .. name
local is_extension_file = find_lua_file(extension_library)
-- don't try to load the extension if it doesn't exist
if not is_extension_file then return nil end
- local extension = require("make4ht.extensions.".. name)
+ local extension = require("make4ht.extensions.make4ht-ext-".. name)
-- extensions can test if the current output format is supported
local test = extension.test
if test then