git.iko.soy/typeable/pandoc
on master help sign in
makePDF: Don't try to convert eps files.

pdflatex converts them itself, and JuicyPixels can't do it. See #2067.

commit229db80ac23ab0b5dba396d7748fcba0d05c4785 authorJohn MacFarlane <jgm@berkeley.edu> dateSat 21 Apr 2018, 12:28 (8 years ago) parentcd51983
1 file changed+2
src/Text/Pandoc/PDF.hs+2
src/Text/Pandoc/PDF.hs+2
@@ -175,6 +175,8 @@ convertImage tmpdir fname =
175175 Just "image/png" -> doNothing
176176 Just "image/jpeg" -> doNothing
177177 Just "application/pdf" -> doNothing
178+ -- Note: eps is converted by pdflatex using epstopdf.pl
179+ Just "application/eps" -> doNothing
178180 Just "image/svg+xml" -> E.catch (do
179181 (exit, _) <- pipeProcess Nothing "rsvg-convert"
180182 ["-f","pdf","-a","-o",pdfOut,fname] BL.empty