I want to create a Feynman diagram using LaTeXiT. I have followed the instructions here http://osksn2.hep.sci.osaka-u.ac.jp/~taku/osx/feynmp.html to install feynmp and the instructions here http://osksn2.hep.sci.osaka-u.ac.jp/~taku/osx/feynmp_latexit.html to set up LaTeXiT to produce Feynman diagrams but when I run the preamble:
\documentclass[10pt]{article}
\usepackage[usenames]{color} %used for font color
\usepackage{amssymb} %maths%\usepackage{amsmath} %maths
\usepackage[utf8]{inputenc} %useful to type directly diacritic characters
\usepackage{feynmp}
and the code:
\begin{fmffile}{feyngraph}
\begin{fmfgraph}(110,60)
\fmfleft{i1,i2}
\fmfright{o1,o2}
\fmf{fermion}{i1,v1,o1}
\fmf{fermion}{i2,v2,o2}
\fmf{photon}{v1,v2}
\end{fmfgraph}
\end{fmffile}
I get a blank picture as the output. No error, just no picture. I'm working on MacOS Catalina with LaTeXiT Version 2.13.2. Can someone tell me the best way to get this to work?
% !TEX program = sepdflatexat the top of your file and typeset using Typeset->Typeset (Cmd-Tj. – Herb Schulz Oct 16 '20 at 16:36feyngraph.1doesn't exist. Looks like it's not being created. – LaTeXereXeTaL Oct 16 '20 at 16:47