From 327cd87d4221068ab573a3504626efee4617a231 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 5 Jun 2017 23:09:50 +0000 Subject: pgfplots (5jun17) git-svn-id: svn://tug.org/texlive/trunk@44469 c570f23f-e606-0410-a88d-b1316a301751 --- .../sys/pgflibrarypgfplots.surfshading.pgfsys-dvips.def | 14 +++++++------- .../sys/pgflibrarypgfplots.surfshading.pgfsys-luatex.def | 7 +++++++ 2 files changed, 14 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex/generic/pgfplots/sys') diff --git a/Master/texmf-dist/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-dvips.def b/Master/texmf-dist/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-dvips.def index 0e1221e3286..69db3f9dbe7 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-dvips.def +++ b/Master/texmf-dist/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-dvips.def @@ -4,7 +4,7 @@ % % Provides a user-friendly interface to create function plots (normal % plots, semi-logplots and double-logplots). -% +% % It is based on Till Tantau's PGF package. % % Copyright 2007/2008 by Christian Feuersänger. @@ -13,12 +13,12 @@ % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. -% +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. -% +% % You should have received a copy of the GNU General Public License % along with this program. If not, see . % @@ -37,7 +37,7 @@ }% % The lowlevel call for surface shadings. It uses a pattern type 2 -% dictionary as fill color and has thus several things to do. +% dictionary as fill color and has thus several things to do. % % It appears the dvips implementation is simpler than the pdftex % implementation - I did not need to adjust the matrix (don't know @@ -69,7 +69,7 @@ % \pgf@sys@bp@correct\pgf@x% % \pgf@sys@bp@correct\pgf@y% \pgfsys@invoke{% - << + << %/Type /Pattern /PatternType 2 /Shading @@ -87,8 +87,8 @@ \ifpgfplotslibrarysurf@usecolormap /Function \pgfkeysvalueof{/pgfplots/surf shading/colormap} \fi - /DataSource - currentfile + /DataSource + currentfile % direct binary output not possible: DVI % doesn't support it (?) %<< /EODCount \pgfplotslibrarysurf@binarystream@len\space /EODString () >> /SubFileDecode filter diff --git a/Master/texmf-dist/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-luatex.def b/Master/texmf-dist/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-luatex.def index 0a874efa6b5..0046daadae1 100644 --- a/Master/texmf-dist/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-luatex.def +++ b/Master/texmf-dist/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-luatex.def @@ -25,6 +25,13 @@ % %-------------------------------------------- +\ifnum\luatexversion<95 + \immediate\write-1{luatex driver of pgfplots: detected lua version \the\luatexversion; falling back to old pdftex driver^^J}% + \input pgflibrarypgfplots.surfshading.pgfsys-pdftex.def + \expandafter\endinput +\fi + + % The lowlevel call for surface shadings. It uses a pattern type 2 % dictionary as fill color and has thus several things to do. This is % a little bit more complicated than using the '/sh' operator (as -- cgit v1.2.3