From 94c2e367c3690be2a3c715b4577c81200652ad81 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 24 Sep 2019 03:00:39 +0000 Subject: CTAN sync 201909240300 --- macros/latex/contrib/gnuplottex/gnuplottex.dtx | 33 ++++++++++++++----------- macros/latex/contrib/gnuplottex/gnuplottex.pdf | Bin 415723 -> 416400 bytes 2 files changed, 18 insertions(+), 15 deletions(-) (limited to 'macros/latex/contrib/gnuplottex') diff --git a/macros/latex/contrib/gnuplottex/gnuplottex.dtx b/macros/latex/contrib/gnuplottex/gnuplottex.dtx index 58286bc6fc..26fe6da487 100644 --- a/macros/latex/contrib/gnuplottex/gnuplottex.dtx +++ b/macros/latex/contrib/gnuplottex/gnuplottex.dtx @@ -42,7 +42,7 @@ % \NeedsTeXFormat{LaTeX2e}[1999/12/01] % \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} % % @@ -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@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 @@ -800,11 +803,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% @@ -846,7 +849,7 @@ \PackageWarningNoLine{gnuplottex}{Gnuplot execution produced errors:^^J% \detokenize\expandafter{\gnuploterrors@}}% \fi - }{}% + }{} \fi } % \end{macrocode} diff --git a/macros/latex/contrib/gnuplottex/gnuplottex.pdf b/macros/latex/contrib/gnuplottex/gnuplottex.pdf index 6534f16984..6faf601c5c 100644 Binary files a/macros/latex/contrib/gnuplottex/gnuplottex.pdf and b/macros/latex/contrib/gnuplottex/gnuplottex.pdf differ -- cgit v1.2.3