look for pdflatex.exe too under windows
svn: r13955 original commit: c9445be62de29d4b0f560d47a927b4b1b00c64bd
This commit is contained in:
parent
6913c927f3
commit
77748d9e13
|
@ -8,6 +8,8 @@
|
||||||
(define (err fmt . args) (apply error 'run-pdflatex fmt args))
|
(define (err fmt . args) (apply error 'run-pdflatex fmt args))
|
||||||
(define cmd
|
(define cmd
|
||||||
(list (or (find-executable-path "pdflatex")
|
(list (or (find-executable-path "pdflatex")
|
||||||
|
(and (eq? 'windows (system-type))
|
||||||
|
(find-executable-path "pdflatex.exe"))
|
||||||
(err "could not find a `pdflatex' executable"))
|
(err "could not find a `pdflatex' executable"))
|
||||||
"-interaction=batchmode"
|
"-interaction=batchmode"
|
||||||
(format "~a" file)))
|
(format "~a" file)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user