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:
\documentclass{beamer}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{gmp}
\usepackage{feynmp-auto}
\begin{document}
\begin{frame}{Test}
Test diagram
\begin{figure}
\centering
\begin{fmffile}{testdiagram}
\begin{fmfgraph*}(150,100)
\fmfpen{thin}
\fmfleft{a}
\fmfright{lept1,lept2,nu}
\fmf{fermion}{a,mixing}
\fmf{fermion,label.side=left,label.dist=3thick,tension=2}{mixing,decay}
\fmf{fermion,tension=0.8}{decay,nu}
\fmf{phantom}{a,mixing}
\fmf{wiggly,tension=2}{decay,Wdecay}
\fmf{fermion}{lept1,Wdecay,lept2}
\fmf{phantom}{lept1,Wdecay}
\fmfv{l=$\gamma$,l.a=-90,decoration.shape=circle,decoration.size=4.2,decoration.filled=hatched}{mixing}
\end{fmfgraph*}
\end{fmffile}
\end{figure}
\end{frame}
\end{document}
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!
\usepackage[multidot=false]{grffile}
– Heiko Oberdiek May 7 '15 at 9:23article
class (by just changing the document class and commenting\begin{frame}
and\end{frame}
), it works. It doesn't depend onfeynmp-auto
in particular, however, because the same happens with\usepackage{feynmp}
. For some reasons, whenbeamer
is used,grffile
makes LaTeX look fortestdiagram.1.
(with a trailing period). – egreg May 7 '15 at 9:32