I am using jaxodraw for drawing Feynman diagrams.
My problem is that once I run pdflatex in a file with the code exported by jaxodraw, I only got the labels and no diagram. I saw a similar problem was mentioned here Feynman Diagrams with jaxodraw-2.1-0 but the solution mentioned there is also not working for me. I tried to compile with the steps suggested there, but of no help.
This is my .tex file:
\documentclass[a4paper]{article}
\usepackage{axodraw4j}
\usepackage{pstricks}
\usepackage{color}
\setlength{\oddsidemargin}{0pt}
\setlength{\evensidemargin}{0pt}
\setlength{\topmargin}{0pt}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\setlength{\topskip}{0pt}
\setlength{\footskip}{0pt}
\setlength{\textwidth}{\paperwidth}
\addtolength{\textwidth}{-2in}
\setlength{\textheight}{\paperheight}
\addtolength{\textheight}{-2in}
\pagestyle{empty}
\begin{document}
%%JaxoComment:
%%JaxoScale{1.0}
\begin{center}
\fcolorbox{white}{white}{
\begin{picture}(274,98) (191,-183)
\SetWidth{1.0}
\SetColor{Black}
\Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](192,-94)(272,-94)
\Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](272,-94)(272,-174)
\Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](272,-174)(192,-174)
\Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](384,-94)(464,-94)
\Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](384,-94)(384,-174)
\Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](464,-174)(384,-174)
\Photon(272,-94)(384,-94){7.5}{6}
\Photon(272,-174)(384,-174){7.5}{6}
\Text(304,-110)[lb]{\Large{\Black{$W^-$}}}
\Text(400,-142)[lb]{\Large{\Black{$\nu_l$}}}
\end{picture}
}
\end{center}
\end{document}
latex(notpdflatex), it generates.dvisuccessfylly for me, thendvipsproduces the diagram in postscript. You can then convert it to pdf withps2pdf. What kind ofTeXenvironment do you use? – მამუკა ჯიბლაძე May 29 '18 at 06:47ps2pdf
: Invalid argument. ps2pdf: Data: 4294967295
Process exited with error(s)"
– Joydeep Roy May 29 '18 at 07:13