
He usado feynmp y feynmp-auto cientos de veces, pero ahora parece que ninguno de los dos funciona en Mac OS Yosemite. He instalado ambos y cuando los ejecuto recibo mensajes como:
Yo corro esto:
\documentclass{article}
\usepackage{feynmp-auto}
\usepackage{graphicx}
\begin{document}
\unitlength = 1mm
\begin{fmffile}{Test}
\begin{fmfgraph}(40,15)
\fmfleft{i1,i2}
\fmfright{o1,o2}
\fmf{fermion}{i1,v1,v2,o1}
\fmf{fermion}{o2,v4,v3,i2}
\fmf{photon,tension=0}{v1,v3}
\fmf{photon,tension=0}{v2,v4}
\end{fmfgraph}
\end{fmffile}
\end{document}
Y obtiene este error
feynmp: File Test.1 not found:
feynmp: Process Test.mp with MetaPost and then reprocess this file.
Actualizar:Por alguna razón, cuando incluyo el siguiente código (junto con los paquetes relevantes, si los hay), todo funciona bien:
\ifpdf
\DeclareGraphicsRule{*}{mps}{*}{}
\fi
\makeatletter
\def\endfmffile{%
\fmfcmd{\p@rcent\space the end.^^J%
end.^^J%
endinput;}%
\if@fmfio
\immediate\closeout\@outfmf
\fi
\IfFileExists{\thefmffile.mp}{\immediate\write18{mpost \thefmffile}}{}
\let\thefmffile\relax
}
\makeatother
Pensé que feynmp-auto solucionó ese último problema.
Utilizo la versión más nueva de TexShop, pero creo que mi TexLive es del 2013.