pdflatex with simple Feynman

Haines Brown haines at histomat.net
Tue Dec 13 14:25:26 CET 2022


On Mon, Dec 12, 2022 at 12:26:14PM -0500, Haines Brown wrote:
> On Mon, Dec 12, 2022 at 03:59:00PM +0100, Herbert Voss wrote:
> > 
> > 
> > Am 12.12.22 um 15:47 schrieb Herbert Voss:
> > > Am 12.12.22 um 15:33 schrieb Haines Brown:
> > > 
> > > However, with an up-to-date TL2022 I have the following output
> > > with your example with a correct pdf:
> > > 
> > 
> > forgot to say, that I need two runs with
> > 
> > pdflatex --shell-escape file
> > 
> > Herbert
> 
> Success at last! Thanks, Herbert

But still a problem, which perhaps I can apprend to this thread. I 
believe my orginal problem was failure to have the mode switching 
required by the feynmp-auto package. Thanks to you it was corrected by 
running pdflatex twice.

I embed the working Feynman diagram into a LaTeX book. However, the 
diagram again does not display.

The preamble of the book already contained:

  \documentclass[12pt]{article}
  \usepackage[T1]{fontenc}

  etc

To incorporate the Feynman diagram I added:

  \usepackage{feynmp-auto} 

The environment for the diagram is \begin{fmffile}{test} and so when I 
ran $ pdflatex --shell-escape twice on the LaTeX source for the book, 
a test.mp file is created. However the diagram does  not display. 

The log ends: 

  Output written on HistoMat.pdf (382 pages, 926326 bytes).
  PDF statistics:
  1991 PDF objects out of 2073 (max. 8388607)
  1552 compressed objects within 16 object streams
  460 named destinations out of 1000 (max. 500000)
  194 words of extra memory for PDF output out of 10000 (max. 10000000)

-- 

     Haines Brown 
 /"\
 \ /  ASCII Ribbon Campaign
  X    against HTML e-mail 
 / \



More information about the texhax mailing list.