I am trying to draw a feynman diagram using feynmf in TXC. I use the following code
\documentclass{article}
\usepackage{feynmf}
\begin{document}
\unitlength = 1mm
% determine the unit for the size of diagram.
... here comes an example with feynmf
\begin{fmffile}{one} %one.mf will be created for this feynman diagram
\fmfframe(1,7)(1,7){ %Sets dimension of Diagram
\begin{fmfgraph*}(110,62) %Sets size of Diagram
\fmfleft{i1,i2} %Sets there to be 2 sources
\fmfright{o1,o2} %Sets there to be 2 outputs
\fmflabel{$e^-$}{i1} %Labels one of the left sources
\fmflabel{$e^+$}{i2} %Labels one of the left sources
\fmflabel{${\ensuremath{\erlpm}}$}{o1} %Labels one of the right outputs
\fmflabel{${\ensuremath{\erlpm}}$}{o2} %Labels one of the right outputs
\fmf{fermion}{i1,v1,i2} %Connects the sources with a vertex.
\fmf{fermion}{o1,v2,o2} %Connects the outputs with a vertex.
\fmf{photon,label=$\gamma/Z^0$}{v1,v2} %Labels the conneting line.
\end{fmfgraph*}
}
\end{fmffile}
The thing is, that no error occurs, however no diagram is printed. Searching the web I found that I have to run LaTeX, then run metafont and run LaTeX again. Somehow I have to pre-produce the file "ome.mf" and run, I don't know how to do it, though. Any ideas?
latex -- mf -- latex; apparently, texniccenter doesn't know that ... but i don't know how one might persuade it to do what's necessary. – wasteofspace Mar 20 '12 at 15:22.mfon a terminal?). – Gonzalo Medina Mar 21 '12 at 13:33