diff --git a/pkgs/misc/tex/nix/find-includes.pl b/pkgs/misc/tex/nix/find-includes.pl index 9e5fd112bac9..eb36cefc7de6 100644 --- a/pkgs/misc/tex/nix/find-includes.pl +++ b/pkgs/misc/tex/nix/find-includes.pl @@ -82,7 +82,7 @@ while (scalar @workset > 0) { } elsif (/\\includegraphics(\[.*\])?\{(.*)\}/) { my $fn2 = $2; die "absolute path! $fn2" if substr($fn2, 0, 1) eq "/"; - addToWorkSetExts("$path/$fn2", ".pdf", ".png", ".ps"); + addToWorkSetExts("$path/$fn2", ".pdf", ".png", ".ps", ".jpg"); } elsif (/\\pgfdeclareimage(\[.*\])?\{.*\}\{(.*)\}/) { my $fn2 = $2; die "absolute path! $fn2" if substr($fn2, 0, 1) eq "/";