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.sty16
1 files changed, 9 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty b/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty
index ff01ba2f077..3656bfa21b2 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}
- [2015/12/13 v0.9.1 gnuplot graphs in LaTeX]
+ [2016/08/21 v0.9.2 gnuplot graphs in LaTeX]
\RequirePackage{graphicx,moreverb,keyval,ifthen,catchfile}
\newif\ifShellEscape
\newif\ifmiktex \miktexfalse
@@ -203,12 +203,14 @@
\AtEndDocument{%
\ifmiktex
\else
- \CatchFileDef\gnuploterrors@{\jobname.gnuploterrors}{\endlinechar=`^^J \catcode`\ =12 }%
- \expandafter\gnuploterrors@eatpar\gnuploterrors@\@nil
- \ifx\gnuploterrors@\@empty\else
- \PackageWarningNoLine{gnuplottex}{Gnuplot execution produced errors:^^J%
- \detokenize\expandafter{\gnuploterrors@}}%
- \fi
+ \IfFileExists{\jobname.gnuploterrors}{%
+ \CatchFileDef\gnuploterrors@{\jobname.gnuploterrors}{\endlinechar=`^^J \catcode`\ =12 }%
+ \expandafter\gnuploterrors@eatpar\gnuploterrors@\@nil
+ \ifx\gnuploterrors@\@empty\else
+ \PackageWarningNoLine{gnuplottex}{Gnuplot execution produced errors:^^J%
+ \detokenize\expandafter{\gnuploterrors@}}%
+ \fi
+ }{}%
\fi
}
\long\gdef\gnuplotgraphicsinclude{%