diff options
author | Karl Berry <karl@freefriends.org> | 2018-10-24 20:29:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-10-24 20:29:56 +0000 |
commit | 5eaeb0a62717f47efd6054e4390f8b707e9cf584 (patch) | |
tree | 96269dfed16121ce2cf8fd9892b866d23a70a4eb /Master/texmf-dist/tex/latex/pgf-cmykshadings | |
parent | 30b9b7d8c9b8077080f2effe72911dc9085e9777 (diff) |
pgf-cmykshadings (24oct18)
git-svn-id: svn://tug.org/texlive/trunk@48982 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgf-cmykshadings')
10 files changed, 129 insertions, 119 deletions
diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgf-cmykshadings.sty b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgf-cmykshadings.sty index 316c0e61b39..3ff21fe898a 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgf-cmykshadings.sty +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgf-cmykshadings.sty @@ -25,7 +25,7 @@ %% pgf-cmykshadings.dtx, README.md, and the derived files %% - pgf-cmykshadings.sty %% - pgfsys-cmykshadings-pdftex.def -%% - pgfsys-cmykshadgins-xetex.def +%% - pgfsys-cmykshadings-xetex.def %% - pgfsys-cmykshadings-luatex.def %% - pgfsys-cmykshadings-dvipdfmx.def %% - pgfsys-cmykshadings-dvipdfm.def @@ -42,7 +42,8 @@ %% shadings. %% \ProvidesPackage{pgf-cmykshadings}% - [2018/10/23 CMYK shadings support for PGF (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF (DCP)] \RequirePackage{pgf} \def\pgf@parsefunc#1{% \edef\temp{{#1}}% @@ -247,9 +248,9 @@ \def\pgf@grabsemicolor;{% \edef\pgf@conv{\pgf@conv; }\pgf@convert} \def\pgf@gobblec c{\pgf@convert} -\def\pgf@savecolor#1{ +\def\pgf@savecolor#1{% \pgfutil@extractcolorspec{pgf@tempcol}{\pgf@tempcolor}% - \expandafter\pgfutil@convertcolorspec\pgf@tempcolor% + \expandafter\pgfutil@convertcolorspec\pgf@tempcolor {\pgf@shading@model}{\pgf@color}% \expandafter\pgf@convget@\expandafter{\pgf@color}{#1}% } @@ -289,7 +290,7 @@ \pgf@sys@tonumber{\pgf@xc}\space}% \expandafter\edef\csname\string#2black\endcsname{% \pgf@sys@tonumber{\pgf@xd}\space}% - \escapechar\c@pgf@counta% + \escapechar\c@pgf@counta } \def\pgfshading@cmyk#1,#2,#3,#4\relax{% \pgf@xa=#1pt% @@ -301,13 +302,13 @@ \pgfutil@colorlet{pgf@tempcol}{#1}% \pgfutil@extractcolorspec{pgf@tempcol}{\pgf@tempcolor}% \expandafter\pgfutil@convertcolorspec\pgf@tempcolor{gray}{\pgf@graycolor}% - \expandafter\pgfshading@gray\pgf@graycolor\relax% + \expandafter\pgfshading@gray\pgf@graycolor\relax \edef#2{\pgf@sys@tonumber{\pgf@xa}\space}% - \c@pgf@counta\escapechar% - \escapechar-1\relax% + \c@pgf@counta\escapechar + \escapechar-1\relax \expandafter\edef\csname\string#2gray\endcsname{% \pgf@sys@tonumber{\pgf@xa}\space}% - \escapechar\c@pgf@counta% + \escapechar\c@pgf@counta } \def\pgfshading@gray#1\relax{% \pgf@xa=#1pt% @@ -326,7 +327,7 @@ \pgf@declareradialshading{\pgf@declareradialshading[]}} \def\pgfdeclarefunctionalshading{% \pgf@setup@model - \pgfutil@ifnextchar[ + \pgfutil@ifnextchar[% \pgf@declarefunctionalshading{\pgf@declarefunctionalshading[]}} \def\pgfuseshading#1{% \edef\pgf@shadingname{@pgfshading#1}% @@ -337,7 +338,7 @@ {% {% \pgf@setup@model - \pgfutil@globalcolorsfalse% + \pgfutil@globalcolorsfalse \def\pgf@shade@adds{}% \pgfutil@ifundefined{pgf@deps\pgf@shadingname}% {}% @@ -349,7 +350,7 @@ {}{\applycolormixins{\@temp}}% \pgfutil@extractcolorspec{\@temp}{\pgf@tempcolor}% \expandafter\pgfutil@ifundefined\expandafter{% - \pgf@shadingsavedmodel} + \pgf@shadingsavedmodel}% {\expandafter\pgfutil@convertcolorspec\pgf@tempcolor{% \pgf@shading@model}{\pgf@color}}% {\expandafter\pgfutil@convertcolorspec\pgf@tempcolor{% @@ -365,12 +366,12 @@ \expandafter\def\expandafter\@temp\expandafter{% \csname pgf@func\pgf@shadingname\endcsname}% \edef\@args{{\pgf@basename\pgf@shade@adds}}% - \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@@args% + \expandafter\expandafter\expandafter\def + \expandafter\expandafter\expandafter\@@args \expandafter\expandafter\expandafter{% \csname pgf@args\pgf@shadingname\endcsname}% \expandafter\expandafter\expandafter\@temp - \expandafter\@args\@@args% + \expandafter\@args\@@args }% }% {}% @@ -395,7 +396,7 @@ \ifpgfcmykshadingdefault \def\pgf@shading@functional@range{0 1 0 1 0 1 0 1}% \def\pgf@shading@device{/DeviceCMYK}% - \def\pgf@shading@ps@device{setcmykcolor}% + \def\pgf@shading@ps@device{setcmykcolor}% \def\pgf@shading@model{cmyk}% \pgfshadingmodelrgbfalse \pgfshadingmodelcmyktrue @@ -486,7 +487,7 @@ 4 3 roll } \def\pgfutilgetcmykshadingsdriver{% - \expandafter\pgfutil@getcmykshadingsdriver\pgfsysdriver[ + \expandafter\pgfutil@getcmykshadingsdriver\pgfsysdriver[% } \def\pgfutil@getcmykshadingsdriver pgfsys-#1[{% \edef\pgfsyscmykshadingsdriver{pgfsys-cmykshadings-#1}% diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-common-postscript.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-common-postscript.def index 12a5eb0ecac..585e69a7a7b 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-common-postscript.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-common-postscript.def @@ -25,7 +25,7 @@ %% pgf-cmykshadings.dtx, README.md, and the derived files %% - pgf-cmykshadings.sty %% - pgfsys-cmykshadings-pdftex.def -%% - pgfsys-cmykshadgins-xetex.def +%% - pgfsys-cmykshadings-xetex.def %% - pgfsys-cmykshadings-luatex.def %% - pgfsys-cmykshadings-dvipdfmx.def %% - pgfsys-cmykshadings-dvipdfm.def @@ -42,24 +42,25 @@ %% shadings. %% \ProvidesFile{pgfsys-cmykshadings-common-postscript.def}% - [2018/10/23 CMYK shadings support for PGF PostScript driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF PostScript driver (DCP)] \def\pgfsys@horishading#1#2#3{% {% \pgf@parsefunc{#3}% \pgfmathsetlength\pgf@x{#2}% - \pgf@xa=\pgf@x% + \pgf@xa=\pgf@x \pgf@sys@bp@correct{\pgf@x}% - \pgf@y=\pgf@max% + \pgf@y=\pgf@max \pgf@sys@bp@correct{\pgf@y}% \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to \the\pgf@max{% - \noexpand\vrule width0pt height\the\pgf@xa% - \noexpand\pgfsys@beginpurepicture% + \noexpand\vrule width0pt height\the\pgf@xa + \noexpand\pgfsys@beginpurepicture \noexpand\pgfsys@rect{0pt}{0pt}{\the\pgf@max}{\the\pgf@xa}% - \noexpand\pgfsys@clipnext% - \noexpand\pgfsys@discardpath% + \noexpand\pgfsys@clipnext + \noexpand\pgfsys@discardpath \noexpand\pgfsys@invoke{\pgf@domb\space \pgf@sys@tonumber{\pgf@x} pgfH\pgf@shading@model\space \pgf@psfuncs\space pop}% - \hss% + \hss \noexpand\pgfsys@endpurepicture}}% \expandafter\xdef\csname @pgfshading#1@model!\endcsname{% \pgf@shading@model}% @@ -69,19 +70,19 @@ {% \pgf@parsefunc{#3}% \pgfmathsetlength\pgf@x{#2}% - \pgf@xa=\pgf@x% + \pgf@xa=\pgf@x \pgf@sys@bp@correct{\pgf@x}% - \pgf@y=\pgf@max% + \pgf@y=\pgf@max \pgf@sys@bp@correct{\pgf@y}% \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to\the\pgf@xa{% - \noexpand\vrule width0pt height\the\pgf@max% - \noexpand\pgfsys@beginpurepicture% + \noexpand\vrule width0pt height\the\pgf@max + \noexpand\pgfsys@beginpurepicture \noexpand\pgfsys@rect{0pt}{0pt}{\the\pgf@xa}{\the\pgf@max}% - \noexpand\pgfsys@clipnext% - \noexpand\pgfsys@discardpath% + \noexpand\pgfsys@clipnext + \noexpand\pgfsys@discardpath \noexpand\pgfsys@invoke{\pgf@domb\space \pgf@sys@tonumber{\pgf@x} pgfV\pgf@shading@model\space \pgf@psfuncs\space pop}% - \hss% + \hss \noexpand\pgfsys@endpurepicture}}% \expandafter\xdef\csname @pgfshading#1@model!\endcsname{% \pgf@shading@model}% @@ -93,20 +94,20 @@ \pgf@process{#2}% \pgf@sys@bp@correct{\pgf@x}% \pgf@sys@bp@correct{\pgf@y}% - \pgf@xa=2\pgf@max% + \pgf@xa=2\pgf@max \pgf@sys@bp@correct{\pgf@max}% - \advance\pgf@x by \pgf@max% - \advance\pgf@y by \pgf@max% + \advance\pgf@x by \pgf@max + \advance\pgf@y by \pgf@max \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to \the\pgf@xa{% - \noexpand\vrule width0pt height\the\pgf@xa% - \noexpand\pgfsys@beginpurepicture% + \noexpand\vrule width0pt height\the\pgf@xa + \noexpand\pgfsys@beginpurepicture \noexpand\pgfsys@invoke{% \pgf@domb\space \pgf@sys@tonumber{\pgf@y} \pgf@sys@tonumber{\pgf@x} \pgf@sys@tonumber{\pgf@max} pgfR1\pgf@shading@model\space \pgf@psfuncs\space \pgf@firstcolor\space \pgf@doma\space pgfR2\pgf@shading@model}% - \hss% + \hss \noexpand\pgfsys@endpurepicture}}% \expandafter\xdef\csname @pgfshading#1@model!\endcsname{% \pgf@shading@model}% @@ -115,22 +116,22 @@ \def\pgfsys@functionalshading#1#2#3#4{% {% \pgf@process{#2}% - \pgf@xa=\pgf@x% - \pgf@ya=\pgf@y% + \pgf@xa=\pgf@x + \pgf@ya=\pgf@y \pgf@process{#3}% - \pgf@xb=\pgf@x% - \pgf@yb=\pgf@y% - \advance\pgf@x by-\pgf@xa% - \advance\pgf@y by-\pgf@ya% + \pgf@xb=\pgf@x + \pgf@yb=\pgf@y + \advance\pgf@x by-\pgf@xa + \advance\pgf@y by-\pgf@ya \pgf@sys@bp@correct{\pgf@xa}% \pgf@sys@bp@correct{\pgf@ya}% \pgf@sys@bp@correct{\pgf@xb}% \pgf@sys@bp@correct{\pgf@yb}% - \pgf@xc=-\pgf@xa% - \pgf@yc=-\pgf@ya% + \pgf@xc=-\pgf@xa + \pgf@yc=-\pgf@ya \expandafter\xdef\csname @pgfshading#1!\endcsname{% \hbox to\the\pgf@x{\vbox to\the\pgf@y{\vfil - \noexpand\pgfsys@beginpurepicture% + \noexpand\pgfsys@beginpurepicture \noexpand\pgfsys@invoke{% \pgf@sys@tonumber{\pgf@xc} \pgf@sys@tonumber{\pgf@yc} translate 1.1 setlinewidth [] 0 setdash 0 setlinecap @@ -157,11 +158,11 @@ \pgf@sys@postscript@header{/pgfVrgb { pgfV } bind def}% \pgf@sys@postscript@header{/pgfR1rgb { pgfR1 } bind def}% \pgf@sys@postscript@header{/pgfR2rgb { pgfR2 } bind def}% - \pgf@sys@postscript@header{/pgfHcmyk{% + \pgf@sys@postscript@header{/pgfHcmyk{ /pgfheight exch def 0.75 setlinewidth [] 0 setdash /pgfshade {pgfAcmyk} def /pgfdir { dup 0 moveto dup 6 index lineto } bind def} bind def}% - \pgf@sys@postscript@header{/pgfVcmyk{% + \pgf@sys@postscript@header{/pgfVcmyk{ /pgfheight exch def 0.75 setlinewidth [] 0 setdash /pgfshade {pgfAcmyk} def /pgfdir { dup 0 exch moveto dup 6 index exch lineto } bind def} bind def}% @@ -183,7 +184,7 @@ 5 -1 roll .5 sub % x += 0.5 } repeat mark 19 1 roll cleartomark exch pop % leave only start x on stack - }bind def } + }bind def }% \pgf@sys@postscript@header{/pgfR1cmyk{ newpath dup dup dup 0 360 arc clip newpath dup /pgfendx exch def @@ -196,7 +197,7 @@ /pgfdiffx pgfendx pgfstartx sub def /pgfdiffy pgfendy pgfstarty sub def dup /pgfdomb exch def - }bind def } + }bind def }% \pgf@sys@postscript@header{/pgfR2cmyk{ newpath 0.5 add pgfcircx pgfcircy 3 2 roll 0 360 arc setcmykcolor fill pop}bind def }% @@ -226,12 +227,12 @@ /pgfcircy pgfcircy pgfystep add def } repeat mark 18 1 roll cleartomark exch pop % leave only start x on stack - }bind def} - \pgf@sys@postscript@header{/pgfHgray{% + }bind def}% + \pgf@sys@postscript@header{/pgfHgray{ /pgfheight exch def 0.75 setlinewidth [] 0 setdash /pgfshade {pgfAgray} def /pgfdir { dup 0 moveto dup 3 index lineto } bind def} bind def}% - \pgf@sys@postscript@header{/pgfVgray{% + \pgf@sys@postscript@header{/pgfVgray{ /pgfheight exch def 0.75 setlinewidth [] 0 setdash /pgfshade {pgfAgray} def /pgfdir { dup 0 exch moveto dup 3 index exch lineto } bind def} bind def}% @@ -247,7 +248,7 @@ exch .5 sub % x += 0.5 } repeat mark 7 1 roll cleartomark exch pop % leave only start x on stack - }bind def } + }bind def }% \pgf@sys@postscript@header{/pgfR1gray{ newpath dup dup dup 0 360 arc clip newpath dup /pgfendx exch def @@ -260,7 +261,7 @@ /pgfdiffx pgfendx pgfstartx sub def /pgfdiffy pgfendy pgfstarty sub def dup /pgfdomb exch def - }bind def } + }bind def }% \pgf@sys@postscript@header{/pgfR2gray{ newpath 0.5 add pgfcircx pgfcircy 3 2 roll 0 360 arc setgray fill pop}bind def }% @@ -284,7 +285,7 @@ /pgfcircy pgfcircy pgfystep add def } repeat mark 6 1 roll cleartomark exch pop % leave only start x on stack - }bind def} + }bind def}% } %% %% diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def index 169e4a2bf7a..49768f0be21 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def @@ -25,7 +25,7 @@ %% pgf-cmykshadings.dtx, README.md, and the derived files %% - pgf-cmykshadings.sty %% - pgfsys-cmykshadings-pdftex.def -%% - pgfsys-cmykshadgins-xetex.def +%% - pgfsys-cmykshadings-xetex.def %% - pgfsys-cmykshadings-luatex.def %% - pgfsys-cmykshadings-dvipdfmx.def %% - pgfsys-cmykshadings-dvipdfm.def @@ -42,14 +42,15 @@ %% shadings. %% \ProvidesFile{pgfsys-cmykshadings-dvipdfm.def}% - [2018/10/18 CMYK shadings support for PGF dvipdfm driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF dvipdfm driver (DCP)] \def\pgfsys@horishading#1#2#3{% {% \pgf@parsefunc{#3}% \pgf@process{\pgfpoint{\pgf@max}{#2}}% \edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{% \special{pdf: beginxobj @pgfshade#1 width \the\pgf@max\space - height \the\pgf@y}}}\@temp% + height \the\pgf@y}}}\@temp \edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{% \special{pdf: put @resources << /Shading << /Sh << /ShadingType 2 @@ -73,7 +74,7 @@ \pgf@process{\pgfpoint{\pgf@max}{#2}}% \edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{% \special{pdf: beginxobj @pgfshade#1 width \the\pgf@y\space - height \the\pgf@max\space}}}\@temp% + height \the\pgf@max\space}}}\@temp \edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{% \special{pdf: put @resources << /Shading << /Sh << /ShadingType 2 @@ -95,16 +96,16 @@ {% \pgf@parsefunc{#3}% \pgf@process{#2}% - \pgf@xa=\pgf@x% - \pgf@ya=\pgf@y% + \pgf@xa=\pgf@x + \pgf@ya=\pgf@y \pgf@process{\pgfpoint{\pgf@max}{\pgf@max}}% - \advance\pgf@xa by \pgf@x\relax% - \advance\pgf@ya by \pgf@y\relax% + \advance\pgf@xa by \pgf@x\relax + \advance\pgf@ya by \pgf@y\relax \pgf@sys@bp@correct{\pgf@x}% \pgf@sys@bp@correct{\pgf@y}% \pgf@sys@bp@correct{\pgf@xa}% \pgf@sys@bp@correct{\pgf@ya}% - \pgfutil@tempdima=2\pgf@max\relax% + \pgfutil@tempdima=2\pgf@max\relax \edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{% \special{pdf: beginxobj @pgfshade#1 width \the\pgfutil@tempdima\space height \the\pgfutil@tempdima}}}\@temp% diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def index 2f6eb52168a..89cf7f18190 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def @@ -25,7 +25,7 @@ %% pgf-cmykshadings.dtx, README.md, and the derived files %% - pgf-cmykshadings.sty %% - pgfsys-cmykshadings-pdftex.def -%% - pgfsys-cmykshadgins-xetex.def +%% - pgfsys-cmykshadings-xetex.def %% - pgfsys-cmykshadings-luatex.def %% - pgfsys-cmykshadings-dvipdfmx.def %% - pgfsys-cmykshadings-dvipdfm.def @@ -42,7 +42,8 @@ %% shadings. %% \ProvidesFile{pgfsys-cmykshadings-dvipdfmx.def}% - [2018/10/17 CMYK shadings support for PGF dvipdfmx driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF dvipdfmx driver (DCP)] \def\pgfsys@horishading#1#2#3{% {% \pgf@parsefunc{#3}% @@ -95,22 +96,22 @@ \expandafter\xdef\csname @pgfshading#1@model!\endcsname{% \pgf@shading@model}% }% - \global\advance\pgfsys@objnum\@ne% + \global\advance\pgfsys@objnum\@ne } \def\pgfsys@radialshading#1#2#3{% {% \pgf@parsefunc{#3}% \pgf@process{#2}% - \pgf@xa=\pgf@x% - \pgf@ya=\pgf@y% + \pgf@xa=\pgf@x + \pgf@ya=\pgf@y \pgf@process{\pgfpoint{\pgf@max}{\pgf@max}}% - \advance\pgf@xa by \pgf@x% - \advance\pgf@ya by \pgf@y% + \advance\pgf@xa by \pgf@x + \advance\pgf@ya by \pgf@y \pgf@sys@bp@correct{\pgf@x}% \pgf@sys@bp@correct{\pgf@y}% \pgf@sys@bp@correct{\pgf@xa}% \pgf@sys@bp@correct{\pgf@ya}% - \pgfutil@tempdima=2\pgf@max% + \pgfutil@tempdima=2\pgf@max \edef\@tempa{\noexpand\pgfutil@insertatbegincurrentpagefrombox{% \special{pdf:bxobj @pgfshade\the\pgfsys@objnum\space width \the\pgfutil@tempdima\space height \the\pgfutil@tempdima}% @@ -135,24 +136,24 @@ \expandafter\xdef\csname @pgfshading#1@model!\endcsname{% \pgf@shading@model}% }% - \global\advance\pgfsys@objnum\@ne% + \global\advance\pgfsys@objnum\@ne } \def\pgfsys@functionalshading#1#2#3#4{% {% \pgf@process{#2}% - \pgf@xa=\pgf@x% - \pgf@ya=\pgf@y% + \pgf@xa=\pgf@x + \pgf@ya=\pgf@y \pgf@process{#3}% - \pgf@xb=\pgf@x% - \pgf@yb=\pgf@y% + \pgf@xb=\pgf@x + \pgf@yb=\pgf@y \advance\pgf@x by-\pgf@xa% \advance\pgf@y by-\pgf@ya% \pgf@sys@bp@correct{\pgf@xa}% \pgf@sys@bp@correct{\pgf@ya}% \pgf@sys@bp@correct{\pgf@xb}% \pgf@sys@bp@correct{\pgf@yb}% - \pgf@xc=-\pgf@xa% - \pgf@yc=-\pgf@ya% + \pgf@xc=-\pgf@xa + \pgf@yc=-\pgf@ya % Now build the function \edef\@tempa{\noexpand\pgfutil@insertatbegincurrentpagefrombox{% \special{pdf:stream @pgfstream\the\pgfsys@objnum\space({#4}) @@ -181,7 +182,7 @@ \expandafter\xdef\csname @pgfshading#1@model!\endcsname{% \pgf@shading@model}% }% - \global\advance\pgfsys@objnum\@ne% + \global\advance\pgfsys@objnum\@ne } %% %% diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvips.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvips.def index 9ff3b1d0400..b4756167c3a 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvips.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvips.def @@ -25,7 +25,7 @@ %% pgf-cmykshadings.dtx, README.md, and the derived files %% - pgf-cmykshadings.sty %% - pgfsys-cmykshadings-pdftex.def -%% - pgfsys-cmykshadgins-xetex.def +%% - pgfsys-cmykshadings-xetex.def %% - pgfsys-cmykshadings-luatex.def %% - pgfsys-cmykshadings-dvipdfmx.def %% - pgfsys-cmykshadings-dvipdfm.def @@ -42,7 +42,8 @@ %% shadings. %% \ProvidesFile{pgfsys-cmykshadings-dvips.def}% - [2018/10/23 CMYK shadings support for PGF dvips driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF dvips driver (DCP)] \input pgfsys-cmykshadings-common-postscript.def %% %% diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def index 6bd43f51d49..91da115559b 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def @@ -25,7 +25,7 @@ %% pgf-cmykshadings.dtx, README.md, and the derived files %% - pgf-cmykshadings.sty %% - pgfsys-cmykshadings-pdftex.def -%% - pgfsys-cmykshadgins-xetex.def +%% - pgfsys-cmykshadings-xetex.def %% - pgfsys-cmykshadings-luatex.def %% - pgfsys-cmykshadings-dvipdfmx.def %% - pgfsys-cmykshadings-dvipdfm.def @@ -42,7 +42,8 @@ %% shadings. %% \ProvidesFile{pgfsys-cmykshadings-luatex.def}% - [2018/10/17 CMYK shadings support for PGF luatex driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF luatex driver (DCP)] \def\pgfsys@horishading#1#2#3{% {% \pgf@parsefunc{#3}% @@ -89,11 +90,11 @@ \setbox\pgfutil@tempboxa=\hbox to2\pgf@max{% \vbox to2\pgf@max{\vfil\pgfsys@invoke{/Sh sh}}\hfil}% \pgf@process{#2}% - \pgf@xa=\pgf@x% - \pgf@ya=\pgf@y% + \pgf@xa=\pgf@x + \pgf@ya=\pgf@y \pgf@process{\pgfpoint{\pgf@max}{\pgf@max}}% - \advance\pgf@xa by \pgf@x% - \advance\pgf@ya by \pgf@y% + \advance\pgf@xa by \pgf@x + \advance\pgf@ya by \pgf@y \pgf@sys@bp@correct{\pgf@x}% \pgf@sys@bp@correct{\pgf@y}% \pgf@sys@bp@correct{\pgf@xa}% @@ -119,21 +120,21 @@ \def\pgfsys@functionalshading#1#2#3#4{% {% \pgf@process{#2}% - \pgf@xa=\pgf@x% - \pgf@ya=\pgf@y% + \pgf@xa=\pgf@x + \pgf@ya=\pgf@y \pgf@process{#3}% - \pgf@xb=\pgf@x% - \pgf@yb=\pgf@y% - \advance\pgf@x by-\pgf@xa% - \advance\pgf@y by-\pgf@ya% + \pgf@xb=\pgf@x + \pgf@yb=\pgf@y + \advance\pgf@x by-\pgf@xa + \advance\pgf@y by-\pgf@ya \setbox\pgfutil@tempboxa=\hbox to\pgf@x{% \vbox to\pgf@y{\vfil\pgfsys@invoke{/Sh sh}}\hfil}% \pgf@sys@bp@correct{\pgf@xa}% \pgf@sys@bp@correct{\pgf@ya}% \pgf@sys@bp@correct{\pgf@xb}% \pgf@sys@bp@correct{\pgf@yb}% - \pgf@xc=-\pgf@xa% - \pgf@yc=-\pgf@ya% + \pgf@xc=-\pgf@xa + \pgf@yc=-\pgf@ya % Now build the function \pdfextension obj stream diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def index 67cc7aae51e..6073ffea8e2 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def @@ -25,7 +25,7 @@ %% pgf-cmykshadings.dtx, README.md, and the derived files %% - pgf-cmykshadings.sty %% - pgfsys-cmykshadings-pdftex.def -%% - pgfsys-cmykshadgins-xetex.def +%% - pgfsys-cmykshadings-xetex.def %% - pgfsys-cmykshadings-luatex.def %% - pgfsys-cmykshadings-dvipdfmx.def %% - pgfsys-cmykshadings-dvipdfm.def @@ -42,7 +42,8 @@ %% shadings. %% \ProvidesFile{pgfsys-cmykshadings-pdftex.def}% - [2018/10/17 CMYK shadings support for PGF pdftex driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF pdftex driver (DCP)] \def\pgfsys@horishading#1#2#3{% {% \pgf@parsefunc{#3}% @@ -89,11 +90,11 @@ \setbox\pgfutil@tempboxa=\hbox to2\pgf@max{% \vbox to2\pgf@max{\vfil\pgfsys@invoke{/Sh sh}}\hfil}% \pgf@process{#2}% - \pgf@xa=\pgf@x% - \pgf@ya=\pgf@y% + \pgf@xa=\pgf@x + \pgf@ya=\pgf@y \pgf@process{\pgfpoint{\pgf@max}{\pgf@max}}% - \advance\pgf@xa by \pgf@x% - \advance\pgf@ya by \pgf@y% + \advance\pgf@xa by \pgf@x + \advance\pgf@ya by \pgf@y \pgf@sys@bp@correct{\pgf@x}% \pgf@sys@bp@correct{\pgf@y}% \pgf@sys@bp@correct{\pgf@xa}% @@ -119,21 +120,21 @@ \def\pgfsys@functionalshading#1#2#3#4{% {% \pgf@process{#2}% - \pgf@xa=\pgf@x% - \pgf@ya=\pgf@y% + \pgf@xa=\pgf@x + \pgf@ya=\pgf@y \pgf@process{#3}% - \pgf@xb=\pgf@x% - \pgf@yb=\pgf@y% - \advance\pgf@x by-\pgf@xa% - \advance\pgf@y by-\pgf@ya% + \pgf@xb=\pgf@x + \pgf@yb=\pgf@y + \advance\pgf@x by-\pgf@xa + \advance\pgf@y by-\pgf@ya \setbox\pgfutil@tempboxa=\hbox to\pgf@x{% \vbox to\pgf@y{\vfil\pgfsys@invoke{/Sh sh}}\hfil}% \pgf@sys@bp@correct{\pgf@xa}% \pgf@sys@bp@correct{\pgf@ya}% \pgf@sys@bp@correct{\pgf@xb}% \pgf@sys@bp@correct{\pgf@yb}% - \pgf@xc=-\pgf@xa% - \pgf@yc=-\pgf@ya% + \pgf@xc=-\pgf@xa + \pgf@yc=-\pgf@ya % Now build the function \pdfobj stream diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-textures.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-textures.def index ca9264cbb5e..c58ceb607fe 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-textures.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-textures.def @@ -25,7 +25,7 @@ %% pgf-cmykshadings.dtx, README.md, and the derived files %% - pgf-cmykshadings.sty %% - pgfsys-cmykshadings-pdftex.def -%% - pgfsys-cmykshadgins-xetex.def +%% - pgfsys-cmykshadings-xetex.def %% - pgfsys-cmykshadings-luatex.def %% - pgfsys-cmykshadings-dvipdfmx.def %% - pgfsys-cmykshadings-dvipdfm.def @@ -42,7 +42,8 @@ %% shadings. %% \ProvidesFile{pgfsys-cmykshadings-textures.def}% - [2018/10/23 CMYK shadings support for PGF textures driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF textures driver (DCP)] \input pgfsys-cmykshadings-common-postscript.def %% %% diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-vtex.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-vtex.def index 26c49a86871..fe39c7eaa26 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-vtex.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-vtex.def @@ -25,7 +25,7 @@ %% pgf-cmykshadings.dtx, README.md, and the derived files %% - pgf-cmykshadings.sty %% - pgfsys-cmykshadings-pdftex.def -%% - pgfsys-cmykshadgins-xetex.def +%% - pgfsys-cmykshadings-xetex.def %% - pgfsys-cmykshadings-luatex.def %% - pgfsys-cmykshadings-dvipdfmx.def %% - pgfsys-cmykshadings-dvipdfm.def @@ -42,7 +42,8 @@ %% shadings. %% \ProvidesFile{pgfsys-cmykshadings-vtex.def}% - [2018/10/23 CMYK shadings support for PGF vtex driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF vtex driver (DCP)] \input pgfsys-cmykshadings-common-postscript.def %% %% diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-xetex.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-xetex.def index 6de577ee47c..0f9d33c271b 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-xetex.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-xetex.def @@ -25,7 +25,7 @@ %% pgf-cmykshadings.dtx, README.md, and the derived files %% - pgf-cmykshadings.sty %% - pgfsys-cmykshadings-pdftex.def -%% - pgfsys-cmykshadgins-xetex.def +%% - pgfsys-cmykshadings-xetex.def %% - pgfsys-cmykshadings-luatex.def %% - pgfsys-cmykshadings-dvipdfmx.def %% - pgfsys-cmykshadings-dvipdfm.def @@ -42,7 +42,8 @@ %% shadings. %% \ProvidesFile{pgfsys-cmykshadings-xetex.def}% - [2018/10/17 CMYK shadings support for PGF xetex driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF xetex driver (DCP)] \input pgfsys-cmykshadings-dvipdfmx.def %% %% |