Scroll to navigation

FEYNMF(1) Contributed LaTeX Utilities FEYNMF(1)


feynmf - Process LaTeX files using FeynMF


feynmf [-hvqncfT] [-t tfm [-t tfm ...]] [-m mode]
file [file ...]

feynmf [--help] [--version] [--quiet] [--noexec] [--clean]
[--force] [--notfm] [--tfm tfm [--tfm tfm ...]]
[--mode mode] file [file ...]


The most complicated part of using the FeynMF style appears to be the proper invocation of Metafont. The feynmf script provides a convenient front end and will automagically invoke Metafont with the proper mode and magnification. It will also avoid cluttering system font directories and offers an option to clean them.


Print a short help text.
Print the version of feynmf.
Don't echo the commands being executed.
Don't execute LaTeX or Metafont.
Offer to delete font files that have accidentally been placed in a system directory by the MakeTeXTFM and MakeTeXPK scripts (these scripts are run by tex (and latex) in the background). This option has only been tested with recent versions of UNIX TeX.
Don't ask any questions.
Don't try to prepare fake ".tfm" files for the first run.
Don't try guess the names of the ".tfm" files to fake for the first run and use the given name(s) instead. This option can be useful if our incomplete parsing of the LaTeX input files fails.
Select the METAFONT mode mode. The default is guessed or "localfont" if the guess fails.
Main LaTeX input files.
Other LaTeX input files that are included by the main file.


Thorsten Ohl <>


The preparation of ".tfm" files is not foolproof yet, because we can parse TeX files only superficially.

This script has only been tested for recent teTeX distributions of UNIX TeX, though it will probably work with other versions of UNIX TeX. The author will be grateful for portability suggestions, even concerning Borg operating systems, for the benefit of those users that are forced to live with DOS or Windows.

2023-02-21 FeynMF Version 1.08