summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pstricks
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:04:42 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:04:42 +0000
commit1e7a210f82a93c44cc1fb0a90dea0fc02854a496 (patch)
treedff45e44aac711ff8982e61ce4ceb18516cd1925 /Master/texmf-dist/tex/latex/pstricks
parentd5638043648341121fbc50fade8dfb12d785035a (diff)
pstricks
git-svn-id: svn://tug.org/texlive/trunk@1256 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks')
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/Changes6
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-all.sty31
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-char.sty6
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-coil.sty6
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-eps.sty6
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-fill.sty8
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-grad.sty6
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-key.sty6
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-node.sty6
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-plot.sty6
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-text.sty6
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-tree.sty6
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pstricks.sty179
13 files changed, 278 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/Changes b/Master/texmf-dist/tex/latex/pstricks/Changes
new file mode 100644
index 00000000000..2439fef4cf3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/pstricks/Changes
@@ -0,0 +1,6 @@
+pstricks.sty --------
+0.24 2005-08-25 commented the \scalebox macros
+0.23 2005-06-02 Option DIA to prevebt a clash with \scalebox (hv)
+0.22 2005-06-02 Option DIA to prevebt a clash with \scalebox (hv)
+0.21 2005-02-21 fix problem with \newrgbcolor (RN,hv)
+
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..66b0e47d600
--- /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 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}[2004/05/06 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-grad}
+\RequirePackage{pst-plot}
+\RequirePackage{pst-coil}
+\RequirePackage{pst-text}
+\RequirePackage{pst-char}
+\RequirePackage{pst-node}
+\RequirePackage{pst-3d}
+\RequirePackage{pst-eps}
+\RequirePackage[tiling]{pst-fill}
+\RequirePackage{pst-tree}
+\RequirePackage{multido}
+\endinput
diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-char.sty b/Master/texmf-dist/tex/latex/pstricks/pst-char.sty
new file mode 100644
index 00000000000..c77df4f80e1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/pstricks/pst-char.sty
@@ -0,0 +1,6 @@
+\RequirePackage{pstricks}
+\ProvidesPackage{pst-char}[2004/07/15 package wrapper for pst-char.tex]
+\input{pst-char.tex}
+\ProvidesFile{pst-char.tex}
+ [\filedate\space \fileversion\space `pst-char' (tvz)]
+\endinput
diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-coil.sty b/Master/texmf-dist/tex/latex/pstricks/pst-coil.sty
new file mode 100644
index 00000000000..752cebaa9b4
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/pstricks/pst-coil.sty
@@ -0,0 +1,6 @@
+\RequirePackage{pstricks}
+\ProvidesPackage{pst-coil}[2004/07/15 package wrapper for pst-coil.tex]
+\input{pst-coil.tex}
+\ProvidesFile{pst-coil.tex}
+ [\filedate\space v\fileversion\space `pst-coil' (tvz)]
+\endinput
diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-eps.sty b/Master/texmf-dist/tex/latex/pstricks/pst-eps.sty
new file mode 100644
index 00000000000..e41a884b663
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/pstricks/pst-eps.sty
@@ -0,0 +1,6 @@
+\RequirePackage{pstricks}
+\ProvidesPackage{pst-eps}[2005/05/20 package wrapper for pst-eps.tex (hv)]
+\input{pst-eps.tex}
+\ProvidesFile{pst-eps.tex}
+ [\filedate\space \fileversion\space `pst-eps' (tvz)]
+\endinput
diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-fill.sty b/Master/texmf-dist/tex/latex/pstricks/pst-fill.sty
new file mode 100644
index 00000000000..706eecef5af
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/pstricks/pst-fill.sty
@@ -0,0 +1,8 @@
+\RequirePackage{pstricks}
+\ProvidesPackage{pst-fill}[2004/07/15 package wrapper for pst-fill.tex]
+\DeclareOption{tiling}{\def\PstTiling{true}}
+\ProcessOptions\relax
+\input{pst-fill.tex}
+\ProvidesFile{pst-fill.tex}
+ [\filedate\space \fileversion\space `pst-fill' (tvz)]
+\endinput
diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-grad.sty b/Master/texmf-dist/tex/latex/pstricks/pst-grad.sty
new file mode 100644
index 00000000000..e2a2235a0f1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/pstricks/pst-grad.sty
@@ -0,0 +1,6 @@
+\RequirePackage{pstricks}
+\ProvidesPackage{pst-grad}[2004/07/15 package wrapper for pst-grad.tex]
+\input{pst-grad.tex}
+\ProvidesFile{pst-grad.tex}
+ [\filedate\space \fileversion\space `pst-grad' (tvz)]
+\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..06de912d4c2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/pstricks/pst-node.sty
@@ -0,0 +1,6 @@
+\RequirePackage{pstricks}
+\ProvidesPackage{pst-node}[2004/07/15 package wrapper for pst-node.tex]
+\input{pst-node.tex}
+\ProvidesFile{pst-node.tex}
+ [\filedate\space \fileversion\space `pst-node' (tvz)]
+\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-text.sty b/Master/texmf-dist/tex/latex/pstricks/pst-text.sty
new file mode 100644
index 00000000000..80e4381879d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/pstricks/pst-text.sty
@@ -0,0 +1,6 @@
+\RequirePackage{pstricks}
+\ProvidesPackage{pst-text}[2004/07/15 package wrapper for pst-text.tex]
+\input{pst-text.tex}
+\ProvidesFile{pst-text.tex}
+ [\filedate\space \fileversion\space `pst-text' (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/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
new file mode 100644
index 00000000000..69391b99323
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
@@ -0,0 +1,179 @@
+%%
+%% This is file `pstricks.sty' based on the code of `pstcol.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-2005 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}
+ [2005/10/07 v0.25 LaTeX wrapper for `PSTricks' (RN,HV)]
+
+\DeclareOption{plain}{%
+ \input{pstricks.tex}
+ \ProvidesFile{pstricks.tex}
+ [\filedate\space v\fileversion\space `PSTricks' (tvz)]
+ \endinput
+}
+\DeclareOption*{\OptionNotUsed}
+
+\ProcessOptions\relax
+
+\@ifpackageloaded{pstcol}{}{\let\saved@gray\color@gray}
+
+\@ifundefined{PSTricksLoaded}
+{%
+ \let\saved@scalebox\scalebox
+ \input{pstricks.tex}
+ \ProvidesFile{pstricks.tex}
+ [\filedate\space v\fileversion\space `PSTricks' (tvz)]
+ \@ifundefined{psscalebox}%
+ {%
+ \let\psscalebox=\scalebox
+ \let\psscaleboxto=\scaleboxto
+ }{}
+ \let\scalebox\saved@scalebox
+}{}
+
+\def\pst@LaTeX@Setup{%
+ \PassOptionsToPackage{override}{xcolor}
+%
+ \IfFileExists{xcolor.sty}%
+ {\def\pst@ColorPackage{xcolor}}{\def\pst@ColorPackage{color}}%
+%
+ \newif\ifpst@DIA\pst@DIAfalse
+ \DeclareOption{DIA}{\pst@DIAtrue}
+ \DeclareOption{noxcolor}{\def\pst@ColorPackage{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}
+%
+ \@ifpackageloaded{pstcol}{%
+ \psset@bordercolor{white}
+ \psset@doublecolor{white}
+ \psset@linecolor{black}
+ \psset@fillcolor{white}
+ \psset@hatchcolor{black}
+ \psset@gridcolor{black}
+ \psset@gridlabelcolor{black}
+ \psset@shadowcolor{darkgray}
+ \psset@subgridcolor{gray}
+ }{}%
+%
+ \def\newgray##1##2{%
+ \expandafter\gdef\csname ##1\endcsname{\color{##1}}% HV 2004-03-31
+ \edef\@tempa{\noexpand\definecolor{##1}{gray}{##2}}\@tempa%
+ \expandafter\xdef\csname color@##1\endcsname{##2 setgray}% HA 2005-02-24
+ }%
+ \def\newrgbcolor##1##2{%
+ \expandafter\gdef\csname ##1\endcsname{\color{##1}}% HV 2004-03-31
+ \edef\@tempa{\noexpand\newrgbcolorx{##1}##2\noexpand\@@}\@tempa
+ \expandafter\xdef\csname color@##1\endcsname{##2 setrgbcolor}% HA 2005-02-24
+ }
+ \def\newrgbcolorx##1##2 ##3 ##4\@@{%
+ \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
+ \expandafter\xdef\csname color@##1\endcsname{##2 setcmykcolor}% HA 2005-02-24
+ }%
+ \def\newcmykcolorx##1##2 ##3 ##4 ##5\@@{%
+ \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
+ \expandafter\xdef\csname color@##1\endcsname{##2 sethsbcolor}% HA 2005-02-24
+ }%
+ \def\newhsbcolorx##1##2 ##3 ##4\@@{%
+ \definecolor{##1}{hsb}{##2,##3,##4}}%
+%
+ \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}}
+%
+ \let\pst@LaTeX@Setup=\relax%
+}
+
+\@ifpackageloaded{pstcol}% Is our package called from `pstcol'?
+{%
+% We use our own definitions even if `pstcol' is in the first
+% place (adding to pstcol's \AtEndOfPackage hook). RN 2004-05-02
+ \expandafter\g@addto@macro\csname pstcol.sty-h@@k\endcsname{%
+ \pst@LaTeX@Setup}%
+}%
+{%
+ \let\color@gray\saved@gray%
+% Dummy version entry for `pstcol' to prevent forther loading. RN 2004-04-22
+ \@namedef{ver@pstcol.sty}{1938/01/10}% The birthday of Don Knuth
+ \PassOptionsToPackage{usenames}{color}
+ \pst@LaTeX@Setup%
+}
+
+\AtBeginDocument{%
+ \@ifpackageloaded{pstcol}%
+ {%
+ \@ifpackagelater{pstcol}{1938/01/11}{% Really loaded? RN 2004-04-22
+ \PackageWarningNoLine{pstricks}{%
+ *************************************************\MessageBreak
+ * The installed version of `pstricks.sty' doesn't\MessageBreak
+ * need `pstcol' any more. You should write only:\MessageBreak
+ * \@spaces\string\usepackage{pstricks}\MessageBreak
+ *************************************************}
+ }{\expandafter\let\csname ver@pstcol.sty\endcsname\relax}%
+ }{}%
+% \ifpst@DIA\else\@ifundefined{saved@scalebox}{}{\let\scalebox=\saved@scalebox}\fi%
+ \let\pst@endcolor=\relax%
+% LaTeX used `\color@endgroup' instead. RN 2004-05-06
+}
+%
+\endinput
+%%
+%% End of file `pstricks.sty'.