Since I reinstalled Texlive14 from scratch (I was using Texlive13 before) I ran into problems compiling my presentations that use both grffile and feynmf-auto. It appears that, due to the presence of grffile, the testdiagram.1 output file is not found during compilation, while it is present in the folder and removing grffile suppresses the error and lets the diagram appear smoothly onto my slides.

I am also using gmp to make labels visible (no labels are there in the following MWE, though).

I use xelatex to compile, for other reasons. Here is a minimal example reproducing the error:



    Test diagram

And here is the error stack I get:

ERROR File 'testdiagram.1.' not found. \end{frame}

ERROR Cannot determine size of graphic in testdiagram.1. (no BoundingBox). \end{frame}

WARNING File 'testdiagram.1' not found

WARNING Font shape 'OT1/cmss/m/n' in size <4> not available(Font) size <5> substituted

WARNING Size substitutions with differences(Font) up to 1.0pt have occurred.

Is this a bug that I should report, or can this be overcome somehow?

Thanks in advance!

  • Workaround: \usepackage[multidot=false]{grffile} May 7, 2015 at 9:23
  • Weird: if I try the same with the article class (by just changing the document class and commenting \begin{frame} and \end{frame}), it works. It doesn't depend on feynmp-auto in particular, however, because the same happens with \usepackage{feynmp}. For some reasons, when beamer is used, grffile makes LaTeX look for testdiagram.1. (with a trailing period).
    – egreg
    May 7, 2015 at 9:32
  • @egreg: actually for me it fails anyway, regardless of the documentclass used.
    – elgicse
    May 7, 2015 at 14:48

1 Answer 1


This seems to be a bug in grffile, I'm afraid.

The minimal example is




that stops with the same identical error

! LaTeX Error: File `testdiagram.1.' not found.

where testdiagram.1 is a file built by Metapost. This only when compiling with XeLaTeX.

Passing the multidot=false option to grffile seems to be a workaround.



  • Thanks, multidot=false solves the problem also in beamer. I will try to file a bug report for grffile, because with this option it loses most of its purpose.. EDIT: I hadn't realized that @HeikoOberdiak already noticed.
    – elgicse
    May 7, 2015 at 14:50

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.