summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/third
diff options
context:
space:
mode:
authorDr. Clea F. Rees <cfrees@imapmail.org>2008-12-08 01:30:34 +0000
committerDr. Clea F. Rees <cfrees@imapmail.org>2008-12-08 01:30:34 +0000
commit201a32cabb9c7b2a53fe0ea4ee308545f6498895 (patch)
tree56e5047e7fa789ce239ca9c39386f1c528db06b5 /Master/texmf-dist/tex/context/third
parent483f7f233f9cc6004c32b5b1569a0d21f277e2fc (diff)
context-gnuplot (update 2008/12/08)
git-svn-id: svn://tug.org/texlive/trunk@11551 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/third')
-rwxr-xr-xMaster/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex31
1 files changed, 19 insertions, 12 deletions
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 4f539ec18b7..33eb642ee0b 100755
--- a/Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex
+++ b/Master/texmf-dist/tex/context/third/gnuplot/t-gnuplot.tex
@@ -85,6 +85,8 @@
% % linewidth scale
% gp_scale_linewidth := \gp:term:context:linewidth;
+ gp_points_with := gp_points_with_\@@GNUPLOT@term@context@points;
+
\stopMPextensions
%D (hopefully) temporary solution for handling the color in expressions like
@@ -130,21 +132,25 @@
%D Redefining low-level macros might be a bit dangerous, esp. since
%D they tend to change over time.
%D
+%D At the moment the hack only works in MKII; for MKIV it needs to be fixed
+%D
%D TODO: remind Hans to implement it in core ;)
%D and remove this patch from the module
+%D
+\ifx\directlua\undefined
+\long\def\redofiltersometxt[#1]%
+{\doifnextcharelse[{\reredofiltersometxt[#1]}{\redodofiltersometxt[#1]}}
-% \long\def\redofiltersometxt[#1]%
-% {\doifnextcharelse[{\reredofiltersometxt[#1]}{\redodofiltersometxt[#1]}}
-%
-% \long\def\redodofiltersometxt[#1]#2%
-% {\increment\txtcounter
-% \TeXtext[#1]\txtcounter{#2}%
-% \filtersometxt}
-%
-% \long\def\reredofiltersometxt[#1][#2]#3%
-% {\increment\txtcounter
-% \TeXtext[#1]\txtcounter{\switchtobodyfont[#2]\strut#3}%
-% \filtersometxt}
+\long\def\redodofiltersometxt[#1]#2%
+ {\increment\txtcounter
+ \TeXtext[#1]\txtcounter{#2}%
+ \filtersometxt}
+
+\long\def\reredofiltersometxt[#1][#2]#3%
+ {\increment\txtcounter
+ \TeXtext[#1]\txtcounter{\switchtobodyfont[#2]\strut#3}%
+ \filtersometxt}
+\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -780,6 +786,7 @@
% \edef\gp:term:context:dashlength{\@@GNUPLOT@term@context@dashlength}
% % linewidth scale
% \edef\gp:term:context:linewidth{\@@GNUPLOT@term@context@linewidth}
+ % \doifsamestringelse{\@@GNUPLOT@term@context@points}{metapost}% tex or metapost
}
\setupGNUPLOTterminal