diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-ghsb/README | 25 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-ghsb/t-ghsb.pdf | bin | 14903 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-ghsb/t-ghsb.tex | 33 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-ghsb/t2-ghsb.pdf | bin | 77387 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-ghsb/t2-ghsb.tex | 68 | ||||
-rw-r--r-- | Master/texmf-dist/dvips/pst-ghsb/pst-ghsb.pro | 90 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-ghsb/pst-ghsb.tex | 132 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pst-ghsb/pst-ghsb.sty | 3 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/pst-ghsb.tlpsrc | 2 |
11 files changed, 1 insertions, 354 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-ghsb/README b/Master/texmf-dist/doc/generic/pst-ghsb/README deleted file mode 100644 index 37be37827fa..00000000000 --- a/Master/texmf-dist/doc/generic/pst-ghsb/README +++ /dev/null @@ -1,25 +0,0 @@ - ------------------------------------------------ - | pst-ghsb: PSTricks package for HSB gradients | - | | - | Version 1.2 (June 05, 2004) | - | Denis Girou <Denis.Girou@idris.fr> | - ------------------------------------------------ - - - - * Install pst-ghsb.sty and pst-ghsb.tex in one of your TeX input directories - - * Install pst-ghsb.pro in one of your DVI to PostScript converter input -directories - - * As the programmation and usage are stricly modeled on the `pst-grad' -package, there is no documentation but only two test files: t-ghsb.tex -and t2-ghsb.tex - - * It must be considered today (September, 1998) as superceded -by the `pst-slpe' package from Martin Giese. Users of `pst-ghsb' -are encouraged to migrate. - --- -Denis Girou (updated September 15, 1998) -Herbert Voss (updated June 23, 2004) diff --git a/Master/texmf-dist/doc/generic/pst-ghsb/t-ghsb.pdf b/Master/texmf-dist/doc/generic/pst-ghsb/t-ghsb.pdf Binary files differdeleted file mode 100644 index a38678f945b..00000000000 --- a/Master/texmf-dist/doc/generic/pst-ghsb/t-ghsb.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pst-ghsb/t-ghsb.tex b/Master/texmf-dist/doc/generic/pst-ghsb/t-ghsb.tex deleted file mode 100644 index c7f30a91c1d..00000000000 --- a/Master/texmf-dist/doc/generic/pst-ghsb/t-ghsb.tex +++ /dev/null @@ -1,33 +0,0 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% t-ghsb.tex --- Test of HSB mode gradients -%% -%% Author : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr> -%% Created the : Wed May 14 18:51:17 1997 -%% Last mod. by : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr> -%% Last mod. the : Thu Jan 29 17:18:16 1998 -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\documentclass{article} - -\usepackage{pst-ghsb} - -\newcommand{\Fig}[1][]{% -\begin{pspicture}(5.5,5.5) - \psframe[#1](5,5) -\end{pspicture}} - -\newhsbcolor{ColorA}{0 0 0.7} -\newhsbcolor{ColorB}{0 1 0.7} -\newhsbcolor{ColorC}{.5 0.8 0} -\newhsbcolor{ColorD}{.5 0.8 1} - -\pagestyle{empty} - -\begin{document} - -\psset{fillstyle=gradient,gradientHSB=true} - -\Fig[gradmidpoint=1,gradbegin=ColorA,gradend=ColorB] -\Fig[gradmidpoint=0.5,gradbegin=ColorC,gradend=ColorD] - -\end{document} diff --git a/Master/texmf-dist/doc/generic/pst-ghsb/t2-ghsb.pdf b/Master/texmf-dist/doc/generic/pst-ghsb/t2-ghsb.pdf Binary files differdeleted file mode 100644 index 3f7a33b9f93..00000000000 --- a/Master/texmf-dist/doc/generic/pst-ghsb/t2-ghsb.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pst-ghsb/t2-ghsb.tex b/Master/texmf-dist/doc/generic/pst-ghsb/t2-ghsb.tex deleted file mode 100644 index 474ab389a98..00000000000 --- a/Master/texmf-dist/doc/generic/pst-ghsb/t2-ghsb.tex +++ /dev/null @@ -1,68 +0,0 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% t2-ghsb.tex --- Test of HSB mode gradients -%% -%% Author : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr> -%% Created the : Mon May 12 18:03:18 1997 -%% Last mod. by : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr> -%% Last mod. the : Thu Jan 29 17:18:33 1998 -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\documentclass{article} - -\usepackage{pst-grad} -\usepackage{pst-ghsb} - -\newcommand{\Fig}[1][]{% -\begin{pspicture}(5.5,5.5) - \psframe[#1](5,5) -\end{pspicture}} - -\newhsbcolor{ColorA}{0.7 0.1 0.8} -\newhsbcolor{ColorB}{0.7 0.9 0.8} -\newhsbcolor{ColorC}{0 0 0} -\newhsbcolor{ColorD}{0 0 1} -\newhsbcolor{ColorE}{0 0 0.5} -\newhsbcolor{ColorF}{0 1 0.5} -\newhsbcolor{ColorG}{0 0 0.5} -\newhsbcolor{ColorH}{0.99999 0 0.5} % As it's cycliç 1=0 ! -\newhsbcolor{ColorI}{1 1 1} -\newhsbcolor{ColorJ}{1 0 0} -\newhsbcolor{ColorK}{0.99999 1 1} % As it's cyclic 1=0 ! -\newhsbcolor{ColorL}{0 1 0} -\newhsbcolor{ColorM}{0.99999 1 1} % As it's cyclic 1=0 ! -\newhsbcolor{ColorN}{0 0 1} -\newhsbcolor{ColorO}{0 0.6 0.7} -\newhsbcolor{ColorP}{0.99999 0.7 0.7} % As it's cyclic 1=0 ! -\newhsbcolor{ColorQ}{0.3 0 0.8} -\newhsbcolor{ColorR}{0.3 1 0.8} -\newhsbcolor{ColorS}{0.6 0.3 0} -\newhsbcolor{ColorT}{0.6 0.3 1} - -\textheight=29cm -\textwidth=20cm -\oddsidemargin=0cm - -\pagestyle{empty} - -\begin{document} - -\psset{fillstyle=gradient,gradmidpoint=1} - -\Fig[gradbegin=yellow,gradend=green] -\Fig[gradientHSB=true,gradbegin=ColorA,gradend=ColorB] -\Fig[gradbegin=green,gradend=yellow] - -\psset{gradientHSB=true} -\Fig[gradbegin=ColorC,gradend=ColorD] -\Fig[gradbegin=ColorE,gradend=ColorF] -\Fig[gradbegin=ColorG,gradend=ColorH] - -\Fig[gradbegin=ColorI,gradend=ColorJ] -\Fig[gradbegin=ColorK,gradend=ColorL] -\Fig[gradbegin=ColorM,gradend=ColorN] - -\Fig[gradbegin=ColorO,gradend=ColorP] -\Fig[gradbegin=ColorQ,gradend=ColorR] -\Fig[gradbegin=ColorS,gradend=ColorT] - -\end{document} diff --git a/Master/texmf-dist/dvips/pst-ghsb/pst-ghsb.pro b/Master/texmf-dist/dvips/pst-ghsb/pst-ghsb.pro deleted file mode 100644 index 23dc9135cf7..00000000000 --- a/Master/texmf-dist/dvips/pst-ghsb/pst-ghsb.pro +++ /dev/null @@ -1,90 +0,0 @@ -%! -% -*- Mode: Postscript -*- -% pst-ghsb.pro --- PostScript header file pst-ghsb.pro -% For the PSTricks HSB mode gradient fillstyle -% Based on pst-grad.pro from Timothy van Zandt -% Syntax: -% H0 S0 B0 H1 S1 B1 MidPoint NumLines Angle GradientFillHSB -% -% Author : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr> -% Created the : Tue May 13 11:12:36 1997 -% Version : 1.0 -% Last mod. by : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr> -% Last mod. the : Wed May 14 18:48:03 1997 -% - -% Syntax: -% H0 S0 B0 H1 S1 B1 NumLines MidPoint Angle GradientFillHSB - -/tx@GradientHSBDict 40 dict def -tx@GradientHSBDict begin -/GradientFillHSB { - rotate - /MidPoint ED - /NumLines ED - /LastBrightness ED - /LastSaturation ED - /LastHue ED - /FirstBrightness ED - /FirstSaturation ED - /FirstHue ED - % This avoids gaps due to rounding errors: - clip - pathbbox %leave llx,lly,urx,ury on stack - /y ED /x ED - 2 copy translate - y sub neg /y ED - x sub neg /x ED - % This avoids gaps due to rounding errors: - LastHue FirstHue add 2 div - LastSaturation FirstSaturation add 2 div - LastBrightness FirstBrightness add 2 div - sethsbcolor - fill - /YSizePerLine y NumLines div def - /CurrentY 0 def - /MidLine NumLines 1 MidPoint sub mul abs cvi def - MidLine NumLines 2 sub gt - { /MidLine NumLines def } - { MidLine 2 lt { /MidLine 0 def } if } - ifelse - MidLine 0 gt - { - /Hue FirstHue def - /Saturation FirstSaturation def - /Brightness FirstBrightness def - /HueIncrement LastHue FirstHue sub MidLine 1 sub div def - /SaturationIncrement LastSaturation FirstSaturation sub MidLine 1 sub - div def - /BrightnessIncrement LastBrightness FirstBrightness sub MidLine 1 sub - div def - MidLine { GradientLoopHSB } repeat - } if - MidLine NumLines lt - { - /Hue LastHue def - /Saturation LastSaturation def - /Brightness LastBrightness def - /HueIncrement FirstHue LastHue sub NumLines MidLine sub 1 sub div def - /SaturationIncrement FirstSaturation LastSaturation sub - NumLines MidLine sub 1 sub div def - /BrightnessIncrement FirstBrightness LastBrightness sub - NumLines MidLine sub 1 sub div def - NumLines MidLine sub { GradientLoopHSB } repeat - } if -} def -/GradientLoopHSB { - 0 CurrentY moveto - x 0 rlineto - 0 YSizePerLine rlineto - x neg 0 rlineto - closepath - Hue Saturation Brightness sethsbcolor fill - /CurrentY CurrentY YSizePerLine add def - /Brightness Brightness BrightnessIncrement add def - /Saturation Saturation SaturationIncrement add def - /Hue Hue HueIncrement add def -} def - -end -% END pst-ghsb.pro diff --git a/Master/texmf-dist/tex/generic/pst-ghsb/pst-ghsb.tex b/Master/texmf-dist/tex/generic/pst-ghsb/pst-ghsb.tex deleted file mode 100644 index 952303e803d..00000000000 --- a/Master/texmf-dist/tex/generic/pst-ghsb/pst-ghsb.tex +++ /dev/null @@ -1,132 +0,0 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Plain-Tex -*- %%%%%%%%%%%%%%%%%%%%%%%%%% -%% pst-ghsb.tex --- For the PSTricks HSB mode gradient fillstyle -%% Based on pst-grad.tex from Timothy van Zandt -%% -%% Take care that Hue value is cyclic, so 1=0 ! -%% -%% Author : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr> -%% Created the : Tue May 13 11:12:36 1997 -%% Last mod. by : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr> -%% Last mod. the : Thu Jan 29 17:20:13 1998 -%% Last mod. by : Herert Voss <voss _at_ pstricks.de> -%% Last mod. the : June 06 2004 -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\def\fileversion{1.2} -\def\filedate{2004/06/23} - -%% This program can be redistributed and/or modified under the terms -%% of the LaTeX Project Public License Distributed from CTAN -%% archives in directory macros/latex/base/lppl.txt. -% -%% This defines a new fill style, "gradient", for use with PSTricks, -%% which has gradiated color. The following parameters are used: -%% -%% gradbegin=color : Beginning color. -%% gradend=color : Final color. -%% gradlines=int : Number of lines to use. The higher the number, -%% the slower the rendering. -%% gradmidpoint=num : Gradient color goes from gradbegin to gradend, -%% and then back to beginning. Midpoint (point -%% where "gradend" color appears, is gradmidpoint -%% from the top. (0 <= Gmidpoint <= 1). -%% gradangle=angle : Rotate image by angle. -%% GradientCircle=true : Instead of a linear a circled gradient is build. -%% (version 1.04) -%% GradientPos=(x,y) : the center of the circled gradient -%% (version 1.04) -%% GradientScale=float : scaling factor of the circled gradient -%% (version 1.04) -%% - -\message{ v\fileversion, \filedate} - -\csname GradientHSBLoaded\endcsname -\let\GradientHSBLoaded\endinput - -\ifx\PSTricksLoaded\endinput\else - \def\next{\input pstricks.tex }\expandafter\next -\fi - -\edef\TheAtCode{\the\catcode`\@} -\catcode`\@=11 - -\pstheader{pst-ghsb.pro} - -\newrgbcolor{gradbegin}{0 .1 .95} -\def\psset@gradbegin#1{\pst@getcolor{#1}\psgradbegin} -\psset@gradbegin{gradbegin} - -\newrgbcolor{gradend}{0 1 1} -\def\psset@gradend#1{\pst@getcolor{#1}\psgradend} -\psset@gradend{gradend} - -\def\psset@gradlines#1{% - \pst@getint{#1}\psgradlines - \ifnum\psgradlines<2 - \@pstrickserr{gradlines must be at least 2}\@epha - \def\psgradlines{2 }% - \fi} -\psset@gradlines{300} - -\def\psset@gradmidpoint#1{\pst@checknum{#1}\psgradmidpoint} -\psset@gradmidpoint{.9} - -\def\psset@gradangle#1{\pst@getangle{#1}\psk@gradangle} -\psset@gradangle{0} - -% Herbert Voss 2004-06-23 -% To define the gradient as linear or as circle -\newif\ifGradientCircle -\def\psset@GradientCircle#1{\@nameuse{GradientCircle#1}} -\psset@GradientCircle{false} - -% Position of the center of the gradient -\def\psset@GradientPos#1{\psset@@GradientPos#1} -\def\psset@@GradientPos(#1){\edef\ps@GradientPos{#1}} -\psset@GradientPos{(0,0)} - -% Scale factor -\def\psset@GradientScale#1{\edef\ps@GradientScale{#1}} -\psset@GradientScale{1} - -\newif\ifgradientHSB -\def\psset@gradientHSB#1{\@nameuse{gradientHSB#1}} -\psset@gradientHSB{false} - -\def\psfs@gradient{% - \ifgradientHSB - \addto@pscode{% - gsave - gsave \pst@usecolor\psgradbegin currenthsbcolor grestore - gsave \pst@usecolor\psgradend currenthsbcolor grestore - \psgradlines - \psgradmidpoint - \psk@gradangle -% hv 2004-05-05 begin fixed a spurious blank - tx@GradientHSBDict begin GradientFillHSB end grestore% - }% -% tx@GradientHSBDict begin GradientFillHSB end grestore} -% hv 2004-05-05 end - \else% -% hv 2004-06-25 begin fixed a spurious blank - \pst@getcoor{\ps@GradientPos}{\pst@tempa}% <- "%" hv 2004-06-23 -% hv end - \addto@pscode{% - gsave - \ifGradientCircle true \else false \fi - \ps@GradientScale\space - \pst@tempa\space - gsave \pst@usecolor\psgradbegin currentrgbcolor grestore - gsave \pst@usecolor\psgradend currentrgbcolor grestore - \psgradlines - \psgradmidpoint - \psk@gradangle - tx@GradientDict begin GradientFill end grestore% - }% - \fi% -} - -\catcode`\@=\TheAtCode\relax -\endinput -%% END pst-ghsb.tex diff --git a/Master/texmf-dist/tex/latex/pst-ghsb/pst-ghsb.sty b/Master/texmf-dist/tex/latex/pst-ghsb/pst-ghsb.sty deleted file mode 100644 index c92a5c6ed33..00000000000 --- a/Master/texmf-dist/tex/latex/pst-ghsb/pst-ghsb.sty +++ /dev/null @@ -1,3 +0,0 @@ -\ProvidesPackage{pst-ghsb}[1997/05/14: package wrapper for PSTricks pst-ghsb.tex] -\input pst-ghsb.tex -\endinput diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 41fe5cde6f5..5cdc572fda4 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1112,6 +1112,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'pst-geo', "&MAKEpst", 'pst-geo-compress', "die 'skipping, in pst-geo, check with hvoss'", 'pst-geometrictools', "&MAKEpst", + 'pst-ghsb', "die 'skipping, in pst-grad'", 'pst-gr3d', "&MAKEpst", 'pst-grad', "&MAKEpst", 'pst-graphicx',"&MAKEpst", diff --git a/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc b/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc index e01ab457202..f45c5953006 100644 --- a/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc @@ -51,7 +51,6 @@ depend pst-func depend pst-gantt depend pst-geo depend pst-geometrictools -depend pst-ghsb depend pst-gr3d depend pst-grad depend pst-graphicx diff --git a/Master/tlpkg/tlpsrc/pst-ghsb.tlpsrc b/Master/tlpkg/tlpsrc/pst-ghsb.tlpsrc deleted file mode 100644 index 906e8e45f49..00000000000 --- a/Master/tlpkg/tlpsrc/pst-ghsb.tlpsrc +++ /dev/null @@ -1,2 +0,0 @@ -shortdesc HSB gradients via PSTricks -longdesc Usage modeled on pst-grad; superseded by pst-slpe. |