0

As far as I understand my TexLive 2014 distribution performs automatic eps to pdf conversion for \includegraphics where it find only an .eps file. However I would like to disable this automatic conversion because it messes with my own Makefile and latexmk custom dependencies conversion scheme.

Is there a way to disable this automatic conversion in TexLive?

  • 3
    If there is only an eps and you disable the conversion the pdflatex run will give errors. Where is the point? How does your makefile handles this? – Ulrike Fischer Oct 27 '17 at 12:50
  • The makefile converts all off my figures (manly svg, some tiff, some eps) and I just would like to keep eveything in one place and avoid those ugly *-converted-to.pdf files mixed in. It's just a matter of taste, everything would certainly work with the automatic conversion. – Marius Oct 27 '17 at 14:42
  • I do understand this. But if you convert your pictures before the pdflatex run, there should be no ugly *-converted-to-pdf-files. – Ulrike Fischer Oct 27 '17 at 15:00
2

Add \newcommand{\DoNotLoadEpstopdf}{} before loading graphicx; the start of the file, before \documentclass is a good place.

From pdftex.def:

% In other words, by default .eps files will be automatically
% converted to .pdf files when outputting pdf.  This can be wrong!
% If the .pdf is the source, rather than the .eps, you should put
%  \newcommand{\DoNotLoadEpstopdf}{}
% before even the \documentclass line of your document.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.