diff options
author | Karl Berry <karl@freefriends.org> | 2009-07-20 18:06:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-07-20 18:06:20 +0000 |
commit | aba1a497da7708c4f143ed49ed034a4058fc2828 (patch) | |
tree | d7aeed0fc952931967e15b124ef8d34ca4f056d9 | |
parent | 160531a5e2d0c9b532fb083d090e1f0c451a52f8 (diff) |
context-gnuplot update (13jul09)
git-svn-id: svn://tug.org/texlive/trunk@14342 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp | 3 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp b/Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp index 36c791c9373..46c0137e6cb 100644 --- a/Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp +++ b/Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp @@ -669,6 +669,9 @@ boolean context_gnuplot ; context_gnuplot := true; def gp_fill_pattern(expr p, pattern) = save arg_pattern; arg_pattern = pattern mod gp_num_patterns; + if arg_is_transparent = false: + fill p withcolor gp_color_background; + fi; if pattern = gp_pattern_name_full: % fill the area fill p withcolor gp_color_current; diff --git a/Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex b/Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex index 6d5e511dc99..adf4701c51e 100644 --- a/Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex +++ b/Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex @@ -262,7 +262,7 @@ \letgvalue{gps:n:#1}\GNUPLOTnumber % in case of LuaTeX we need to write the buffer into file explicitely \def\stopGNUPLOTscript{\egroup \ifx\savebuffer\undefined \else \savebuffer[gnuplot-\GNUPLOTnumber]\fi}% - \dostartbuffer[gnuplot-\GNUPLOTnumber][startGNUPLOTscript][stopGNUPLOTscript] + \dostartbuffer[gnuplot-\GNUPLOTnumber][startGNUPLOTscript][stopGNUPLOTscript]% } % When are the graphics processed/read? @@ -614,10 +614,10 @@ %D We need to preserve line breaks, otherwise metapost runs into troubles for longer input. \def\startGNUPLOTpage - {\obeyMPlines\dostartGNUPLOTpage} + {\begingroup\obeyMPlines\dostartGNUPLOTpage} \long\def\dostartGNUPLOTpage#1\stopGNUPLOTpage - {\startMPpage#1\stopMPpage} + {\endgroup\startMPpage#1\stopMPpage} % TODO: currently, the following definitions are used, |