diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/feynmp-auto/feynmp-auto.sty | 10 |
1 files changed, 9 insertions, 1 deletions
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}{% |