summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty')
-rw-r--r--Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty b/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty
index 085755d6849..1b3b83c156c 100644
--- a/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty
+++ b/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty
@@ -41,7 +41,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{gnuplottex}
- [2013/09/08 v0.7.1 gnuplot graphs in LaTeX]
+ [2013/11/16 v0.7.2 gnuplot graphs in LaTeX]
\RequirePackage{latexsym,graphicx,moreverb,keyval,ifthen}
\newif\ifShellEscape
\newif\ifmiktex \miktexfalse
@@ -58,6 +58,8 @@
\DeclareOption{cleanup}{\cleanuptrue}
\DeclareOption{subfolder}{\usesubfoldertrue}
+\@ifundefined{gnuplotexe}{\def\gnuplotexe{gnuplot}}{}
+
\ExecuteOptions{shell}
\ProcessOptions\relax
%% test if shell escape really works
@@ -177,7 +179,7 @@
\long\gdef\gnuplotgraphicsprocess{%
\ifShellEscape
\IfFileExists{\subfolder\figname.gnuplot}{%
-\immediate\write18{gnuplot \subfolder\figname.gnuplot}
+\immediate\write18{\gnuplotexe\space \subfolder\figname.gnuplot}
\IfFileExists{\subfolder\figname.\extension}{%
\PackageInfo{gnuplottex}{\subfolder\figname.gnuplot converted}
\ifcleanup