diff options
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/generic/pst-slpe/Makefile | 42 | ||||
-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 |
3 files changed, 164 insertions, 43 deletions
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 |