Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3a11df4

Browse files
committed
Use latex as the program name for kpsewhich
If `tex` is not installed, then setting the program name to it will fail to find the 'program' in the current directory, and then be unable to find any TeX files. Setting it to `latex` should be okay, since that's what we're running to create the `.dvi` in the first place.
1 parent 4dcea1d commit 3a11df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/mpl-data/kpsewhich.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
-- see dviread._LuatexKpsewhich
2-
kpse.set_program_name("tex")
2+
kpse.set_program_name("latex")
33
while true do print(kpse.lookup(io.read():gsub("\r", ""))); io.flush(); end

0 commit comments

Comments
 (0)