Install GLE
Download the latest version of feyn.gle from the page
If installed GLE contains the same version of feyn.gle,
discard the downloaded file.
Otherwise, put it to one of places where gle can find it:
Any directory, and set up the environment variable GLE_USRLIB to point to this directory;
The current directory, where you plan to produce Feynman diagrams;
The directory gleinc inside your GLE installation.
Write a file, say, dia.gle, using a text editor.
In this file use
include feyn.gle
Use
gle dia.gle
to produce dia.eps.
It can be included in a LaTeX file, say paper.tex, using the standard LaTeX package graphics (or graphix),
if you plan to process your file by
latex paper
for producing paper.dvi.
After that you can use dvips to convert it to paper.ps,
or dvipdfm to produce paper.pdf.
Alternatively, you can use
gle -d pdf dia.gle
to produce dia.pdf.
It can be included in paper.tex if you plan to process it by
pdflatex paper
(or lualatex paper).
You can produce other kinds of graphics files (svg, jpg, png) instead of pdf;
this may be useful, e.g., for including the diagram in a web page.