summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gnuplottex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-22 22:30:56 +0000
committerKarl Berry <karl@freefriends.org>2016-08-22 22:30:56 +0000
commita64da01776ead0811571d57fb45bb5fed420ed8b (patch)
tree1222dd0d53cba75ca4afb8c7cde3801e8662e0a4 /Master/texmf-dist/tex/latex/gnuplottex
parentce27ab44a4b612b7ce582c78142a50d84c28db9b (diff)
gnuplottex (22aug16)
git-svn-id: svn://tug.org/texlive/trunk@41904 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gnuplottex')
-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{%