summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-03 23:38:10 +0000
committerKarl Berry <karl@freefriends.org>2013-05-03 23:38:10 +0000
commit4291df261e03a62e720c46473e08b04c1d69c452 (patch)
tree78743ad2ed3ada604860937970638667dedb30ff /Master/texmf-dist/tex/latex
parent1e17ed5c41d36b50fefdc9b895c388c24532e9b1 (diff)
feynmp-auto (3may13)
git-svn-id: svn://tug.org/texlive/trunk@30223 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/feynmp-auto/feynmp-auto.sty10
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}{%