[OS X TeX] Feynmp labels

Donal Day dbd at virginia.edu
Wed Apr 11 09:46:45 EDT 2007

My attempt to use the Feynmann diagram drawing package with TexShop
is only partially successful.

Following the guidelines at http://osksn2.hep.sci.osaka-u.ac.jp/
~taku/osx/feynmp.html I can successfully create diagrams.

However when I attempt to add labels to the lines, they do not show
up on the resulting figure which is created after processing with
mpost. But they do show up in the host document - but without the
figure.

Here is the tex:
%%%%%%%%%%%%
\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage{feynmp}
\newcommand{\minpgap}{20mm}
\begin{document}
\unitlength = 1mm

\begin{minipage}{\linewidth}

\begin{fmffile}{simple5}
\begin{fmfgraph*}(40,25)
\fmfleft{i1,i2}
\fmfright{o1,o2}
% labels on the left hand fermions
\fmflabel{$e$}{i1}
\fmflabel{$e'$}{i2}
%
\fmf{fermion}{i1,v1,o1}
\fmf{fermion}{i2,v2,o2}
\fmf{photon}{v1,v2}
\end{fmfgraph*}
\end{fmffile}
\end{minipage}

\end{document}
%%%%%%%%%%%%

After typsetting with TexShop (2.09) I go to the terminal and issue
the command "mpost simple5.mp" which produces a file named
"simple5.1" which I can view with gv - it contains no labels. I
rename this file to simple5.ps and typeset my document again.

What appears in the pdf window are the labels and no diagram!

mpost is

MetaPost 0.901 (Web2C 7.5.5)
kpathsea version 3.5.5

I would appreciate some guidance.

Donal Day

Donal Day
dbd at virginia.edu