texlive[48976] Master/texmf-dist: pgf-cmykshadings (23oct18)
commits+karl at tug.org
commits+karl at tug.org
Tue Oct 23 22:44:08 CEST 2018
Revision: 48976
http://tug.org/svn/texlive?view=revision&revision=48976
Author: karl
Date: 2018-10-23 22:44:07 +0200 (Tue, 23 Oct 2018)
Log Message:
-----------
pgf-cmykshadings (23oct18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/pgf-cmykshadings/README.md
trunk/Master/texmf-dist/doc/latex/pgf-cmykshadings/pgf-cmykshadings.pdf
trunk/Master/texmf-dist/source/latex/pgf-cmykshadings/pgf-cmykshadings.dtx
trunk/Master/texmf-dist/source/latex/pgf-cmykshadings/pgf-cmykshadings.ins
trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgf-cmykshadings.sty
trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def
trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def
trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def
trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-xetex.def
Added Paths:
-----------
trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-common-postscript.def
trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def
trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvips.def
trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-textures.def
trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-vtex.def
Modified: trunk/Master/texmf-dist/doc/latex/pgf-cmykshadings/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pgf-cmykshadings/README.md 2018-10-23 01:15:00 UTC (rev 48975)
+++ trunk/Master/texmf-dist/doc/latex/pgf-cmykshadings/README.md 2018-10-23 20:44:07 UTC (rev 48976)
@@ -1,11 +1,10 @@
# pgf-cmykshadings — Support for CMYK and grayscale shadings in PGF/TikZ
The `pgf-cmykshadings` package provides support for CMYK and grayscale shadings
-for the `pgf` package. By default `pgf` only supports RGB shadings. Horizontal,
-vertical, radial, and functional shadings are supported for pdfLaTeX, LuaLaTeX,
-and XeLaTeX. `pgf-cmykshadings` attempts to produce shadings consistent with
-the currently selected `xcolor` colour model. The `rgb`, `cmyk`, and `gray`
-colour models from the `xcolor` package are supported.
+for the `pgf` package. By default `pgf` only supports RGB shadings.
+`pgf-cmykshadings` attempts to produce shadings consistent with the currently
+selected `xcolor` colour model. The `rgb`, `cmyk`, and `gray` colour models
+from the `xcolor` package are supported.
## Installation from TeXLive or MiKTeX
@@ -27,9 +26,8 @@
tex pgf-cmykshadings.ins
```
-to generate `pgf-cmykshadigns.sty`, `pgfsys-cmykshadings-pdftex.def`,
-`pgfsys-cmykshadings-xetex.def`, `pgfsys-cmykshadings-luatex.def`, and
-`pgfsys-cmykshadings-dvipdfmx.def`.
+to generate the style file (`pgf-cmykshadigns.sty`) and driver files
+(`pgfsys-cmykshadings-*.def`).
Copy these generated files to `$TEXMFHOME/tex/latex/pgf-cmykshadings/` and
`pgf-cmykshadings.pdf` to `$TEXMFHOME/doc/latex/pgf-cmykshadings/`.
@@ -50,28 +48,13 @@
git clone https://github.com/dcpurton/pgf-cmykshadings.git
```
-Change to the `pgf-cmykshadings` directory, and then the package can be
-installed by running:
+Change to the `pgf-cmykshadings` directory, and then the package and
+documentation can be installed by running:
```
-l3build install
+l3build install --full
```
-Documentation (`pgf-cmykshadings.pdf`) can be compiled by running:
-
-```
-l3build doc
-```
-
-To install the documentation, copy `pgf-cmykshadings.pdf` to
-`$TEXMFHOME/doc/latex/pgf-cmykshadings/`.
-
-You can find `$TEXMFHOME` by running:
-
-```
-kpsewhich -var-value=TEXMFHOME
-```
-
## Licence
```
@@ -95,13 +78,17 @@
- pgfsys-cmykshadgins-xetex.def
- pgfsys-cmykshadings-luatex.def
- pgfsys-cmykshadings-dvipdfmx.def
+ - pgfsys-cmykshadings-dvipdfm.def
+ - pgfsys-cmykshadings-dvips.def
+ - pgfsys-cmykshadings-textures.def
+ - pgfsys-cmykshadings-vtex.def
+ - pgfsys-cmykshadings-common-postscript.def
- pgf-cmykshadings.pdf
-Substantial parts of the code for this package are taken from the pgf
-package files pgfcoreshade.code.tex, pgfsys-pdftex.def,
-pgfsys-luatex.def, and pgfsys-dvipdfmx.def copyright (c) 2006 Till
-Tantau and then slightly modified to support CMYK and grayscale
+Substantial parts of the code for this package are taken from the pgf package
+file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+(c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
shadings.
```
Modified: trunk/Master/texmf-dist/doc/latex/pgf-cmykshadings/pgf-cmykshadings.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/pgf-cmykshadings/pgf-cmykshadings.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pgf-cmykshadings/pgf-cmykshadings.dtx 2018-10-23 01:15:00 UTC (rev 48975)
+++ trunk/Master/texmf-dist/source/latex/pgf-cmykshadings/pgf-cmykshadings.dtx 2018-10-23 20:44:07 UTC (rev 48976)
@@ -13,7 +13,6 @@
%<*driver>
\documentclass[a4paper]{l3doc}
\usepackage{microtype}
-\usepackage{metalogo}
\usepackage{pgf-cmykshadings}
\usepackage{tikz}
\usepackage{listings}
@@ -28,7 +27,7 @@
%
% \title{The \pkg{pgf-cmykshadings} package}
% \author{David Purton\thanks{Email: \url{dcpurton at marshwiggle.net}}}
-% \date{2018/10/17 v1.0}
+% \date{2018/10/23 v1.1}
%
% \maketitle
%
@@ -35,11 +34,9 @@
% \begin{abstract}
% The \pkg{pgf-cmykshadings} package provides support for CMYK and grayscale
% shadings for the \pkg{pgf} package. By default \pkg{pgf} only supports RGB
-% shadings. Horizontal, vertical, radial, and functional shadings are
-% supported for pdf\LaTeX, \LuaLaTeX, and \XeLaTeX. \pkg{pgf-cmykshadings}
-% attempts to produce shadings consistent with the currently selected
-% \pkg{xcolor} colour model. The |rgb|, |cmyk|, and |gray| colour models
-% from the \pkg{xcolor} package are supported.
+% shadings. \pkg{pgf-cmykshadings} attempts to produce shadings consistent
+% with the currently selected \pkg{xcolor} colour model. The |rgb|, |cmyk|,
+% and |gray| colour models from the \pkg{xcolor} package are supported.
% \end{abstract}
%
% \tableofcontents
@@ -105,10 +102,9 @@
% \section{Acknowledgements}
%
% Substantial parts of the code for the \pkg{pgf-cmykshadings} package are
-% taken from the \pkg{pgf} package files |pgfcoreshade.code.tex|,
-% |pgfsys-pdftex.def|, |pgfsys-dvipdfmx.def|, and |pgfsys-luatex.def| copyright
-% © 2006 Till Tantau and then slightly modified to support CMYK and grayscale
-% shadings.
+% taken from the \pkg{pgf} package file |pgfcoreshade.code.tex| along with the
+% driver files |pgfsys-*.def| copyright © 2006 Till Tantau and then slightly
+% modified to support CMYK and grayscale shadings.
%
% \section{Bug Reports and Feature Requests}
%
@@ -565,7 +561,7 @@
%
% \begin{macrocode}
\ProvidesPackage{pgf-cmykshadings}%
- [2018/10/17 CMYK shadings support for PGF (DCP)]
+ [2018/10/23 CMYK shadings support for PGF (DCP)]
% \end{macrocode}
%
% \begin{macrocode}
@@ -955,8 +951,8 @@
\expandafter\expandafter\expandafter\@@args%
\expandafter\expandafter\expandafter{%
\csname pgf at args\pgf at shadingname\endcsname}%
- \expandafter\expandafter\expandafter\@temp\expandafter\@args\@@args%
- %
+ \expandafter\expandafter\expandafter\@temp
+ \expandafter\@args\@@args%
}%
}%
{}%
@@ -988,11 +984,13 @@
\XC at sdef\pgf at mod@test{\XC at tgt@mod{natural}}%
\def\pgf at shading@functional at range{0 1 0 1 0 1}%
\def\pgf at shading@device{/DeviceRGB}%
+ \def\pgf at shading@ps at device{setrgbcolor}%
\def\pgf at shading@model{rgb}%
\ifx\pgf at mod@test\XC at mod@natural
\ifpgfcmykshadingdefault
\def\pgf at shading@functional at range{0 1 0 1 0 1 0 1}%
\def\pgf at shading@device{/DeviceCMYK}%
+ \def\pgf at shading@ps at device{setcmykcolor}%
\def\pgf at shading@model{cmyk}%
\pgfshadingmodelrgbfalse
\pgfshadingmodelcmyktrue
@@ -999,6 +997,7 @@
\else
\def\pgf at shading@functional at range{0 1 0 1 0 1}%
\def\pgf at shading@device{/DeviceRGB}%
+ \def\pgf at shading@ps at device{setrgbcolor}%
\def\pgf at shading@model{rgb}%
\fi
\fi
@@ -1005,6 +1004,7 @@
\ifx\pgf at mod@test\XC at mod@cmyk
\def\pgf at shading@functional at range{0 1 0 1 0 1 0 1}%
\def\pgf at shading@device{/DeviceCMYK}%
+ \def\pgf at shading@ps at device{setcmykcolor}%
\def\pgf at shading@model{cmyk}%
\pgfshadingmodelrgbfalse
\pgfshadingmodelcmyktrue
@@ -1012,10 +1012,25 @@
\ifx\pgf at mod@test\XC at mod@gray
\def\pgf at shading@functional at range{0 1}%
\def\pgf at shading@device{/DeviceGray}%
+ \def\pgf at shading@ps at device{setgray}%
\def\pgf at shading@model{gray}%
\pgfshadingmodelrgbfalse
\pgfshadingmodelgraytrue
\fi
+% \end{macrocode}
+% \changes{v1.1}{2018/10/19}{Support dvisvgm driver}
+% \begin{macrocode}
+ \edef\pgf at sys@driver at dvisvgm{pgfsys-dvisvgm.def}%
+ \ifx\pgfsysdriver\pgf at sys@driver at dvisvgm
+ \def\pgf at shading@model{rgb}%
+ \fi
+% \end{macrocode}
+% \changes{v1.1}{2018/10/19}{Support tex4ht driver}
+% \begin{macrocode}
+ \edef\pgf at sys@driver at texforht{pgfsys-tex4ht.def}%
+ \ifx\pgfsysdriver\pgf at sys@driver at texforht
+ \def\pgf at shading@model{rgb}%
+ \fi
}
% \end{macrocode}
%
@@ -1090,7 +1105,7 @@
\edef\pgfsyscmykshadingsdriver{pgfsys-cmykshadings-#1}%
}
\pgfutilgetcmykshadingsdriver
-\input\pgfsyscmykshadingsdriver
+\pgfutil at InputIfFileExists{\pgfsyscmykshadingsdriver}{}{}
% \end{macrocode}
%
% \noindent Style options to use CMYK shadings by default or not when the
@@ -1101,8 +1116,11 @@
\DeclareOption{cmyk}{%
\pgfcmykshadingdefaulttrue
}
+% \end{macrocode}
+% \changes{v1.1}{2018/10/18}{Fix typo for {\ttfamily rgb} option}
+% \begin{macrocode}
\DeclareOption{rgb}{%
- \pgfcmykshadin at defaultfalse
+ \pgfcmykshadingdefaultfalse
}
\ExecuteOptions{cmyk}
\ProcessOptions\relax
@@ -1114,7 +1132,7 @@
%
% \subsection{Drivers}
%
-% \subsubsection{pdftex driver}
+% \subsubsection*{pdftex driver}
%
% \begin{macrocode}
%<*pdftex-driver>
@@ -1257,7 +1275,7 @@
%</pdftex-driver>
% \end{macrocode}
%
-% \subsubsection{xetex driver}
+% \subsubsection*{xetex driver}
%
% \begin{macrocode}
%<*xetex-driver>
@@ -1276,7 +1294,7 @@
%</xetex-driver>
% \end{macrocode}
%
-% \subsubsection{luatex driver}
+% \subsubsection*{luatex driver}
%
% \begin{macrocode}
%<*luatex-driver>
@@ -1419,7 +1437,7 @@
%</luatex-driver>
% \end{macrocode}
%
-% \subsubsection{dvipdfmx driver}
+% \subsubsection*{dvipdfmx driver}
%
% \begin{macrocode}
%<*dvipdfmx-driver>
@@ -1577,6 +1595,452 @@
%</dvipdfmx-driver>
% \end{macrocode}
%
+% \subsubsection*{dvipdfm driver}
+%
+% \changes{v1.1}{2018/10/18}{Support dvipdfm driver}
+%
+% \begin{macrocode}
+%<*dvipdfm-driver>
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ProvidesFile{pgfsys-cmykshadings-dvipdfm.def}%
+ [2018/10/18 CMYK shadings support for PGF dvipdfm driver (DCP)]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\pgfsys at horishading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgf at process{\pgfpoint{\pgf at max}{#2}}%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: beginxobj @pgfshade#1 width \the\pgf at max\space
+ height \the\pgf at y}}}\@temp%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: put @resources <<
+ /Shading << /Sh << /ShadingType 2
+ /ColorSpace \pgf at shading@device\space
+ /Domain [\pgf at pdfparseddomain]
+ /Coords [\pgf at doma\space0 \pgf at domb\space0]
+ /Function \pgf at pdfparsedfunction
+ /Extend [false false] >> >> >>}}}\@temp% <<
+ \pgfutil at insertatbegincurrentpage{\special{pdf: content /Sh sh}%
+ \special{pdf: endxobj}}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+ \hbox to\the\pgf at max{\vbox to#2{%
+ \vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+\def\pgfsys at vertshading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgf at process{\pgfpoint{\pgf at max}{#2}}%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: beginxobj @pgfshade#1 width \the\pgf at y\space
+ height \the\pgf at max\space}}}\@temp%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: put @resources <<
+ /Shading << /Sh << /ShadingType 2
+ /ColorSpace \pgf at shading@device\space
+ /Domain [\pgf at pdfparseddomain]
+ /Coords [0 \pgf at doma\space0 \pgf at domb]
+ /Function \pgf at pdfparsedfunction
+ /Extend [false false] >> >> >>}}}\@temp% <<
+ \pgfutil at insertatbegincurrentpage{\special{pdf: content /Sh sh}%
+ \special{pdf: endxobj}}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+ \hbox to#2{\vbox to\the\pgf at max{\vfil\special{%
+ pdf: usexobj @pgfshade#1}}\hfil}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+\def\pgfsys at radialshading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgf at process{#2}%
+ \pgf at xa=\pgf at x%
+ \pgf at ya=\pgf at y%
+ \pgf at process{\pgfpoint{\pgf at max}{\pgf at max}}%
+ \advance\pgf at xa by \pgf at x\relax%
+ \advance\pgf at ya by \pgf at y\relax%
+ \pgf at sys@bp at correct{\pgf at x}%
+ \pgf at sys@bp at correct{\pgf at y}%
+ \pgf at sys@bp at correct{\pgf at xa}%
+ \pgf at sys@bp at correct{\pgf at ya}%
+ \pgfutil at tempdima=2\pgf at max\relax%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: beginxobj @pgfshade#1 width
+ \the\pgfutil at tempdima\space height \the\pgfutil at tempdima}}}\@temp%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: put @resources <<
+ /Shading << /Sh << /ShadingType 3
+ /ColorSpace \pgf at shading@device\space
+ /Domain [\pgf at pdfparseddomain]
+ /Coords [\pgf at sys@tonumber{\pgf at xa} \pgf at sys@tonumber{\pgf at ya}
+ \pgf at doma\space \pgf at sys@tonumber{\pgf at x} \pgf at sys@tonumber{\pgf at y}
+ \pgf at domb]
+ /Function \pgf at pdfparsedfunction
+ /Extend [true false] >> >> >>}}}\@temp% <<
+ \pgfutil at insertatbegincurrentpage{\special{pdf: content /Sh sh}%
+ \special{pdf: endxobj}}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+ \hbox to\the\pgfutil at tempdima{\vbox to\the\pgfutil at tempdima{%
+ \vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}%
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</dvipdfm-driver>
+% \end{macrocode}
+%
+% \changes{v1.1}{2018/10/23}{Support PostScript® drivers}
+%
+% \subsubsection*{dvips driver}
+%
+% \begin{macrocode}
+%<*dvips-driver>
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ProvidesFile{pgfsys-cmykshadings-dvips.def}%
+ [2018/10/23 CMYK shadings support for PGF dvips driver (DCP)]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\input pgfsys-cmykshadings-common-postscript.def
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</dvips-driver>
+% \end{macrocode}
+%
+% \subsubsection*{textures driver}
+%
+% \begin{macrocode}
+%<*textures-driver>
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ProvidesFile{pgfsys-cmykshadings-textures.def}%
+ [2018/10/23 CMYK shadings support for PGF textures driver (DCP)]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\input pgfsys-cmykshadings-common-postscript.def
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</textures-driver>
+% \end{macrocode}
+%
+% \subsubsection*{vtex driver}
+%
+% \begin{macrocode}
+%<*vtex-driver>
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ProvidesFile{pgfsys-cmykshadings-vtex.def}%
+ [2018/10/23 CMYK shadings support for PGF vtex driver (DCP)]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\input pgfsys-cmykshadings-common-postscript.def
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</vtex-driver>
+% \end{macrocode}
+%
+% \subsubsection*{PostScript® driver common code}
+%
+% \begin{macrocode}
+%<*common-ps-driver>
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ProvidesFile{pgfsys-cmykshadings-common-postscript.def}%
+ [2018/10/23 CMYK shadings support for PGF PostScript driver (DCP)]
+% \end{macrocode}
+%
+% \TeX\space shading macros.
+%
+% \begin{macrocode}
+\def\pgfsys at horishading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgfmathsetlength\pgf at x{#2}%
+ \pgf at xa=\pgf at x%
+ \pgf at sys@bp at correct{\pgf at x}%
+ \pgf at y=\pgf at max%
+ \pgf at sys@bp at correct{\pgf at y}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to \the\pgf at max{%
+ \noexpand\vrule width0pt height\the\pgf at xa%
+ \noexpand\pgfsys at beginpurepicture%
+ \noexpand\pgfsys at rect{0pt}{0pt}{\the\pgf at max}{\the\pgf at xa}%
+ \noexpand\pgfsys at clipnext%
+ \noexpand\pgfsys at discardpath%
+ \noexpand\pgfsys at invoke{\pgf at domb\space \pgf at sys@tonumber{\pgf at x}
+ pgfH\pgf at shading@model\space \pgf at psfuncs\space pop}%
+ \hss%
+ \noexpand\pgfsys at endpurepicture}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+\def\pgfsys at vertshading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgfmathsetlength\pgf at x{#2}%
+ \pgf at xa=\pgf at x%
+ \pgf at sys@bp at correct{\pgf at x}%
+ \pgf at y=\pgf at max%
+ \pgf at sys@bp at correct{\pgf at y}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to\the\pgf at xa{%
+ \noexpand\vrule width0pt height\the\pgf at max%
+ \noexpand\pgfsys at beginpurepicture%
+ \noexpand\pgfsys at rect{0pt}{0pt}{\the\pgf at xa}{\the\pgf at max}%
+ \noexpand\pgfsys at clipnext%
+ \noexpand\pgfsys at discardpath%
+ \noexpand\pgfsys at invoke{\pgf at domb\space \pgf at sys@tonumber{\pgf at x}
+ pgfV\pgf at shading@model\space \pgf at psfuncs\space pop}%
+ \hss%
+ \noexpand\pgfsys at endpurepicture}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+\def\pgfsys at radialshading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgf at process{#2}%
+ \pgf at sys@bp at correct{\pgf at x}%
+ \pgf at sys@bp at correct{\pgf at y}%
+ \pgf at xa=2\pgf at max%
+ \pgf at sys@bp at correct{\pgf at max}%
+ \advance\pgf at x by \pgf at max%
+ \advance\pgf at y by \pgf at max%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to \the\pgf at xa{%
+ \noexpand\vrule width0pt height\the\pgf at xa%
+ \noexpand\pgfsys at beginpurepicture%
+ \noexpand\pgfsys at invoke{%
+ \pgf at domb\space \pgf at sys@tonumber{\pgf at y}
+ \pgf at sys@tonumber{\pgf at x}
+ \pgf at sys@tonumber{\pgf at max} pgfR1\pgf at shading@model\space
+ \pgf at psfuncs\space \pgf at firstcolor\space \pgf at doma\space
+ pgfR2\pgf at shading@model}%
+ \hss%
+ \noexpand\pgfsys at endpurepicture}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+\def\pgfsys at functionalshading#1#2#3#4{%
+ {%
+ \pgf at process{#2}%
+ \pgf at xa=\pgf at x%
+ \pgf at ya=\pgf at y%
+ \pgf at process{#3}%
+ \pgf at xb=\pgf at x%
+ \pgf at yb=\pgf at y%
+ \advance\pgf at x by-\pgf at xa%
+ \advance\pgf at y by-\pgf at ya%
+ \pgf at sys@bp at correct{\pgf at xa}%
+ \pgf at sys@bp at correct{\pgf at ya}%
+ \pgf at sys@bp at correct{\pgf at xb}%
+ \pgf at sys@bp at correct{\pgf at yb}%
+ \pgf at xc=-\pgf at xa%
+ \pgf at yc=-\pgf at ya%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+ \hbox to\the\pgf at x{\vbox to\the\pgf at y{\vfil
+ \noexpand\pgfsys at beginpurepicture%
+ \noexpand\pgfsys at invoke{%
+ \pgf at sys@tonumber{\pgf at xc} \pgf at sys@tonumber{\pgf at yc} translate
+ 1.1 setlinewidth [] 0 setdash 0 setlinecap
+ /pgfproc {#4} bind def
+ \pgf at sys@tonumber{\pgf at ya} 1 \pgf at sys@tonumber{\pgf at yb}
+ {
+ \pgf at sys@tonumber{\pgf at xa} 1 \pgf at sys@tonumber{\pgf at xb}
+ { 1 index 2 copy pgfproc \pgf at shading@ps at device\space
+ moveto 1.1 0 rlineto stroke }
+ for
+ pop
+ }
+ for
+ }%
+ \noexpand\pgfsys at endpurepicture
+ }\hfil}%
+ }%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+% \end{macrocode}
+%
+% PostScript® support code.
+%
+% \begin{macrocode}
+\g at addto@macro\pgfsys at atbegindocument{%
+% \end{macrocode}
+%
+% Define RGB PostScript® shading functions.
+%
+% \begin{macrocode}
+ \pgf at sys@postscript at header{/pgfHrgb { pgfH } bind def}%
+ \pgf at sys@postscript at header{/pgfVrgb { pgfV } bind def}%
+ \pgf at sys@postscript at header{/pgfR1rgb { pgfR1 } bind def}%
+ \pgf at sys@postscript at header{/pgfR2rgb { pgfR2 } bind def}%
+% \end{macrocode}
+%
+% Define CMYK PostScript® shding functions.
+%
+% \begin{macrocode}
+ \pgf at sys@postscript at 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 at sys@postscript at 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}%
+ \pgf at sys@postscript at header{/pgfAcmyk{
+ /pgfdiff 10 index round cvi 10 index round cvi sub 2 mul 1 add def
+ 3 index 8 index sub pgfdiff div % put cyan-step on stack
+ 3 index 8 index sub pgfdiff div % put magenta-step on stack
+ 3 index 8 index sub pgfdiff div % put yellow-step on stack
+ 3 index 8 index sub pgfdiff div % put black-step on stack
+ pgfheight 12 index 12 index 12 index 12 index 18 index
+ pgfdiff {
+ 4 index 4 index 4 index 4 index setcmykcolor % Set color
+ pgfdir
+ stroke
+ 5 -1 roll 9 index add % cyan += inccyan
+ 5 -1 roll 8 index add % magenta += incmagenta
+ 5 -1 roll 7 index add % yellow += incyellow
+ 5 -1 roll 6 index add % black += incblack
+ 5 -1 roll .5 sub % x += 0.5
+ } repeat
+ mark 19 1 roll cleartomark exch pop % leave only start x on stack
+ }bind def }
+ \pgf at sys@postscript at header{/pgfR1cmyk{
+ newpath dup dup dup 0 360 arc clip newpath
+ dup /pgfendx exch def
+ /pgfendy exch def
+ 0.875 setlinewidth
+ [] 0 setdash
+ /pgfshade {pgfRcmyk} def
+ /pgfstartx exch def
+ /pgfstarty exch def
+ /pgfdiffx pgfendx pgfstartx sub def
+ /pgfdiffy pgfendy pgfstarty sub def
+ dup /pgfdomb exch def
+ }bind def }
+ \pgf at sys@postscript at header{/pgfR2cmyk{
+ newpath 0.5 add pgfcircx pgfcircy 3 2 roll 0 360 arc
+ setcmykcolor fill pop}bind def }%
+ \pgf at sys@postscript at header{/pgfRcmyk{
+ /pgfdiff 10 index round cvi 10 index round cvi sub 4 mul 1 add def
+ /pgfcircx pgfstartx 11 index pgfdiffx pgfdomb div mul add def
+ /pgfcircy pgfstarty 11 index pgfdiffy pgfdomb div mul add def
+ /pgfcircxe pgfstartx 10 index pgfdiffx pgfdomb div mul add def
+ /pgfcircye pgfstarty 10 index pgfdiffy pgfdomb div mul add def
+ /pgfxstep pgfcircxe pgfcircx sub pgfdiff div def
+ /pgfystep pgfcircye pgfcircy sub pgfdiff div def
+ 3 index 8 index sub pgfdiff div % put cyan-step on stack
+ 3 index 8 index sub pgfdiff div % put magenta-step on stack
+ 3 index 8 index sub pgfdiff div % put yellow-step on stack
+ 3 index 8 index sub pgfdiff div % put black-step on stack
+ 11 index 11 index 11 index 11 index 17 index
+ pgfdiff {
+ 4 index 4 index 4 index 4 index setcmykcolor % Set color
+ pgfcircx pgfcircy 2 index 0 360 arc closepath
+ stroke
+ 5 -1 roll 8 index add % cyan += inccyan
+ 5 -1 roll 7 index add % magenta += incmagenta
+ 5 -1 roll 6 index add % yellow += incyellow
+ 5 -1 roll 5 index add % black += incblack
+ 5 -1 roll .25 sub % x += 0.25
+ /pgfcircx pgfcircx pgfxstep add def
+ /pgfcircy pgfcircy pgfystep add def
+ } repeat
+ mark 18 1 roll cleartomark exch pop % leave only start x on stack
+ }bind def}
+% \end{macrocode}
+%
+% Define grayscale PostScript® shding functions.
+%
+% \begin{macrocode}
+ \pgf at sys@postscript at 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 at sys@postscript at 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}%
+ \pgf at sys@postscript at header{/pgfAgray{
+ /pgfdiff 4 index round cvi 4 index round cvi sub 2 mul 1 add def
+ dup 2 index sub pgfdiff div % put gray-step on stack
+ pgfheight 3 index 6 index
+ pgfdiff {
+ 1 index setgray % Set color
+ pgfdir
+ stroke
+ exch 3 index add % gray += incgray
+ exch .5 sub % x += 0.5
+ } repeat
+ mark 7 1 roll cleartomark exch pop % leave only start x on stack
+ }bind def }
+ \pgf at sys@postscript at header{/pgfR1gray{
+ newpath dup dup dup 0 360 arc clip newpath
+ dup /pgfendx exch def
+ /pgfendy exch def
+ 0.875 setlinewidth
+ [] 0 setdash
+ /pgfshade {pgfRgray} def
+ /pgfstartx exch def
+ /pgfstarty exch def
+ /pgfdiffx pgfendx pgfstartx sub def
+ /pgfdiffy pgfendy pgfstarty sub def
+ dup /pgfdomb exch def
+ }bind def }
+ \pgf at sys@postscript at header{/pgfR2gray{
+ newpath 0.5 add pgfcircx pgfcircy 3 2 roll 0 360 arc
+ setgray fill pop}bind def }%
+ \pgf at sys@postscript at header{/pgfRgray{
+ /pgfdiff 4 index round cvi 4 index round cvi sub 4 mul 1 add def
+ /pgfcircx pgfstartx 5 index pgfdiffx pgfdomb div mul add def
+ /pgfcircy pgfstarty 5 index pgfdiffy pgfdomb div mul add def
+ /pgfcircxe pgfstartx 4 index pgfdiffx pgfdomb div mul add def
+ /pgfcircye pgfstarty 4 index pgfdiffy pgfdomb div mul add def
+ /pgfxstep pgfcircxe pgfcircx sub pgfdiff div def
+ /pgfystep pgfcircye pgfcircy sub pgfdiff div def
+ dup 2 index sub pgfdiff div % put gray-step on stack
+ 2 index 5 index
+ pgfdiff {
+ 1 index setgray % Set color
+ pgfcircx pgfcircy 2 index 0 360 arc closepath
+ stroke
+ exch 2 index add % gray += incgray
+ exch .25 sub % x += 0.25
+ /pgfcircx pgfcircx pgfxstep add def
+ /pgfcircy pgfcircy pgfystep add def
+ } repeat
+ mark 6 1 roll cleartomark exch pop % leave only start x on stack
+ }bind def}
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</common-ps-driver>
+% \end{macrocode}
+%
% \end{implementation}
%
% \PrintChanges
Modified: trunk/Master/texmf-dist/source/latex/pgf-cmykshadings/pgf-cmykshadings.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/pgf-cmykshadings/pgf-cmykshadings.ins 2018-10-23 01:15:00 UTC (rev 48975)
+++ trunk/Master/texmf-dist/source/latex/pgf-cmykshadings/pgf-cmykshadings.ins 2018-10-23 20:44:07 UTC (rev 48976)
@@ -39,13 +39,17 @@
- pgfsys-cmykshadgins-xetex.def
- pgfsys-cmykshadings-luatex.def
- pgfsys-cmykshadings-dvipdfmx.def
+ - pgfsys-cmykshadings-dvipdfm.def
+ - pgfsys-cmykshadings-dvips.def
+ - pgfsys-cmykshadings-textures.def
+ - pgfsys-cmykshadings-vtex.def
+ - pgfsys-cmykshadings-common-postscript.def
- pgf-cmykshadings.pdf
-Substantial parts of the code for this package are taken from the pgf
-package files pgfcoreshade.code.tex, pgfsys-pdftex.def,
-pgfsys-luatex.def, and pgfsys-dvipdfmx.def copyright (c) 2006 Till
-Tantau and then slightly modified to support CMYK and grayscale
+Substantial parts of the code for this package are taken from the pgf package
+file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+(c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
shadings.
\endpreamble
@@ -60,6 +64,11 @@
\file{pgfsys-cmykshadings-xetex.def}{\from{pgf-cmykshadings.dtx}{xetex-driver}}
\file{pgfsys-cmykshadings-luatex.def}{\from{pgf-cmykshadings.dtx}{luatex-driver}}
\file{pgfsys-cmykshadings-dvipdfmx.def}{\from{pgf-cmykshadings.dtx}{dvipdfmx-driver}}
+ \file{pgfsys-cmykshadings-dvipdfm.def}{\from{pgf-cmykshadings.dtx}{dvipdfm-driver}}
+ \file{pgfsys-cmykshadings-dvips.def}{\from{pgf-cmykshadings.dtx}{dvips-driver}}
+ \file{pgfsys-cmykshadings-textures.def}{\from{pgf-cmykshadings.dtx}{textures-driver}}
+ \file{pgfsys-cmykshadings-vtex.def}{\from{pgf-cmykshadings.dtx}{vtex-driver}}
+ \file{pgfsys-cmykshadings-common-postscript.def}{\from{pgf-cmykshadings.dtx}{common-ps-driver}}
}
\endbatchfile
Modified: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgf-cmykshadings.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgf-cmykshadings.sty 2018-10-23 01:15:00 UTC (rev 48975)
+++ trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgf-cmykshadings.sty 2018-10-23 20:44:07 UTC (rev 48976)
@@ -28,17 +28,21 @@
%% - pgfsys-cmykshadgins-xetex.def
%% - pgfsys-cmykshadings-luatex.def
%% - pgfsys-cmykshadings-dvipdfmx.def
+%% - pgfsys-cmykshadings-dvipdfm.def
+%% - pgfsys-cmykshadings-dvips.def
+%% - pgfsys-cmykshadings-textures.def
+%% - pgfsys-cmykshadings-vtex.def
+%% - pgfsys-cmykshadings-common-postscript.def
%% - pgf-cmykshadings.pdf
%%
%%
-%% Substantial parts of the code for this package are taken from the pgf
-%% package files pgfcoreshade.code.tex, pgfsys-pdftex.def,
-%% pgfsys-luatex.def, and pgfsys-dvipdfmx.def copyright (c) 2006 Till
-%% Tantau and then slightly modified to support CMYK and grayscale
+%% Substantial parts of the code for this package are taken from the pgf package
+%% file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+%% (c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
%% shadings.
%%
\ProvidesPackage{pgf-cmykshadings}%
- [2018/10/17 CMYK shadings support for PGF (DCP)]
+ [2018/10/23 CMYK shadings support for PGF (DCP)]
\RequirePackage{pgf}
\def\pgf at parsefunc#1{%
\edef\temp{{#1}}%
@@ -365,8 +369,8 @@
\expandafter\expandafter\expandafter\@@args%
\expandafter\expandafter\expandafter{%
\csname pgf at args\pgf at shadingname\endcsname}%
- \expandafter\expandafter\expandafter\@temp\expandafter\@args\@@args%
- %
+ \expandafter\expandafter\expandafter\@temp
+ \expandafter\@args\@@args%
}%
}%
{}%
@@ -385,11 +389,13 @@
\XC at sdef\pgf at mod@test{\XC at tgt@mod{natural}}%
\def\pgf at shading@functional at range{0 1 0 1 0 1}%
\def\pgf at shading@device{/DeviceRGB}%
+ \def\pgf at shading@ps at device{setrgbcolor}%
\def\pgf at shading@model{rgb}%
\ifx\pgf at mod@test\XC at mod@natural
\ifpgfcmykshadingdefault
\def\pgf at shading@functional at range{0 1 0 1 0 1 0 1}%
\def\pgf at shading@device{/DeviceCMYK}%
+ \def\pgf at shading@ps at device{setcmykcolor}%
\def\pgf at shading@model{cmyk}%
\pgfshadingmodelrgbfalse
\pgfshadingmodelcmyktrue
@@ -396,6 +402,7 @@
\else
\def\pgf at shading@functional at range{0 1 0 1 0 1}%
\def\pgf at shading@device{/DeviceRGB}%
+ \def\pgf at shading@ps at device{setrgbcolor}%
\def\pgf at shading@model{rgb}%
\fi
\fi
@@ -402,6 +409,7 @@
\ifx\pgf at mod@test\XC at mod@cmyk
\def\pgf at shading@functional at range{0 1 0 1 0 1 0 1}%
\def\pgf at shading@device{/DeviceCMYK}%
+ \def\pgf at shading@ps at device{setcmykcolor}%
\def\pgf at shading@model{cmyk}%
\pgfshadingmodelrgbfalse
\pgfshadingmodelcmyktrue
@@ -409,10 +417,19 @@
\ifx\pgf at mod@test\XC at mod@gray
\def\pgf at shading@functional at range{0 1}%
\def\pgf at shading@device{/DeviceGray}%
+ \def\pgf at shading@ps at device{setgray}%
\def\pgf at shading@model{gray}%
\pgfshadingmodelrgbfalse
\pgfshadingmodelgraytrue
\fi
+ \edef\pgf at sys@driver at dvisvgm{pgfsys-dvisvgm.def}%
+ \ifx\pgfsysdriver\pgf at sys@driver at dvisvgm
+ \def\pgf at shading@model{rgb}%
+ \fi
+ \edef\pgf at sys@driver at texforht{pgfsys-tex4ht.def}%
+ \ifx\pgfsysdriver\pgf at sys@driver at texforht
+ \def\pgf at shading@model{rgb}%
+ \fi
}
\def\pgffuncshadingrgbtocmyk{%
1.0 exch sub 3 1 roll
@@ -475,13 +492,13 @@
\edef\pgfsyscmykshadingsdriver{pgfsys-cmykshadings-#1}%
}
\pgfutilgetcmykshadingsdriver
-\input\pgfsyscmykshadingsdriver
+\pgfutil at InputIfFileExists{\pgfsyscmykshadingsdriver}{}{}
\newif\ifpgfcmykshadingdefault
\DeclareOption{cmyk}{%
\pgfcmykshadingdefaulttrue
}
\DeclareOption{rgb}{%
- \pgfcmykshadin at defaultfalse
+ \pgfcmykshadingdefaultfalse
}
\ExecuteOptions{cmyk}
\ProcessOptions\relax
Added: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-common-postscript.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-common-postscript.def (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-common-postscript.def 2018-10-23 20:44:07 UTC (rev 48976)
@@ -0,0 +1,291 @@
+%%
+%% This is file `pgfsys-cmykshadings-common-postscript.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pgf-cmykshadings.dtx (with options: `common-ps-driver')
+%%
+%% This is a generated file.
+%%
+%% Copyright (c) 2018 David Purton <dcpurton at marshwiggle.net>
+%%
+%% This work may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3c of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work is "maintained" (as per the LPPL maintenance status)
+%% by David Purton.
+%%
+%% This work consists of the files pgf-cmykshadings.ins,
+%% pgf-cmykshadings.dtx, README.md, and the derived files
+%% - pgf-cmykshadings.sty
+%% - pgfsys-cmykshadings-pdftex.def
+%% - pgfsys-cmykshadgins-xetex.def
+%% - pgfsys-cmykshadings-luatex.def
+%% - pgfsys-cmykshadings-dvipdfmx.def
+%% - pgfsys-cmykshadings-dvipdfm.def
+%% - pgfsys-cmykshadings-dvips.def
+%% - pgfsys-cmykshadings-textures.def
+%% - pgfsys-cmykshadings-vtex.def
+%% - pgfsys-cmykshadings-common-postscript.def
+%% - pgf-cmykshadings.pdf
+%%
+%%
+%% Substantial parts of the code for this package are taken from the pgf package
+%% file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+%% (c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
+%% shadings.
+%%
+\ProvidesFile{pgfsys-cmykshadings-common-postscript.def}%
+ [2018/10/23 CMYK shadings support for PGF PostScript driver (DCP)]
+\def\pgfsys at horishading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgfmathsetlength\pgf at x{#2}%
+ \pgf at xa=\pgf at x%
+ \pgf at sys@bp at correct{\pgf at x}%
+ \pgf at y=\pgf at max%
+ \pgf at sys@bp at correct{\pgf at y}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to \the\pgf at max{%
+ \noexpand\vrule width0pt height\the\pgf at xa%
+ \noexpand\pgfsys at beginpurepicture%
+ \noexpand\pgfsys at rect{0pt}{0pt}{\the\pgf at max}{\the\pgf at xa}%
+ \noexpand\pgfsys at clipnext%
+ \noexpand\pgfsys at discardpath%
+ \noexpand\pgfsys at invoke{\pgf at domb\space \pgf at sys@tonumber{\pgf at x}
+ pgfH\pgf at shading@model\space \pgf at psfuncs\space pop}%
+ \hss%
+ \noexpand\pgfsys at endpurepicture}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+\def\pgfsys at vertshading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgfmathsetlength\pgf at x{#2}%
+ \pgf at xa=\pgf at x%
+ \pgf at sys@bp at correct{\pgf at x}%
+ \pgf at y=\pgf at max%
+ \pgf at sys@bp at correct{\pgf at y}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to\the\pgf at xa{%
+ \noexpand\vrule width0pt height\the\pgf at max%
+ \noexpand\pgfsys at beginpurepicture%
+ \noexpand\pgfsys at rect{0pt}{0pt}{\the\pgf at xa}{\the\pgf at max}%
+ \noexpand\pgfsys at clipnext%
+ \noexpand\pgfsys at discardpath%
+ \noexpand\pgfsys at invoke{\pgf at domb\space \pgf at sys@tonumber{\pgf at x}
+ pgfV\pgf at shading@model\space \pgf at psfuncs\space pop}%
+ \hss%
+ \noexpand\pgfsys at endpurepicture}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+\def\pgfsys at radialshading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgf at process{#2}%
+ \pgf at sys@bp at correct{\pgf at x}%
+ \pgf at sys@bp at correct{\pgf at y}%
+ \pgf at xa=2\pgf at max%
+ \pgf at sys@bp at correct{\pgf at max}%
+ \advance\pgf at x by \pgf at max%
+ \advance\pgf at y by \pgf at max%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to \the\pgf at xa{%
+ \noexpand\vrule width0pt height\the\pgf at xa%
+ \noexpand\pgfsys at beginpurepicture%
+ \noexpand\pgfsys at invoke{%
+ \pgf at domb\space \pgf at sys@tonumber{\pgf at y}
+ \pgf at sys@tonumber{\pgf at x}
+ \pgf at sys@tonumber{\pgf at max} pgfR1\pgf at shading@model\space
+ \pgf at psfuncs\space \pgf at firstcolor\space \pgf at doma\space
+ pgfR2\pgf at shading@model}%
+ \hss%
+ \noexpand\pgfsys at endpurepicture}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+\def\pgfsys at functionalshading#1#2#3#4{%
+ {%
+ \pgf at process{#2}%
+ \pgf at xa=\pgf at x%
+ \pgf at ya=\pgf at y%
+ \pgf at process{#3}%
+ \pgf at xb=\pgf at x%
+ \pgf at yb=\pgf at y%
+ \advance\pgf at x by-\pgf at xa%
+ \advance\pgf at y by-\pgf at ya%
+ \pgf at sys@bp at correct{\pgf at xa}%
+ \pgf at sys@bp at correct{\pgf at ya}%
+ \pgf at sys@bp at correct{\pgf at xb}%
+ \pgf at sys@bp at correct{\pgf at yb}%
+ \pgf at xc=-\pgf at xa%
+ \pgf at yc=-\pgf at ya%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+ \hbox to\the\pgf at x{\vbox to\the\pgf at y{\vfil
+ \noexpand\pgfsys at beginpurepicture%
+ \noexpand\pgfsys at invoke{%
+ \pgf at sys@tonumber{\pgf at xc} \pgf at sys@tonumber{\pgf at yc} translate
+ 1.1 setlinewidth [] 0 setdash 0 setlinecap
+ /pgfproc {#4} bind def
+ \pgf at sys@tonumber{\pgf at ya} 1 \pgf at sys@tonumber{\pgf at yb}
+ {
+ \pgf at sys@tonumber{\pgf at xa} 1 \pgf at sys@tonumber{\pgf at xb}
+ { 1 index 2 copy pgfproc \pgf at shading@ps at device\space
+ moveto 1.1 0 rlineto stroke }
+ for
+ pop
+ }
+ for
+ }%
+ \noexpand\pgfsys at endpurepicture
+ }\hfil}%
+ }%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+\g at addto@macro\pgfsys at atbegindocument{%
+ \pgf at sys@postscript at header{/pgfHrgb { pgfH } bind def}%
+ \pgf at sys@postscript at header{/pgfVrgb { pgfV } bind def}%
+ \pgf at sys@postscript at header{/pgfR1rgb { pgfR1 } bind def}%
+ \pgf at sys@postscript at header{/pgfR2rgb { pgfR2 } bind def}%
+ \pgf at sys@postscript at 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 at sys@postscript at 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}%
+ \pgf at sys@postscript at header{/pgfAcmyk{
+ /pgfdiff 10 index round cvi 10 index round cvi sub 2 mul 1 add def
+ 3 index 8 index sub pgfdiff div % put cyan-step on stack
+ 3 index 8 index sub pgfdiff div % put magenta-step on stack
+ 3 index 8 index sub pgfdiff div % put yellow-step on stack
+ 3 index 8 index sub pgfdiff div % put black-step on stack
+ pgfheight 12 index 12 index 12 index 12 index 18 index
+ pgfdiff {
+ 4 index 4 index 4 index 4 index setcmykcolor % Set color
+ pgfdir
+ stroke
+ 5 -1 roll 9 index add % cyan += inccyan
+ 5 -1 roll 8 index add % magenta += incmagenta
+ 5 -1 roll 7 index add % yellow += incyellow
+ 5 -1 roll 6 index add % black += incblack
+ 5 -1 roll .5 sub % x += 0.5
+ } repeat
+ mark 19 1 roll cleartomark exch pop % leave only start x on stack
+ }bind def }
+ \pgf at sys@postscript at header{/pgfR1cmyk{
+ newpath dup dup dup 0 360 arc clip newpath
+ dup /pgfendx exch def
+ /pgfendy exch def
+ 0.875 setlinewidth
+ [] 0 setdash
+ /pgfshade {pgfRcmyk} def
+ /pgfstartx exch def
+ /pgfstarty exch def
+ /pgfdiffx pgfendx pgfstartx sub def
+ /pgfdiffy pgfendy pgfstarty sub def
+ dup /pgfdomb exch def
+ }bind def }
+ \pgf at sys@postscript at header{/pgfR2cmyk{
+ newpath 0.5 add pgfcircx pgfcircy 3 2 roll 0 360 arc
+ setcmykcolor fill pop}bind def }%
+ \pgf at sys@postscript at header{/pgfRcmyk{
+ /pgfdiff 10 index round cvi 10 index round cvi sub 4 mul 1 add def
+ /pgfcircx pgfstartx 11 index pgfdiffx pgfdomb div mul add def
+ /pgfcircy pgfstarty 11 index pgfdiffy pgfdomb div mul add def
+ /pgfcircxe pgfstartx 10 index pgfdiffx pgfdomb div mul add def
+ /pgfcircye pgfstarty 10 index pgfdiffy pgfdomb div mul add def
+ /pgfxstep pgfcircxe pgfcircx sub pgfdiff div def
+ /pgfystep pgfcircye pgfcircy sub pgfdiff div def
+ 3 index 8 index sub pgfdiff div % put cyan-step on stack
+ 3 index 8 index sub pgfdiff div % put magenta-step on stack
+ 3 index 8 index sub pgfdiff div % put yellow-step on stack
+ 3 index 8 index sub pgfdiff div % put black-step on stack
+ 11 index 11 index 11 index 11 index 17 index
+ pgfdiff {
+ 4 index 4 index 4 index 4 index setcmykcolor % Set color
+ pgfcircx pgfcircy 2 index 0 360 arc closepath
+ stroke
+ 5 -1 roll 8 index add % cyan += inccyan
+ 5 -1 roll 7 index add % magenta += incmagenta
+ 5 -1 roll 6 index add % yellow += incyellow
+ 5 -1 roll 5 index add % black += incblack
+ 5 -1 roll .25 sub % x += 0.25
+ /pgfcircx pgfcircx pgfxstep add def
+ /pgfcircy pgfcircy pgfystep add def
+ } repeat
+ mark 18 1 roll cleartomark exch pop % leave only start x on stack
+ }bind def}
+ \pgf at sys@postscript at 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 at sys@postscript at 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}%
+ \pgf at sys@postscript at header{/pgfAgray{
+ /pgfdiff 4 index round cvi 4 index round cvi sub 2 mul 1 add def
+ dup 2 index sub pgfdiff div % put gray-step on stack
+ pgfheight 3 index 6 index
+ pgfdiff {
+ 1 index setgray % Set color
+ pgfdir
+ stroke
+ exch 3 index add % gray += incgray
+ exch .5 sub % x += 0.5
+ } repeat
+ mark 7 1 roll cleartomark exch pop % leave only start x on stack
+ }bind def }
+ \pgf at sys@postscript at header{/pgfR1gray{
+ newpath dup dup dup 0 360 arc clip newpath
+ dup /pgfendx exch def
+ /pgfendy exch def
+ 0.875 setlinewidth
+ [] 0 setdash
+ /pgfshade {pgfRgray} def
+ /pgfstartx exch def
+ /pgfstarty exch def
+ /pgfdiffx pgfendx pgfstartx sub def
+ /pgfdiffy pgfendy pgfstarty sub def
+ dup /pgfdomb exch def
+ }bind def }
+ \pgf at sys@postscript at header{/pgfR2gray{
+ newpath 0.5 add pgfcircx pgfcircy 3 2 roll 0 360 arc
+ setgray fill pop}bind def }%
+ \pgf at sys@postscript at header{/pgfRgray{
+ /pgfdiff 4 index round cvi 4 index round cvi sub 4 mul 1 add def
+ /pgfcircx pgfstartx 5 index pgfdiffx pgfdomb div mul add def
+ /pgfcircy pgfstarty 5 index pgfdiffy pgfdomb div mul add def
+ /pgfcircxe pgfstartx 4 index pgfdiffx pgfdomb div mul add def
+ /pgfcircye pgfstarty 4 index pgfdiffy pgfdomb div mul add def
+ /pgfxstep pgfcircxe pgfcircx sub pgfdiff div def
+ /pgfystep pgfcircye pgfcircy sub pgfdiff div def
+ dup 2 index sub pgfdiff div % put gray-step on stack
+ 2 index 5 index
+ pgfdiff {
+ 1 index setgray % Set color
+ pgfcircx pgfcircy 2 index 0 360 arc closepath
+ stroke
+ exch 2 index add % gray += incgray
+ exch .25 sub % x += 0.25
+ /pgfcircx pgfcircx pgfxstep add def
+ /pgfcircy pgfcircy pgfystep add def
+ } repeat
+ mark 6 1 roll cleartomark exch pop % leave only start x on stack
+ }bind def}
+}
+%%
+%%
+%% End of file `pgfsys-cmykshadings-common-postscript.def'.
Property changes on: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-common-postscript.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def 2018-10-23 20:44:07 UTC (rev 48976)
@@ -0,0 +1,132 @@
+%%
+%% This is file `pgfsys-cmykshadings-dvipdfm.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pgf-cmykshadings.dtx (with options: `dvipdfm-driver')
+%%
+%% This is a generated file.
+%%
+%% Copyright (c) 2018 David Purton <dcpurton at marshwiggle.net>
+%%
+%% This work may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3c of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work is "maintained" (as per the LPPL maintenance status)
+%% by David Purton.
+%%
+%% This work consists of the files pgf-cmykshadings.ins,
+%% pgf-cmykshadings.dtx, README.md, and the derived files
+%% - pgf-cmykshadings.sty
+%% - pgfsys-cmykshadings-pdftex.def
+%% - pgfsys-cmykshadgins-xetex.def
+%% - pgfsys-cmykshadings-luatex.def
+%% - pgfsys-cmykshadings-dvipdfmx.def
+%% - pgfsys-cmykshadings-dvipdfm.def
+%% - pgfsys-cmykshadings-dvips.def
+%% - pgfsys-cmykshadings-textures.def
+%% - pgfsys-cmykshadings-vtex.def
+%% - pgfsys-cmykshadings-common-postscript.def
+%% - pgf-cmykshadings.pdf
+%%
+%%
+%% Substantial parts of the code for this package are taken from the pgf package
+%% file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+%% (c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
+%% shadings.
+%%
+\ProvidesFile{pgfsys-cmykshadings-dvipdfm.def}%
+ [2018/10/18 CMYK shadings support for PGF dvipdfm driver (DCP)]
+\def\pgfsys at horishading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgf at process{\pgfpoint{\pgf at max}{#2}}%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: beginxobj @pgfshade#1 width \the\pgf at max\space
+ height \the\pgf at y}}}\@temp%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: put @resources <<
+ /Shading << /Sh << /ShadingType 2
+ /ColorSpace \pgf at shading@device\space
+ /Domain [\pgf at pdfparseddomain]
+ /Coords [\pgf at doma\space0 \pgf at domb\space0]
+ /Function \pgf at pdfparsedfunction
+ /Extend [false false] >> >> >>}}}\@temp% <<
+ \pgfutil at insertatbegincurrentpage{\special{pdf: content /Sh sh}%
+ \special{pdf: endxobj}}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+ \hbox to\the\pgf at max{\vbox to#2{%
+ \vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+\def\pgfsys at vertshading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgf at process{\pgfpoint{\pgf at max}{#2}}%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: beginxobj @pgfshade#1 width \the\pgf at y\space
+ height \the\pgf at max\space}}}\@temp%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: put @resources <<
+ /Shading << /Sh << /ShadingType 2
+ /ColorSpace \pgf at shading@device\space
+ /Domain [\pgf at pdfparseddomain]
+ /Coords [0 \pgf at doma\space0 \pgf at domb]
+ /Function \pgf at pdfparsedfunction
+ /Extend [false false] >> >> >>}}}\@temp% <<
+ \pgfutil at insertatbegincurrentpage{\special{pdf: content /Sh sh}%
+ \special{pdf: endxobj}}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+ \hbox to#2{\vbox to\the\pgf at max{\vfil\special{%
+ pdf: usexobj @pgfshade#1}}\hfil}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}
+\def\pgfsys at radialshading#1#2#3{%
+ {%
+ \pgf at parsefunc{#3}%
+ \pgf at process{#2}%
+ \pgf at xa=\pgf at x%
+ \pgf at ya=\pgf at y%
+ \pgf at process{\pgfpoint{\pgf at max}{\pgf at max}}%
+ \advance\pgf at xa by \pgf at x\relax%
+ \advance\pgf at ya by \pgf at y\relax%
+ \pgf at sys@bp at correct{\pgf at x}%
+ \pgf at sys@bp at correct{\pgf at y}%
+ \pgf at sys@bp at correct{\pgf at xa}%
+ \pgf at sys@bp at correct{\pgf at ya}%
+ \pgfutil at tempdima=2\pgf at max\relax%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: beginxobj @pgfshade#1 width
+ \the\pgfutil at tempdima\space height \the\pgfutil at tempdima}}}\@temp%
+ \edef\@temp{\noexpand\pgfutil at insertatbegincurrentpage{%
+ \special{pdf: put @resources <<
+ /Shading << /Sh << /ShadingType 3
+ /ColorSpace \pgf at shading@device\space
+ /Domain [\pgf at pdfparseddomain]
+ /Coords [\pgf at sys@tonumber{\pgf at xa} \pgf at sys@tonumber{\pgf at ya}
+ \pgf at doma\space \pgf at sys@tonumber{\pgf at x} \pgf at sys@tonumber{\pgf at y}
+ \pgf at domb]
+ /Function \pgf at pdfparsedfunction
+ /Extend [true false] >> >> >>}}}\@temp% <<
+ \pgfutil at insertatbegincurrentpage{\special{pdf: content /Sh sh}%
+ \special{pdf: endxobj}}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+ \hbox to\the\pgfutil at tempdima{\vbox to\the\pgfutil at tempdima{%
+ \vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}%
+ \expandafter\xdef\csname @pgfshading#1 at model!\endcsname{%
+ \pgf at shading@model}%
+ }%
+}%
+%%
+%%
+%% End of file `pgfsys-cmykshadings-dvipdfm.def'.
Property changes on: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def 2018-10-23 01:15:00 UTC (rev 48975)
+++ trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def 2018-10-23 20:44:07 UTC (rev 48976)
@@ -28,13 +28,17 @@
%% - pgfsys-cmykshadgins-xetex.def
%% - pgfsys-cmykshadings-luatex.def
%% - pgfsys-cmykshadings-dvipdfmx.def
+%% - pgfsys-cmykshadings-dvipdfm.def
+%% - pgfsys-cmykshadings-dvips.def
+%% - pgfsys-cmykshadings-textures.def
+%% - pgfsys-cmykshadings-vtex.def
+%% - pgfsys-cmykshadings-common-postscript.def
%% - pgf-cmykshadings.pdf
%%
%%
-%% Substantial parts of the code for this package are taken from the pgf
-%% package files pgfcoreshade.code.tex, pgfsys-pdftex.def,
-%% pgfsys-luatex.def, and pgfsys-dvipdfmx.def copyright (c) 2006 Till
-%% Tantau and then slightly modified to support CMYK and grayscale
+%% Substantial parts of the code for this package are taken from the pgf package
+%% file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+%% (c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
%% shadings.
%%
\ProvidesFile{pgfsys-cmykshadings-dvipdfmx.def}%
Added: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvips.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvips.def (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvips.def 2018-10-23 20:44:07 UTC (rev 48976)
@@ -0,0 +1,49 @@
+%%
+%% This is file `pgfsys-cmykshadings-dvips.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pgf-cmykshadings.dtx (with options: `dvips-driver')
+%%
+%% This is a generated file.
+%%
+%% Copyright (c) 2018 David Purton <dcpurton at marshwiggle.net>
+%%
+%% This work may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3c of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work is "maintained" (as per the LPPL maintenance status)
+%% by David Purton.
+%%
+%% This work consists of the files pgf-cmykshadings.ins,
+%% pgf-cmykshadings.dtx, README.md, and the derived files
+%% - pgf-cmykshadings.sty
+%% - pgfsys-cmykshadings-pdftex.def
+%% - pgfsys-cmykshadgins-xetex.def
+%% - pgfsys-cmykshadings-luatex.def
+%% - pgfsys-cmykshadings-dvipdfmx.def
+%% - pgfsys-cmykshadings-dvipdfm.def
+%% - pgfsys-cmykshadings-dvips.def
+%% - pgfsys-cmykshadings-textures.def
+%% - pgfsys-cmykshadings-vtex.def
+%% - pgfsys-cmykshadings-common-postscript.def
+%% - pgf-cmykshadings.pdf
+%%
+%%
+%% Substantial parts of the code for this package are taken from the pgf package
+%% file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+%% (c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
+%% shadings.
+%%
+\ProvidesFile{pgfsys-cmykshadings-dvips.def}%
+ [2018/10/23 CMYK shadings support for PGF dvips driver (DCP)]
+\input pgfsys-cmykshadings-common-postscript.def
+%%
+%%
+%% End of file `pgfsys-cmykshadings-dvips.def'.
Property changes on: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvips.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def 2018-10-23 01:15:00 UTC (rev 48975)
+++ trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def 2018-10-23 20:44:07 UTC (rev 48976)
@@ -28,13 +28,17 @@
%% - pgfsys-cmykshadgins-xetex.def
%% - pgfsys-cmykshadings-luatex.def
%% - pgfsys-cmykshadings-dvipdfmx.def
+%% - pgfsys-cmykshadings-dvipdfm.def
+%% - pgfsys-cmykshadings-dvips.def
+%% - pgfsys-cmykshadings-textures.def
+%% - pgfsys-cmykshadings-vtex.def
+%% - pgfsys-cmykshadings-common-postscript.def
%% - pgf-cmykshadings.pdf
%%
%%
-%% Substantial parts of the code for this package are taken from the pgf
-%% package files pgfcoreshade.code.tex, pgfsys-pdftex.def,
-%% pgfsys-luatex.def, and pgfsys-dvipdfmx.def copyright (c) 2006 Till
-%% Tantau and then slightly modified to support CMYK and grayscale
+%% Substantial parts of the code for this package are taken from the pgf package
+%% file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+%% (c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
%% shadings.
%%
\ProvidesFile{pgfsys-cmykshadings-luatex.def}%
Modified: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def 2018-10-23 01:15:00 UTC (rev 48975)
+++ trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def 2018-10-23 20:44:07 UTC (rev 48976)
@@ -28,13 +28,17 @@
%% - pgfsys-cmykshadgins-xetex.def
%% - pgfsys-cmykshadings-luatex.def
%% - pgfsys-cmykshadings-dvipdfmx.def
+%% - pgfsys-cmykshadings-dvipdfm.def
+%% - pgfsys-cmykshadings-dvips.def
+%% - pgfsys-cmykshadings-textures.def
+%% - pgfsys-cmykshadings-vtex.def
+%% - pgfsys-cmykshadings-common-postscript.def
%% - pgf-cmykshadings.pdf
%%
%%
-%% Substantial parts of the code for this package are taken from the pgf
-%% package files pgfcoreshade.code.tex, pgfsys-pdftex.def,
-%% pgfsys-luatex.def, and pgfsys-dvipdfmx.def copyright (c) 2006 Till
-%% Tantau and then slightly modified to support CMYK and grayscale
+%% Substantial parts of the code for this package are taken from the pgf package
+%% file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+%% (c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
%% shadings.
%%
\ProvidesFile{pgfsys-cmykshadings-pdftex.def}%
Added: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-textures.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-textures.def (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-textures.def 2018-10-23 20:44:07 UTC (rev 48976)
@@ -0,0 +1,49 @@
+%%
+%% This is file `pgfsys-cmykshadings-textures.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pgf-cmykshadings.dtx (with options: `textures-driver')
+%%
+%% This is a generated file.
+%%
+%% Copyright (c) 2018 David Purton <dcpurton at marshwiggle.net>
+%%
+%% This work may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3c of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work is "maintained" (as per the LPPL maintenance status)
+%% by David Purton.
+%%
+%% This work consists of the files pgf-cmykshadings.ins,
+%% pgf-cmykshadings.dtx, README.md, and the derived files
+%% - pgf-cmykshadings.sty
+%% - pgfsys-cmykshadings-pdftex.def
+%% - pgfsys-cmykshadgins-xetex.def
+%% - pgfsys-cmykshadings-luatex.def
+%% - pgfsys-cmykshadings-dvipdfmx.def
+%% - pgfsys-cmykshadings-dvipdfm.def
+%% - pgfsys-cmykshadings-dvips.def
+%% - pgfsys-cmykshadings-textures.def
+%% - pgfsys-cmykshadings-vtex.def
+%% - pgfsys-cmykshadings-common-postscript.def
+%% - pgf-cmykshadings.pdf
+%%
+%%
+%% Substantial parts of the code for this package are taken from the pgf package
+%% file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+%% (c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
+%% shadings.
+%%
+\ProvidesFile{pgfsys-cmykshadings-textures.def}%
+ [2018/10/23 CMYK shadings support for PGF textures driver (DCP)]
+\input pgfsys-cmykshadings-common-postscript.def
+%%
+%%
+%% End of file `pgfsys-cmykshadings-textures.def'.
Property changes on: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-textures.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-vtex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-vtex.def (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-vtex.def 2018-10-23 20:44:07 UTC (rev 48976)
@@ -0,0 +1,49 @@
+%%
+%% This is file `pgfsys-cmykshadings-vtex.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pgf-cmykshadings.dtx (with options: `vtex-driver')
+%%
+%% This is a generated file.
+%%
+%% Copyright (c) 2018 David Purton <dcpurton at marshwiggle.net>
+%%
+%% This work may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3c of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work is "maintained" (as per the LPPL maintenance status)
+%% by David Purton.
+%%
+%% This work consists of the files pgf-cmykshadings.ins,
+%% pgf-cmykshadings.dtx, README.md, and the derived files
+%% - pgf-cmykshadings.sty
+%% - pgfsys-cmykshadings-pdftex.def
+%% - pgfsys-cmykshadgins-xetex.def
+%% - pgfsys-cmykshadings-luatex.def
+%% - pgfsys-cmykshadings-dvipdfmx.def
+%% - pgfsys-cmykshadings-dvipdfm.def
+%% - pgfsys-cmykshadings-dvips.def
+%% - pgfsys-cmykshadings-textures.def
+%% - pgfsys-cmykshadings-vtex.def
+%% - pgfsys-cmykshadings-common-postscript.def
+%% - pgf-cmykshadings.pdf
+%%
+%%
+%% Substantial parts of the code for this package are taken from the pgf package
+%% file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+%% (c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
+%% shadings.
+%%
+\ProvidesFile{pgfsys-cmykshadings-vtex.def}%
+ [2018/10/23 CMYK shadings support for PGF vtex driver (DCP)]
+\input pgfsys-cmykshadings-common-postscript.def
+%%
+%%
+%% End of file `pgfsys-cmykshadings-vtex.def'.
Property changes on: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-vtex.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-xetex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-xetex.def 2018-10-23 01:15:00 UTC (rev 48975)
+++ trunk/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-xetex.def 2018-10-23 20:44:07 UTC (rev 48976)
@@ -28,13 +28,17 @@
%% - pgfsys-cmykshadgins-xetex.def
%% - pgfsys-cmykshadings-luatex.def
%% - pgfsys-cmykshadings-dvipdfmx.def
+%% - pgfsys-cmykshadings-dvipdfm.def
+%% - pgfsys-cmykshadings-dvips.def
+%% - pgfsys-cmykshadings-textures.def
+%% - pgfsys-cmykshadings-vtex.def
+%% - pgfsys-cmykshadings-common-postscript.def
%% - pgf-cmykshadings.pdf
%%
%%
-%% Substantial parts of the code for this package are taken from the pgf
-%% package files pgfcoreshade.code.tex, pgfsys-pdftex.def,
-%% pgfsys-luatex.def, and pgfsys-dvipdfmx.def copyright (c) 2006 Till
-%% Tantau and then slightly modified to support CMYK and grayscale
+%% Substantial parts of the code for this package are taken from the pgf package
+%% file pgfcoreshade.code.tex, along with the driver files pgfsys-*.def, copyright
+%% (c) 2006 Till Tantau and then slightly modified to support CMYK and grayscale
%% shadings.
%%
\ProvidesFile{pgfsys-cmykshadings-xetex.def}%
More information about the tex-live-commits
mailing list