From 4291df261e03a62e720c46473e08b04c1d69c452 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 3 May 2013 23:38:10 +0000 Subject: feynmp-auto (3may13) git-svn-id: svn://tug.org/texlive/trunk@30223 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/feynmp-auto/feynmp-auto.sty | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex/latex/feynmp-auto') diff --git a/Master/texmf-dist/tex/latex/feynmp-auto/feynmp-auto.sty b/Master/texmf-dist/tex/latex/feynmp-auto/feynmp-auto.sty index 0b051541dd1..c4a5508e57d 100644 --- a/Master/texmf-dist/tex/latex/feynmp-auto/feynmp-auto.sty +++ b/Master/texmf-dist/tex/latex/feynmp-auto/feynmp-auto.sty @@ -31,10 +31,12 @@ %% \NeedsTeXFormat{LaTeX2e}[2008/04/05] \ProvidesPackage{feynmp-auto} - [2013/03/12 v1.0 Automatic processing of feynmp graphics] + [2013/05/03 v1.1 Automatic processing of feynmp graphics] \@ifundefined{eTeXversion} {\PackageError{feynmp-auto}{LaTeX engine too old, aborting} {Please upgrade your TeX system}\@@end}{} +\newif\iffnmpa@force +\DeclareOption{force}{\fnmpa@forcetrue} \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{feynmp}} \ProcessOptions\relax \RequirePackage{feynmp} @@ -76,6 +78,12 @@ \IfFileExists{\thefmffile.mp}{\immediate\write18{mpost \thefmffile}}{}% } \fi +\iffnmpa@force + \let\fnmpa@gethash\relax + \def\fnmpa@processmp{% + \IfFileExists{\thefmffile.mp}{\immediate\write18{mpost \thefmffile}}{}% + } +\fi \def\fmffile#1{% \def\thefmffile{#1}% \equaltojobname{\thefmffile}{% -- cgit v1.2.3