summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-20 21:13:15 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-20 21:13:15 +0000
commit0e5381d09e3621a166363ab885a862376cf999c8 (patch)
treeee910d742190388fd61ed756fa1b02e62cb25004
parentd815dece6f595d991bfdb3406fc0c08bdb05f5b9 (diff)
pst-slpe v1.2 2008/06/19
git-svn-id: svn://tug.org/texlive/trunk@8889 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/pst-slpe/Changes7
-rw-r--r--Master/texmf-dist/doc/generic/pst-slpe/README4
-rw-r--r--Master/texmf-dist/doc/generic/pst-slpe/pst-slpe.pdfbin172531 -> 223655 bytes
-rw-r--r--Master/texmf-dist/dvips/pst-slpe/pst-slpe.pro4
-rw-r--r--Master/texmf-dist/source/generic/pst-slpe/Makefile42
-rw-r--r--Master/texmf-dist/source/generic/pst-slpe/pst-slpe.dtx (renamed from Master/texmf-dist/source/latex/pst-slpe/pst-slpe.dtx)165
-rw-r--r--Master/texmf-dist/source/generic/pst-slpe/pst-slpe.ins (renamed from Master/texmf-dist/source/latex/pst-slpe/pst-slpe.ins)0
-rw-r--r--Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex23
-rw-r--r--Master/texmf-dist/tex/latex/pst-slpe/pst-slpe.sty8
9 files changed, 203 insertions, 50 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-slpe/Changes b/Master/texmf-dist/doc/generic/pst-slpe/Changes
new file mode 100644
index 00000000000..6d053d61628
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-slpe/Changes
@@ -0,0 +1,7 @@
+pst-slpe.tex --------
+1.2 2008/06/19 \textbackslash psBall (hv)
+1.1 2006/06/19 using the extended pst-xkey
+ instead of the old pst-key package;
+ creating a dtx file (hv)
+1.0 2005/03/05 More compatible to the other PStricks
+ packages. (RN)
diff --git a/Master/texmf-dist/doc/generic/pst-slpe/README b/Master/texmf-dist/doc/generic/pst-slpe/README
index 8e3c7b22c1c..466d90a75c7 100644
--- a/Master/texmf-dist/doc/generic/pst-slpe/README
+++ b/Master/texmf-dist/doc/generic/pst-slpe/README
@@ -1,7 +1,7 @@
-----------------------------------------------------
| pst-slpe: PSTricks package for improved gradients |
| |
-| Version 1.1 (October 05, 2005) |
+| Version 1.2 (June 19, 2008) |
| Martin Giese <giese@ira.uka.de> |
-----------------------------------------------------
@@ -16,4 +16,4 @@ directories
--
Martin Giese (updated September 15, 1998)
-Herbert Voss (using xkeyval -- 2005-10-05) \ No newline at end of file
+Herbert Voss (using xkeyval -- 2008-06-19) \ No newline at end of file
diff --git a/Master/texmf-dist/doc/generic/pst-slpe/pst-slpe.pdf b/Master/texmf-dist/doc/generic/pst-slpe/pst-slpe.pdf
index 82daac67dde..61afa3e7f5e 100644
--- a/Master/texmf-dist/doc/generic/pst-slpe/pst-slpe.pdf
+++ b/Master/texmf-dist/doc/generic/pst-slpe/pst-slpe.pdf
Binary files differ
diff --git a/Master/texmf-dist/dvips/pst-slpe/pst-slpe.pro b/Master/texmf-dist/dvips/pst-slpe/pst-slpe.pro
index 806765693f7..d64911ad77a 100644
--- a/Master/texmf-dist/dvips/pst-slpe/pst-slpe.pro
+++ b/Master/texmf-dist/dvips/pst-slpe/pst-slpe.pro
@@ -20,6 +20,10 @@
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
+%% 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.
+%%
/tx@PstSlopeDict 60 dict def tx@PstSlopeDict begin
/max {2 copy lt {exch} if pop} bind def
/Iterate {
diff --git a/Master/texmf-dist/source/generic/pst-slpe/Makefile b/Master/texmf-dist/source/generic/pst-slpe/Makefile
new file mode 100644
index 00000000000..f8f0425b08f
--- /dev/null
+++ b/Master/texmf-dist/source/generic/pst-slpe/Makefile
@@ -0,0 +1,42 @@
+
+# `Makefile' for `pst-slpe.pdf', RN, 2005/10/07
+
+.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps
+
+PACKAGE = pst-slpe
+
+LATEX = latex
+
+ARCHNAME = $(PACKAGE)-$(shell date +%y%m%d)
+
+ARCHFILES = $(PACKAGE).dtx $(PACKAGE).ins Makefile
+
+doc: $(PACKAGE).pdf
+
+$(PACKAGE).pdf : $(PACKAGE).ps
+ GS_OPTIONS=-dAutoRotatePages=/None ps2pdf $<
+
+$(PACKAGE).ps : $(PACKAGE).dvi
+ dvips $<
+
+$(PACKAGE).dvi : $(PACKAGE).dtx
+ $(LATEX) $<
+ if ! test -f $(basename $<).glo ; then touch $(basename $<).glo; fi
+ if ! test -f $(basename $<).idx ; then touch $(basename $<).idx; fi
+ makeindex -s gglo.ist -t $(basename $<).glg -o $(basename $<).gls \
+ $(basename $<).glo
+ makeindex -s gind.ist -t $(basename $<).ilg -o $(basename $<).ind \
+ $(basename $<).idx
+ $(LATEX) $<
+
+clean :
+ $(RM) $(addprefix $(PACKAGE), .log .aux .glg .glo .gls .ilg .idx .ind)
+ $(RM) $(addprefix $(PACKAGE), .dvi .ps)
+
+veryclean : clean
+ $(RM) $(PACKAGE).pdf
+
+arch :
+ zip $(ARCHNAME).zip $(ARCHFILES)
+
+# EOF
diff --git a/Master/texmf-dist/source/latex/pst-slpe/pst-slpe.dtx b/Master/texmf-dist/source/generic/pst-slpe/pst-slpe.dtx
index a67664b0057..04fe2c3cf69 100644
--- a/Master/texmf-dist/source/latex/pst-slpe/pst-slpe.dtx
+++ b/Master/texmf-dist/source/generic/pst-slpe/pst-slpe.dtx
@@ -1,59 +1,77 @@
%\iffalse -*-mode:Latex;tex-command:"latex *;dvips pst-slpe -o"-*- \fi
%\iffalse
-% $Id: pst-slpe.dtx,v 1.7 1998/09/15 12:43:03 giese Exp $
%
-% Copyright 1998 Martin Giese, giese@ira.uka.de
-% 2005 Herbert Voss (using xkeyval)
+% Copyright 1998-2008 Martin Giese, mgiese@risc.uni-linz.ac.at
+% Herbert Voss (using xkeyval, \psBall)
%
-% This file is distributed in the hope that it will be useful,
-% but WITHOUT ANY WARRANTY; without even the implied warranty of
-% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%
-% IMPORTANT COPYRIGHT NOTICE:
-%
-% Permission is granted to copy this file to another file with a clearly
-% different name and to customize the declarations in that copy to serve
-% the needs of your installation, provided that you comply with
-% the conditions in the file legal.txt from the LaTeX2e distribution.
-%
-% However, NO PERMISSION is granted to produce or to distribute a
-% modified version of this file under its original name.
-%
-% You are NOT ALLOWED to change this file.
-%
+%% 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.
+%%
%\fi
-% \CharacterTable
-% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-% Digits \0\1\2\3\4\5\6\7\8\9
-% Exclamation \! Double quote \" Hash (number) \#
-% Dollar \$ Percent \% Ampersand \&
-% Acute accent \' Left paren \( Right paren \)
-% Asterisk \* Plus \+ Comma \,
-% Minus \- Point \. Solidus \/
-% Colon \: Semicolon \; Less than \<
-% Equals \= Greater than \> Question mark \?
-% Commercial at \@ Left bracket \[ Backslash \\
-% Right bracket \] Circumflex \^ Underscore \_
-% Grave accent \` Left brace \{ Vertical bar \|
-% Right brace \} Tilde \~}
-% \CheckSum{163}
-%
-% \changes{v1.1}{2005/10/05}{%
+% \changes{v1.2}{2008/06/19}{ \textbackslash psBall (hv)}
+% \changes{v1.1}{2006/06/19}{%
% using the extended pst-xkey instead of the old pst-key package;
% creating a dtx file (hv)}
% \changes{v1.0}{2005/03/05}{More compatible to the other PStricks
% packages. (RN)}
%
+%
+% \DoNotIndex{\!,\",\#,\$,\%,\&,\',\(,\+,\*,\,,\-,\.,\/,\:,\;,\<,\=,\>,\?}
+% \DoNotIndex{\@,\@B,\@K,\@cTq,\@f,\@fPl,\@ifnextchar,\@nameuse,\@oVk}
+% \DoNotIndex{\[,\\,\],\^,\_,\ }
+% \DoNotIndex{\^,\\^,\\\^,$\^$,$\\^$,$\\^$}
+% \DoNotIndex{\0,\2,\4,\5,\6,\7,\8,}
+% \DoNotIndex{\A,\a}
+% \DoNotIndex{\B,\b,\Bc,\begin,\Bq,\Bqc}
+% \DoNotIndex{\C,\c,\catcode,\cJA,\CodelineIndex,\csname}
+% \DoNotIndex{\D,\def,\define@key,\Df,\divide,\DocInput,\documentclass,\pst@addfams}
+% \DoNotIndex{\eCN,\edef,\else,\eHd,\eMcj,\EnableCrossrefs,\end,\endcsname}
+% \DoNotIndex{\endCenterExample,\endExample,\endinput,\endpsclip}
+% \DoNotIndex{\PrintIndex,\PrintChanges,\ProvidesFile}
+% \DoNotIndex{\endpspicture,\endSideBySideExample,\Example}
+% \DoNotIndex{\F,\f,\FdUrr,\fi,\filedate,\fileversion,\FV@Environment}
+% \DoNotIndex{\FV@UseKeyValues,\FV@XRightMargin,\FVB@Example,\fvset}
+% \DoNotIndex{\G,\g,\GetFileInfo,\gr,\GradientLoaded,\gsFKrbK@o,\gsj,\gsOX}
+% \DoNotIndex{\hbadness,\hfuzz,\HLEmphasize,\HLMacro,\HLMacro@i}
+% \DoNotIndex{\HLReverse,\HLReverse@i,\hqcu,\HqY}
+% \DoNotIndex{\I,\i,\ifx,\input,\Ir,\IU}
+% \DoNotIndex{\j,\jl,\JT,\JVodH}
+% \DoNotIndex{\K,\k,\kfSlL}
+% \DoNotIndex{\L,\let}
+% \DoNotIndex{\message,\mHNa,\mIU}
+% \DoNotIndex{\N,\nB,\newcmykcolor,\newdimen,\newif,\nW}
+% \DoNotIndex{\O,\oCDJDo,\ocQhVI,\OnlyDescription,\oRKJ}
+% \DoNotIndex{\P,\p,\ProvidesPackage,\psframe,\pslinewidth,\psset}
+% \DoNotIndex{\PstAtCode,\PSTricksLoaded}
+% \DoNotIndex{\q,\Qr,\qssRXq,\qu,\qXjFQp,\qYL}
+% \DoNotIndex{\R,\r,\RecordChanges,\relax,\RlaYI,\rN,\Rp,\rp,\RPDXNn,\rput}
+% \DoNotIndex{\S,\scalebox,\SgY,\SideBySide@Example,\SideBySideExample}
+% \DoNotIndex{\SgY,\sk,\Sp,\space,\sZb}
+% \DoNotIndex{\T,\the,\tw@}
+% \DoNotIndex{\u,\UiSWGEf@,\uJi,\usepackage,\uVQdMM,\UYj}
+% \DoNotIndex{\VerbatimEnvironment,\VerbatimInput,\VrC@}
+% \DoNotIndex{\WhZ,\WjKCYb,\WNs}
+% \DoNotIndex{\XkN,\XW}
+% \DoNotIndex{\Z,\ZCM,\Ze}
+% \DoNotIndex{\addtocounter,\advance,\alph,\arabic,\AtBeginDocument,\AtEndDocument}
+% \DoNotIndex{\AtEndOfPackage,\begingroup,\bfseries,\bgroup,\box,\csname}
+% \DoNotIndex{\else,\endcsname,\endgroup,\endinput,\expandafter,\fi}
+% \DoNotIndex{\TeX,\z@,\p@,\@one,\xdef,\thr@@,\string,\sixt@@n,\reset,\or,\multiply,\repeat,\RequirePackage}
+% \DoNotIndex{\@cclvi,\@ne,\@ehpa,\@nil,\copy,\dp,\global,\hbox,\hss,\ht,\ifodd,\ifdim,\ifcase,\kern}
+% \DoNotIndex{\chardef,\loop,\leavevmode,\ifnum,\lower}
+% \setcounter{IndexColumns}{2}
+%
%\iffalse
%<*!prolog>
-\def\pstslpefileversion{1.1}
-\def\pstslpefiledate{2005/10/05}
+\def\pstslpefileversion{1.2}
+\def\pstslpefiledate{2008/06/19}
%</!prolog>
%\fi
%
% \title{\textsf{pst-slpe} package \\ version \pstslpefileversion}
-% \author{Martin Giese\footnote{email:\texttt{giese@ira.uka.de}}}
+% \author{Martin Giese\footnote{email:\texttt{giese@ira.uka.de} Version 1.2 prepared
+% by Herbert Vo\ss\ \texttt{voss@pstricks.de}}}
% \date{\pstslpefiledate}
% \maketitle
%
@@ -133,6 +151,42 @@
% \end{verbatim}
% in ``plain'' \TeX.
%
+% \section{New macro and fill styles}
+% \DescribeMacro{\psBall}
+% It takes the (optional) coordinates of the ball center, the color
+% and the radius as parameter and uses |\pscircle| for painting
+% the bullet.
+%
+% \vspace{1cm}
+% \psBall{black}{2ex}
+% \psBall(1,0){blue}{3ex}
+% \psBall(2.5,0){red}{4ex}
+% \psBall(4,0){green!50!blue!60}{5ex}
+%
+% \vspace{1cm}
+% \begin{verbatim}
+% \psBall{black}{2ex}
+% \psBall(1,0){blue}{3ex}
+% \psBall(2.5,0){red}{4ex}
+% \psBall(4,0){green!50!blue!60}{5ex}
+% \end{verbatim}
+%
+% The predinied options can be overwritten in the usual way:
+%
+% \vspace{1cm}
+% \psBall{black}{2ex}
+% \psBall[sloperadius=10pt](1,0){blue}{3ex}
+% \psBall(2.5,0){red}{4ex}
+% \psBall[slopebegin=red](4,0){green!50!blue!60}{5ex}
+%
+% \vspace{1cm}
+% \begin{verbatim}
+% \psBall{black}{2ex}
+% \psBall[sloperadius=10pt](1,0){blue}{3ex}
+% \psBall(2.5,0){red}{4ex}
+% \psBall[slopebegin=red](4,0){green!50!blue!60}{5ex}
+% \end{verbatim}
+%
% \DescribeMacro{slope}
% \DescribeMacro{slopes}
% \DescribeMacro{ccslope}
@@ -305,6 +359,7 @@
% behaviour of automatically calculating the radius.
%
% \StopEventually{}
+%
%\section{The Code}
% \subsection{Producing the documentation}
%
@@ -322,7 +377,7 @@
\newcommand\file[1]{\texttt{#1}}
\AtEndDocument{
\PrintChanges
-%\PrintIndex
+\PrintIndex
}
%\OnlyDescription
\begin{document}
@@ -366,6 +421,7 @@
% \begin{macro}{slopeend}
% \begin{macro}{slopesteps}
% \begin{macro}{slopeangle}
+%
% \subsubsection{New graphics parameters}
% We now define the various new parameters needed by the |slope|
% fill styles and install default values. First come the colours,
@@ -513,11 +569,33 @@
5 grestore
\psslopesteps\psx@slopecenter\space\psx@sloperadius\space\psx@slopeangle
tx@PstSlopeDict begin RadSlopesFill end}}
-
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\psBall}
+% \begin{macrocode}
+\def\psBall{\pst@object{psBall}}
+\def\psBall@i{\@ifnextchar(\psBall@ii{\psBall@ii(0,0)}}
+\def\psBall@ii(#1,#2)#3#4{%
+ \pst@killglue
+ \pst@dima=#4%
+ \pst@dimb=#4%
+ \advance\pst@dima by 0.075\pst@dimb%
+ \begingroup%
+ \addbefore@par{sloperadius=\the\pst@dima,fillstyle=ccslope,
+ slopebegin=white,slopeend=#3,slopecenter=0.4 0.6,linestyle=none}%
+ \use@par%
+ \pscircle(#1,#2){#4}%
+ \endgroup\ignorespaces%
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macrocode}
\catcode`\@=\TheAtCode\relax
%</texfile>
% \end{macrocode}
-% \end{macro}
%
% \subsection{The \file{pst-slpe.pro} file}
% The file \file{pst-slpe.pro} contains PostScript definitions
@@ -821,6 +899,7 @@
} def
% \end{macrocode}
% \end{macro}
+%
% Last, but not least, we have to close the private dictionary.
% \begin{macrocode}
end
diff --git a/Master/texmf-dist/source/latex/pst-slpe/pst-slpe.ins b/Master/texmf-dist/source/generic/pst-slpe/pst-slpe.ins
index b455b5045ba..b455b5045ba 100644
--- a/Master/texmf-dist/source/latex/pst-slpe/pst-slpe.ins
+++ b/Master/texmf-dist/source/generic/pst-slpe/pst-slpe.ins
diff --git a/Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex b/Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex
index c7a90d05d26..bb7a913e0e5 100644
--- a/Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex
+++ b/Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex
@@ -20,8 +20,12 @@
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
-\def\pstslpefileversion{1.1}
-\def\pstslpefiledate{2005/10/05}
+%% 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.
+%%
+\def\pstslpefileversion{1.2}
+\def\pstslpefiledate{2008/06/19}
\message{ v\pstslpefileversion, \pstslpefiledate}
\csname PstSlopeLoaded\endcsname
\let\PstSlopeLoaded\endinput
@@ -98,7 +102,20 @@
5 grestore
\psslopesteps\psx@slopecenter\space\psx@sloperadius\space\psx@slopeangle
tx@PstSlopeDict begin RadSlopesFill end}}
-
+\def\psBall{\pst@object{psBall}}
+\def\psBall@i{\@ifnextchar(\psBall@ii{\psBall@ii(0,0)}}
+\def\psBall@ii(#1,#2)#3#4{%
+ \pst@killglue
+ \pst@dima=#4%
+ \pst@dimb=#4%
+ \advance\pst@dima by 0.075\pst@dimb%
+ \begingroup%
+ \addbefore@par{sloperadius=\the\pst@dima,fillstyle=ccslope,
+ slopebegin=white,slopeend=#3,slopecenter=0.4 0.6,linestyle=none}%
+ \use@par%
+ \pscircle(#1,#2){#4}%
+ \endgroup\ignorespaces%
+}
\catcode`\@=\TheAtCode\relax
\endinput
%%
diff --git a/Master/texmf-dist/tex/latex/pst-slpe/pst-slpe.sty b/Master/texmf-dist/tex/latex/pst-slpe/pst-slpe.sty
index 54f72871473..fd64cc81c36 100644
--- a/Master/texmf-dist/tex/latex/pst-slpe/pst-slpe.sty
+++ b/Master/texmf-dist/tex/latex/pst-slpe/pst-slpe.sty
@@ -20,8 +20,12 @@
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
-\def\pstslpefileversion{1.1}
-\def\pstslpefiledate{2005/10/05}
+%% 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.
+%%
+\def\pstslpefileversion{1.2}
+\def\pstslpefiledate{2008/06/19}
\RequirePackage{pstricks}
\ProvidesPackage{pst-slpe}[2005/03/05 package wrapper for `pst-slpe.tex']
\input{pst-slpe.tex}