summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/gnuplottex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-24 03:00:39 +0000
committerNorbert Preining <norbert@preining.info>2019-09-24 03:00:39 +0000
commit94c2e367c3690be2a3c715b4577c81200652ad81 (patch)
tree99f33eec6cc7707f418eb005b7cd93d115cecb18 /macros/latex/contrib/gnuplottex
parentda6f3bd15942a19bc893c478d3afe97b6d13b954 (diff)
CTAN sync 201909240300
Diffstat (limited to 'macros/latex/contrib/gnuplottex')
-rw-r--r--macros/latex/contrib/gnuplottex/gnuplottex.dtx33
-rw-r--r--macros/latex/contrib/gnuplottex/gnuplottex.pdfbin415723 -> 416400 bytes
2 files changed, 18 insertions, 15 deletions
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 @@
%<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@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
--- a/macros/latex/contrib/gnuplottex/gnuplottex.pdf
+++ b/macros/latex/contrib/gnuplottex/gnuplottex.pdf
Binary files differ