diff options
author | Karl Berry <karl@freefriends.org> | 2008-09-11 22:19:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-09-11 22:19:07 +0000 |
commit | b446a7b6b22e21847e43347c5d6097d651b7a91b (patch) | |
tree | cdb0fed64daa268455d232d6f9a043e419a8f59f /Master/texmf-dist/tex/latex/pstricks | |
parent | 8811eba4520e67dc164e292e16ca603f50d77e97 (diff) |
restore pstricks latex files in tex/latex subdir (oberdiek 5 Sep 2008 07:46:37)
git-svn-id: svn://tug.org/texlive/trunk@10565 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks')
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pst-all.sty | 31 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pst-key.sty | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pst-node.sty | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pst-plot.sty | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pst-tree.sty | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pstcol.sty | 24 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pstricks.sty | 215 |
7 files changed, 298 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-all.sty b/Master/texmf-dist/tex/latex/pstricks/pst-all.sty new file mode 100644 index 00000000000..8ac0ada25bf --- /dev/null +++ b/Master/texmf-dist/tex/latex/pstricks/pst-all.sty @@ -0,0 +1,31 @@ +%% +%% This is file `pst-all.sty' +%% +%% IMPORTANT NOTICE: +%% +%% Copyright (C) 1997 Timothy Van Zandt +%% Copyright (C) 2004-2008 Herbert Voss <voss@perce.de> +%% Rolf Niepraschk <Rolf.Niepraschk@ptb.de> +%% +%% This package may be distributed under the terms of the LaTeX Project +%% Public License, as described in lppl.txt in the base LaTeX distribution. +%% Either version 1.0 or, at your option, any later version. +%% +\ProvidesPackage{pst-all}[2008/01/01 the main pstricks tools] +\RequirePackage{pstricks} % important +% this loads the xcolor package and pstricks in the right order +% and does some modification to the color handling. Look at the +% doc for the options. +% +\RequirePackage{pst-node} +\RequirePackage{pst-tree} +\RequirePackage{pst-plot} +\RequirePackage{pst-grad} +\RequirePackage{pst-coil} +\RequirePackage{pst-text} +\RequirePackage{pst-3d} +\RequirePackage{pst-eps} +\RequirePackage[tiling]{pst-fill} +\RequirePackage{pstricks-add} +\RequirePackage{multido} +\endinput diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-key.sty b/Master/texmf-dist/tex/latex/pstricks/pst-key.sty new file mode 100644 index 00000000000..74db6c70a9a --- /dev/null +++ b/Master/texmf-dist/tex/latex/pstricks/pst-key.sty @@ -0,0 +1,6 @@ +\RequirePackage{pstricks} +\ProvidesPackage{pst-key}[2004/07/15 package wrapper for pst-key.tex] +\input{pst-key.tex} +\ProvidesFile{pst-key.tex} + [1998/07/23 v1.11 key=value parser (DPC)] +\endinput diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-node.sty b/Master/texmf-dist/tex/latex/pstricks/pst-node.sty new file mode 100644 index 00000000000..e930966dc41 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pstricks/pst-node.sty @@ -0,0 +1,10 @@ +\RequirePackage{pstricks} +\ProvidesPackage{pst-node}[2006/01/01 package wrapper for pst-node.tex] +\input{pst-node.tex} +\ProvidesFile{pst-node.tex} + [\filedate\space \fileversion\space `pst-node' (tvz)] +\IfFileExists{pst-node.pro}{% + \ProvidesFile{pst-node.pro} + [2008/01/01 v. 1.00, PostScript prologue file (hv)] + \@addtofilelist{pst-node.pro}}{}% +\endinput diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-plot.sty b/Master/texmf-dist/tex/latex/pstricks/pst-plot.sty new file mode 100644 index 00000000000..598b46de429 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pstricks/pst-plot.sty @@ -0,0 +1,6 @@ +\RequirePackage{pstricks} +\ProvidesPackage{pst-plot}[2004/07/15 package wrapper for pst-plot.tex] +\input{pst-plot.tex} +\ProvidesFile{pst-plot.tex} + [\filedate\space \fileversion\space `pst-plot' (tvz)] +\endinput diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-tree.sty b/Master/texmf-dist/tex/latex/pstricks/pst-tree.sty new file mode 100644 index 00000000000..73682620386 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pstricks/pst-tree.sty @@ -0,0 +1,6 @@ +\RequirePackage{pstricks} +\ProvidesPackage{pst-tree}[2004/07/15 package wrapper for pst-tree.tex] +\input{pst-tree.tex} +\ProvidesFile{pst-tree.tex} + [\filedate\space \fileversion\space `pst-tree' (tvz)] +\endinput diff --git a/Master/texmf-dist/tex/latex/pstricks/pstcol.sty b/Master/texmf-dist/tex/latex/pstricks/pstcol.sty new file mode 100644 index 00000000000..29c4affd9f9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pstricks/pstcol.sty @@ -0,0 +1,24 @@ +%% +%% pstcol.sty Copyright (C) 1994--1996 1999 David Carlisle +%% 2004--2007 Herbert Voss <voss@perce.de> +%% Rolf Niepraschk <Rolf.Niepraschk@ptb.de> +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{pstcol} + [2007/04/11 v1.3 LaTeX wrapper for `PSTricks' (RN,HV)] + +\DeclareOption*{\PassOptionsToPackage\CurrentOption{color}} +\ProcessOptions\relax + +\PackageWarningNoLine{pstcol}{% + ************************************ \MessageBreak + The package `pstcol' is obsolet! \MessageBreak + You should use `pstricks' directly: \MessageBreak + \@spaces\string\usepackage{pstricks}\MessageBreak + ************************************} + +\PassOptionsToPackage{noxcolor}{pstricks} +\RequirePackage{pstricks} + +\endinput +%% diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty new file mode 100644 index 00000000000..2b7a1a875f9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty @@ -0,0 +1,215 @@ +%% +%% This is file `pstricks.sty'. +%% +%% IMPORTANT NOTICE: +%% +%% pstricks.sty Copyright (C) 1997 Timothy Van Zandt +%% pstcol.sty Copyright (C) 1994-1996 1999 David Carlisle +%% pstricks.sty Copyright (C) 2004-2008 Herbert Voss <voss@perce.de> +%% Rolf Niepraschk <Rolf.Niepraschk@ptb.de> +%% +%% This package may be distributed under the terms of the LaTeX Project +%% Public License, as described in lppl.txt in the base LaTeX distribution. +%% Either version 1.0 or, at your option, any later version. +%% + +\NeedsTeXFormat{LaTeX2e} + +\ProvidesPackage{pstricks} + [2008/01/24 v0.37 LaTeX wrapper for `PSTricks' (RN,HV)] +% +\def\documentclass{ + \edef\@tempa{\jobname.tex }% + \edef\@tempb{\@filef@und}% + \@onelevel@sanitize\@tempa + \@onelevel@sanitize\@tempb + \ifx\@tempa\@tempb + \@latex@error + {`\jobname.tex' is a forbidden name for your document,\MessageBreak + it is already a name of a package}% + {Choose another name for your document}\@gobble + \else + \@twoclasseserror + \fi +} +% +%------------------------------------ PLAIN -------------------------------- +\DeclareOption{plain}{% + \input{pstricks.tex} + \ProvidesFile{pstricks.tex} + [\filedate\space v\fileversion\space `PSTricks' (tvz)] + \endinput +} +\DeclareOption*{\OptionNotUsed} + +\ProcessOptions\relax + +\@ifundefined{PSTricksLoaded} +{% + \let\saved@scalebox\scalebox + \input{pstricks.tex} + \ProvidesFile{pstricks.tex} + [\filedate\space v\fileversion\space `PSTricks' (tvz)] + \IfFileExists{pstricks.pro}{% + \ProvidesFile{pstricks.pro} + [2008/01/01 v. 1.05, PostScript prologue file (hv)] + \@addtofilelist{pstricks.pro}}{}% + \IfFileExists{pst-dots.pro}{% + \ProvidesFile{pst-dots.pro} + [2006/12/19 v. 2.02, PostScript prologue file (hv)] + \@addtofilelist{pst-dots.pro}}{}% + \IfFileExists{pst-algparser.pro}{% + \ProvidesFile{pst-algparser.pro} + [2008/01/01 v. 0.01, PostScript prologue file (hv)] + \@addtofilelist{pst-algparser.pro}}{}% + {% + \let\psscalebox=\scalebox + \let\psscaleboxto=\scaleboxto + }{} + \let\scalebox\saved@scalebox +}{} + +\IfFileExists{xcolor.sty}{% + \def\pst@ColorPackage{xcolor} + \PassOptionsToPackage{override}{xcolor} +}{\def\pst@ColorPackage{color}}% + +%------------------------------------ DIA -------------------------------- +\newif\ifpst@DIA\pst@DIAfalse +\DeclareOption{DIA}{\pst@DIAtrue} +\DeclareOption{noxcolor}{\def\pst@ColorPackage{color}} +\DeclareOption{vtex}{% + \pst@def{setTransparency}< > + \pst@def{setStrokeTransparency}< > + \pst@def{setBlendmode}< >% +} +%---------------------------------DISTILLER -------------------------------- +\DeclareOption{distiller}{% + \pst@def{setTransparency}< + [ /ca \psk@opacityalpha + /CA \psk@opacityalpha /SetTransparency pdfmark > + \pst@def{setStrokeTransparency}< + [ /ca \psk@strokeopacityalpha + /CA \psk@strokeopacityalpha /SetTransparency pdfmark > + \pst@def{setBlendmode}< + [ /BM\ifcase\psk@blendmode% + /Normal \or % 0 + /Multiply \or % 1 + /Screen \or % 2 + /Overlay \or % 3 + /Darken \or % 4 + /Lighten \or % 5 + /ColorDodge \or % 6 + /ColorBurn \or % 7 + /HardLight \or % 8 + /SoftLight \or % 9 + /Difference \or % 10 + /Exclusion \or % 11 + /Hue \or % 12 + /Color \or % 13 + /Saturation \or % 14 + /Luminosity % 15 + \else /Normal \fi + /ca \psk@shapealpha /CA \psk@opacityalpha /SetTransparency pdfmark >% +} +%---------------------------------COLOR -------------------------------- +\DeclareOption*{% + \PassOptionsToPackage\CurrentOption{\pst@ColorPackage}} +\ProcessOptions\relax + +\RequirePackage{\pst@ColorPackage} + +\@ifpackageloaded{xcolor}{% + \@ifpackagelater{xcolor}{2004/05/02}% + {% + \let\pst@getcolor\XC@getcolor + \let\pst@usecolor\XC@usecolor + } + {% + \PackageError{pstricks}{% + *************************************************\MessageBreak + * Your Version of `xcolor.sty' is too old!\MessageBreak + * You need the version from 2004/05/02 or newer\MessageBreak + * or use: \string\usepackage[noxcolor]{pstricks}\MessageBreak + *************************************************}{}% + }% +}{% + \def\pst@getcolor#1#2{% + \@ifundefined{\string\color@#1}% + {\@pstrickserr{Color `#1' not defined}\@eha}% + {\edef#2{#1}}}% + \def\pst@usecolor#1{\expandafter\expandafter\expandafter\c@lor@to@ps% + \csname\string\color@#1\endcsname\@@\space}% + \definecolor{darkgray}{gray}{.25} + \definecolor{gray}{gray}{.5} + \definecolor{lightgray}{gray}{.75} +}% +% +\definecolor{gradbegin}{rgb}{0,1,1} +\definecolor{gradend}{rgb}{0,.1,.95} +% +\@ifundefined{xglobal}% + {\def\xglobal#1#2#3#4% UK 2005-11-17 + {#1{#2}{#3}{#4}% + \expandafter\global\expandafter\let\csname\string\color@#2% + \expandafter\endcsname\csname\string\color@#2\endcsname}}{}% +% +\def\newgray#1{% + \expandafter\gdef\csname #1\endcsname{\color{#1}}% HV 2004-03-31 + \xglobal\definecolor{#1}{gray}}% +% +\def\newrgbcolor#1#2{% + \expandafter\gdef\csname #1\endcsname{\color{#1}}% HV 2004-03-31 + \edef\@tempa{\noexpand\newrgbcolorx{#1}#2\noexpand\@@}\@tempa}% +\def\newrgbcolorx#1#2 #3 #4\@@{% + \xglobal\definecolor{#1}{rgb}{#2,#3,#4}} +% +\def\newcmykcolor#1#2{% + \expandafter\gdef\csname #1\endcsname{\color{#1}}% HV 2004-03-31 + \edef\@tempa{\noexpand\newcmykcolorx{#1}#2\noexpand\@@}\@tempa} +\def\newcmykcolorx#1#2 #3 #4 #5\@@{% + \xglobal\definecolor{#1}{cmyk}{#2,#3,#4,#5}} +% +\def\newhsbcolor#1#2{% + \expandafter\gdef\csname #1\endcsname{\color{#1}}% HV 2004-03-31 + \edef\@tempa{\noexpand\newhsbcolorx{#1}#2\noexpand\@@}\@tempa} +\def\newhsbcolorx#1#2 #3 #4\@@{% + \xglobal\definecolor{#1}{hsb}{#2,#3,#4}} +% +\definecolor{black}{gray}{0} +\definecolor{darkgray}{gray}{.25} +\definecolor{gray}{gray}{.5} +\definecolor{lightgray}{gray}{.75} +\definecolor{white}{gray}{1} +\definecolor{red}{rgb}{1,0,0} +\definecolor{green}{rgb}{0,1,0} +\definecolor{blue}{rgb}{0,0,1} +%\definecolor{yellow}{rgb}{1,1,0} +%\definecolor{cyan}{rgb}{0,1,1} +%\definecolor{magenta}{rgb}{1,0,1} +\definecolor{yellow}{cmyk}{0,0,1,0} +\definecolor{cyan}{cmyk}{1,0,0,0} +\definecolor{magenta}{cmyk}{0,1,0,0} +% +\renewcommand*\black{\color{black}} +\renewcommand*\darkgray{\color{darkgray}} +\renewcommand*\gray{\color{gray}} +\renewcommand*\lightgray{\color{lightgray}} +\renewcommand*\white{\color{white}} +\renewcommand*\blue{\color{blue}} +\renewcommand*\red{\color{red}} +\renewcommand*\green{\color{green}} +\renewcommand*\yellow{\color{yellow}} +\renewcommand*\magenta{\color{magenta}} +\renewcommand*\cyan{\color{cyan}} +% +\AtBeginDocument{% + \psset{fillcolor=white}% hv 0.33 + \let\pst@endcolor=\relax% +% \let\pst@color=\relax% +% LaTeX used `\color@endgroup' instead. RN 2004-05-06 +} +% +\endinput +%% +%% End of file `pstricks.sty'. |