From ecaae09a36fdbfd712448a1f9123bf76a0ec646a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 5 Dec 2008 19:27:21 +0000 Subject: context-gnuplot update (4dec08) git-svn-id: svn://tug.org/texlive/trunk@11526 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Master/texmf-dist/metapost/context') 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 4b8e1c49256..a83c7fd03c8 100755 --- a/Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp +++ b/Master/texmf-dist/metapost/context/third/gnuplot/mp-gnuplot.mp @@ -532,6 +532,16 @@ boolean context_gnuplot ; context_gnuplot := true; let,=;; enddef; + % this is only for mkiv + % in mkii, \sometxt behaves as an image and has no problems + % while in mkiv it falls back to textext.drt, + % and that one has problems if comma gets redefined, + % so we need to change definition of comma back to its original value first + vardef textext@#(expr txt) = + let,=@; + rawtextext(txt) + enddef ; + % converts the whole argument into a picture % % The problem is that \sometxt[gp]{text} is the very last command and cannot be captured as an image otherwise -- cgit v1.2.3