diff options
Diffstat (limited to 'Master/texmf-dist/scripts/make4ht/make4ht-lib.lua')
-rwxr-xr-x | Master/texmf-dist/scripts/make4ht/make4ht-lib.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/make4ht/make4ht-lib.lua b/Master/texmf-dist/scripts/make4ht/make4ht-lib.lua index 918343f20ca..2ada398f869 100755 --- a/Master/texmf-dist/scripts/make4ht/make4ht-lib.lua +++ b/Master/texmf-dist/scripts/make4ht/make4ht-lib.lua @@ -81,9 +81,9 @@ Make.image_convert = function(self, images) end image_patterns[i].params = p end - for _,i in pairs(images) do + for _,i in ipairs(images) do local output = i.output - for _, x in pairs(image_patterns) do + for _, x in ipairs(image_patterns) do local pattern = x.pattern if output:match(pattern) then local command = x.command @@ -107,7 +107,7 @@ end Make.file_matches = function(self, files) local statuses = {} -- First make params for all matchers - for k,v in pairs(self.matches) do + for k,v in ipairs(self.matches) do local v = self.matches[k].params or {} local p = self.params or {} for i,j in pairs(p) do |