texlive[52159] Master/texmf-dist: gnuplottex (23sep19)

commits+karl at tug.org commits+karl at tug.org
Mon Sep 23 22:57:10 CEST 2019


Revision: 52159
          http://tug.org/svn/texlive?view=revision&revision=52159
Author:   karl
Date:     2019-09-23 22:57:10 +0200 (Mon, 23 Sep 2019)
Log Message:
-----------
gnuplottex (23sep19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/gnuplottex/gnuplottex.pdf
    trunk/Master/texmf-dist/source/latex/gnuplottex/gnuplottex.dtx
    trunk/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty

Modified: trunk/Master/texmf-dist/doc/latex/gnuplottex/gnuplottex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/gnuplottex/gnuplottex.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/gnuplottex/gnuplottex.dtx	2019-09-23 18:04:33 UTC (rev 52158)
+++ trunk/Master/texmf-dist/source/latex/gnuplottex/gnuplottex.dtx	2019-09-23 20:57:10 UTC (rev 52159)
@@ -42,7 +42,7 @@
 %<package> \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<package> \ProvidesPackage{gnuplottex}
 %<*package>
-    [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}
 %</package>
 %
@@ -106,6 +106,7 @@
 % \changes{v0.9}{2015/12/08}{Show any errors during conversion on Unix (Enrico Gregorio, suggested by Udo H\"ofel).}
 % \changes{v0.9.1}{2015/12/13}{Fix bug in error gathering introduced in 0.9.}
 % \changes{v0.9.2}{2016/08/21}{Misc bugfixes (thanks fostermaier, Enrico Gregorio, Jan-Benedict Glaw).}
+% \changes{v0.9.3}{2019/09/22}{Whitespace fixes (thanks Johannes Hielscher).}
 %
 % \GetFileInfo{gnuplottex.dtx}
 %
@@ -144,8 +145,9 @@
 % To use gnuplottex, you'll need the \texttt{graphicx}, \texttt{latexsym},
 % \texttt{keyval}, \texttt{ifthen}, and \texttt{moreverb} packages and, of
 % course, gnuplot.
-%If you want to use tikz-terminal you also have to use the \texttt{gnuplot-lua-tikz}-package from gnuplot.
+% If you want to use tikz-terminal you also have to use the \texttt{gnuplot-lua-tikz}-package from gnuplot.
 % If you want to use the \texttt{eepic}-terminal, you'll need the \texttt{eepic}-, the \texttt{epic}- and (if you're not using dvips or dvipdfm) the \texttt{eepicemu}-package.
+% If you use beamer, be aware that you have to call the frame with \texttt{\textbackslash begin\{frame\}[fragile]}.
 %
 % \section{Usage}
 %
@@ -169,7 +171,8 @@
 %
 % In addition, you can set \verb=\gnuplotexe= to the path to the gnuplot
 % executable. Normally, you don't need to do this; use this option only if
-% \LaTeX{} doesn't find gnuplot.
+% \LaTeX{} doesn't find gnuplot. For example:\\
+% \verb=\def\gnuplotexe{/opt/local/bin/gnuplot}=
 %
 % The following environment can be used to include graphs:
 %
@@ -749,18 +752,18 @@
 \def\gnuplotverbatimwrite#1{%
     \def\BeforeStream
     {\message{Opening gnuplot stream #1}%
-        \immediate\write\verbatim at out{\string set terminal \gnuplotterminal \gnuplotterminaloptions}
-				\immediate\write\verbatim at out{\string set output '\subfolder\figname.\gnuplottexextension{\gnuplotterminal}'}
+        \immediate\write\verbatim at out{\string set terminal \gnuplotterminal \gnuplotterminaloptions}%
+				\immediate\write\verbatim at 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 at out #1
+    }%
+    \@bsphack%
+    \immediate\openout \verbatim at out #1%
     \BeforeStream%
-    \let\do\@makeother\dospecials
+    \let\do\@makeother\dospecials%
     \catcode`\^^M\active
     \def\verbatim at processline{%
         \immediate\write\verbatim at out
@@ -800,11 +803,11 @@
 \define at key{pic}{terminal}[latex]{\def\gnuplotterminal{#1}}
 \define at 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%
@@ -846,7 +849,7 @@
         \PackageWarningNoLine{gnuplottex}{Gnuplot execution produced errors:^^J%
           \detokenize\expandafter{\gnuploterrors@}}%
       \fi
-    }{}%
+    }{}
   \fi
 }
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty	2019-09-23 18:04:33 UTC (rev 52158)
+++ trunk/Master/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty	2019-09-23 20:57:10 UTC (rev 52159)
@@ -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 at out{\string set terminal \gnuplotterminal \gnuplotterminaloptions}
-\immediate\write\verbatim at out{\string set output '\subfolder\figname.\gnuplottexextension{\gnuplotterminal}'}
+        \immediate\write\verbatim at out{\string set terminal \gnuplotterminal \gnuplotterminaloptions}%
+\immediate\write\verbatim at 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 at out #1
+    }%
+    \@bsphack%
+    \immediate\openout \verbatim at out #1%
     \BeforeStream%
-    \let\do\@makeother\dospecials
+    \let\do\@makeother\dospecials%
     \catcode`\^^M\active
     \def\verbatim at processline{%
         \immediate\write\verbatim at out
@@ -168,11 +168,11 @@
 \define at key{pic}{terminal}[latex]{\def\gnuplotterminal{#1}}
 \define at 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{%



More information about the tex-live-commits mailing list