Skip to content

Commit ede215c

Browse files
committed
don't print when not converting pdf images
1 parent d00f8d9 commit ede215c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filter/convert-images.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if FORMAT:match 'latex' then
4141
if converters[file_ext](img.src, new_filename) then
4242
img.src = new_filename
4343
end
44-
else
44+
elseif file_ext ~= ".pdf" then
4545
print(string.format("not converting %s (extension %s)", img.src, file_ext))
4646
end
4747
return img

0 commit comments

Comments
 (0)