From 655a4ad8f43255f97598a33cbf65486709f5af7b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 23 Sep 2019 20:57:10 +0000 Subject: gnuplottex (23sep19) git-svn-id: svn://tug.org/texlive/trunk@52159 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/gnuplottex/gnuplottex.sty | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/tex/latex/gnuplottex') diff --git a/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty b/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty index 3656bfa21b2..1cd04bee5b0 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} - [2016/08/21 v0.9.2 gnuplot graphs in LaTeX] + [2019/09/22 v0.9.3 gnuplot graphs in LaTeX] \RequirePackage{graphicx,moreverb,keyval,ifthen,catchfile} \newif\ifShellEscape \newif\ifmiktex \miktexfalse @@ -121,18 +121,18 @@ \def\gnuplotverbatimwrite#1{% \def\BeforeStream {\message{Opening gnuplot stream #1}% - \immediate\write\verbatim@out{\string set terminal \gnuplotterminal \gnuplotterminaloptions} -\immediate\write\verbatim@out{\string set output '\subfolder\figname.\gnuplottexextension{\gnuplotterminal}'} + \immediate\write\verbatim@out{\string set terminal \gnuplotterminal \gnuplotterminaloptions}% +\immediate\write\verbatim@out{\string set output '\subfolder\figname.\gnuplottexextension{\gnuplotterminal}'}% \ifusesiunitx \ifthenelse{\equal{\extension}{\string tex}}{\usesiunitxingnuplot}{\PackageWarningNoLine{gnuplottex}{Axis numbers not written in \noexpand\num{}. Use a terminal that allows TeX output to enable this feature.}} \else \relax \fi - } - \@bsphack - \immediate\openout \verbatim@out #1 + }% + \@bsphack% + \immediate\openout \verbatim@out #1% \BeforeStream% - \let\do\@makeother\dospecials + \let\do\@makeother\dospecials% \catcode`\^^M\active \def\verbatim@processline{% \immediate\write\verbatim@out @@ -168,11 +168,11 @@ \define@key{pic}{terminal}[latex]{\def\gnuplotterminal{#1}} \define@key{pic}{terminaloptions}{\def\gnuplotterminaloptions{ #1}} \newenvironment{gnuplot}[1][]{\stepcounter{fignum}% -\def\gnuplotterminal{latex} -\def\gnuplotterminaloptions{} -\def\gnuplotscale{1} -\setkeys{pic}{#1} - \xdef\gnuplotCutFile{\subfolder\figname.gnuplot} +\def\gnuplotterminal{latex}%% +\def\gnuplotterminaloptions{}%% +\def\gnuplotscale{1}%% +\setkeys{pic}{#1}%% + \xdef\gnuplotCutFile{\subfolder\figname.gnuplot}%% \gnuplotverbatimwrite{\gnuplotCutFile}} {\endgnuplotverbatimwrite% \gnuplotgraphicsprocess% @@ -210,7 +210,7 @@ \PackageWarningNoLine{gnuplottex}{Gnuplot execution produced errors:^^J% \detokenize\expandafter{\gnuploterrors@}}% \fi - }{}% + }{} \fi } \long\gdef\gnuplotgraphicsinclude{% -- cgit v1.2.3