diff options
Diffstat (limited to 'Master/texmf-dist/scripts/make4ht/domfilters/make4ht-odtimagesize.lua')
-rw-r--r-- | Master/texmf-dist/scripts/make4ht/domfilters/make4ht-odtimagesize.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/make4ht/domfilters/make4ht-odtimagesize.lua b/Master/texmf-dist/scripts/make4ht/domfilters/make4ht-odtimagesize.lua index 4ce8f0d92ea..2b87372fdb1 100644 --- a/Master/texmf-dist/scripts/make4ht/domfilters/make4ht-odtimagesize.lua +++ b/Master/texmf-dist/scripts/make4ht/domfilters/make4ht-odtimagesize.lua @@ -1,3 +1,4 @@ +local log = logging.new "odtimagesize" -- set correct dimensions to frames around images return function(dom) local frames = dom:query_selector("draw|frame") @@ -9,7 +10,7 @@ return function(dom) local height = image:get_attribute("svg:height") if widht then frame:set_attribute("svg:width", width) end if height then frame:set_attribute("svg:height", height) end - print("image dimensions", width, height) + log:debug("image dimensions", width, height) end end return dom |