[OS X TeX] Feynmp labels

Peter Dyballa Peter_Dyballa at Web.DE
Wed Apr 11 17:30:13 CEST 2007


Am 11.04.2007 um 15:46 schrieb Donal Day:

> My attempt to use the Feynmann diagram drawing package with TexShop  
> is only partially successful.

Can it be that you're using pdflatex instead of simple latex? If  
you're going to use this kind of diagrams more often, it would be  
useful to create a shell script, in TeXShop's slang a so-called engine:

	#!/bin/sh
	
	latex "$1"		# or pdflatex -output-format=dvi "$1"
	mpost simple5	# how is this MP file name created? Is it always the  
same?
	latex "$1"
	<convert to pdf>

make it executable, and save it in ~/Library/TeXShop/Engines as, for  
example, feynmp.engine. Then you can start all those Feynmann+MP TeX  
files with

	%%!TEX TS-program = feynmp

and TeXShop will automatically use this engine for typesetting.

--
Greetings

   Pete

“Computers are good at following instructions, but not at reading  
your mind.”
    - D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list