diff options
author | Karl Berry <karl@freefriends.org> | 2009-01-31 00:45:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-01-31 00:45:47 +0000 |
commit | afa0ddded45d19c7c2c4883359e3a26e59ce7a8c (patch) | |
tree | d0b0a712067e8d3ab5b8e79a6f72bef247c1ba02 /Master/texmf-dist/doc/generic | |
parent | 9ed0613d8c7efda754589bc5eac54d7193651494 (diff) |
pstricks 1.27 (30jan09)
git-svn-id: svn://tug.org/texlive/trunk@12021 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/Changes | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/Changes.dvips | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/Changes.generic | 24 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/Changes.latex | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-doc.cls | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news09.pdf | bin | 0 -> 91475 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news09.tex | 297 |
7 files changed, 344 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes b/Master/texmf-dist/doc/generic/pstricks/Changes index 426a1491e0d..170b0482de0 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes +++ b/Master/texmf-dist/doc/generic/pstricks/Changes @@ -1,4 +1,8 @@ -2008-05-23 new files pst-news08.tex|pdf +2009-01-30 - update pst-doc.cls + - new file pst-doc.ist + - new file pst-news09.tex|pdf +2008-11-14 new file pst-doc.cls +2008-05-23 new files pst-news2008.tex|pdf pst-news.sty for the doc 2005-12-22 new files pstnews1-14.tex|pdf 2006-12-19 new files pstnews1-15.tex|pdf diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes.dvips b/Master/texmf-dist/doc/generic/pstricks/Changes.dvips index d2d1fd40f29..1ac3330529d 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes.dvips +++ b/Master/texmf-dist/doc/generic/pstricks/Changes.dvips @@ -1,5 +1,6 @@ ---- pstricks.pro -1.05 2008-06-26 - added penrose fill style +1.06 2009-01-30 - cosmetic changes to the code +1.05 2008-08-02 - commented out empty lines 1.04 2008-05-11 - added Rand for a real random 0<=Rand<=1 1.03 2008-04-15 - only some cosmetics to the code 1.02 2008-01-01 - added the arrowtype D>, sides as curves (ArrowD) @@ -20,15 +21,22 @@ 97, patch 5 2005-03-08 bugfix for DashLine ----- pst-node.pro -1.00 2005-11-29 initial CTAN version (hv) - - ---- pst-dots.pro 2.02 2008-04-19 add octogon symbol (hv) 2.01 2008-04-18 add some comments to the code (hv) 2.00 2006-12-19 add more dot symbols from Etienne Riga (hv) +---- pst-node.pro +1.02 2009-01-30 - cosmetic changes to the code +1.01 2008-08-14 - commented out empty lines + - fix bug with \ncangle for npos=3 +1.00 2008-01-01 initial version (hv) + + ---- pst-alpparser.pro +0.02 2008-08-02 - commented out empty lines 0.01 2008-01-01 initial version (hv) + +---- pstricks97.pro +Version 97 patch 3, 98/06/01 diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes.generic b/Master/texmf-dist/doc/generic/pstricks/Changes.generic index e3e65c5f12f..23362149669 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes.generic +++ b/Master/texmf-dist/doc/generic/pstricks/Changes.generic @@ -1,10 +1,17 @@ pstricks.tex -------- +1.27 2009-01-25 - updated \pssetlength to check for special coor + - renamed internal \next to \ps@next to prevent problems + with other packages + - added \psPline(p1)(p2)(p3) for the shortest distance + of P1 to the line p2p3 + - added \psarcAB and \psarcnAB for arcs with a given + center and two points 1.26 2008-07-31 - fixed bug with double arrow and arrowscale - fix bug with arrows longer than the arc/line ... - fix bug with pst@theheaders - fix bug with trailing spaces -1.25 2008-06-17 - added fill style penrose -1.24 2008-06-17 - added \psDEBUG[#1]#2 for better dubugging +1.25 2008-06-17 added fill style penrose +1.24 2008-06-17 added \psDEBUG[#1]#2 for better dubugging 1.23 2008-05-23 - add octogon symbol (hv) - fix bug with D>-<D (hv) 1.22 2008-04-14 - added shift=* option to get vertically centered @@ -61,6 +68,7 @@ pstricks.tex -------- pst-node.tex -------- +1.01 2008-11-26 - bugfix for \fnode 1.00 2007-08-18 - new option pcRef for the first node (hv) - new option Circle for psmatrix (hv) - fix bug with pst-node and \\[name=...]. It now uses @@ -69,17 +77,15 @@ pst-node.tex -------- pst-plot.tex -------- -1.02 2008-03-21 - added an additional optional argument for \psaxes - which allows to put labels at the end of the axes - [Xtext,Xangle,Ytext,Yangle] +1.02 2008-11-24 - add PostScript variable ps@Exit for exit the loop + for \psplot and \psparametricplot + - add new names \psparametricplot, \psdataplot,... + the old names still work + - add new option yMaxVal for plotting discontinued functions 1.01 2008-01-26 - make negative Dx/Dy work (hv) 1.00 2007-06-26 - added two new line style LineToXaxis/LineToYaxis (hv) -pst-tree.tex -------- -1.00 2007-01-03 - fix bug with \endpsTree (hv) - - xdvipdfmx.con ------ 0.01 2007-03-11 - first CTAN version, must be renamed to pstricks.con when used with XeTeX diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes.latex b/Master/texmf-dist/doc/generic/pstricks/Changes.latex index 1678c7de19b..a1058f8bf38 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes.latex +++ b/Master/texmf-dist/doc/generic/pstricks/Changes.latex @@ -1,4 +1,7 @@ pstricks.sty -------- +0.40 2009-01-30 - typeout an error message if the user named his + TeX source file pstricks.tex (rn) + - updated versions for the pro files 0.39 2008-10-31 - define \psDEBUG, if the old version is loaded 0.38 2008-10-19 - add new option for loading the old version from '97 0.37 2008-01-24 - add option distiller for transparent colors @@ -20,6 +23,7 @@ pstricks.sty -------- 0.21 2005-02-21 fix problem with \newrgbcolor (RN,hv) pst-node.sty -------- + 2009-01-30 updated pst-node.pro version number (hv) 2007-09-13 add message for loading pst-node.pro (hv) 2006-01-01 message for loading the pro file diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls b/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls index 588b5262af9..40aba72eed2 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls +++ b/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls @@ -1,4 +1,4 @@ -% $Id: pst-doc.cls 70 2008-12-22 13:03:24Z herbert $ +% $Id: pst-doc.cls 86 2009-01-29 10:34:00Z herbert $ % %% %% The PSTricks Project @@ -15,7 +15,7 @@ %% % \listfiles -\ProvidesClass{pst-doc}[2008/12/22 v 0.04 PSTricks documentation class (hv)] +\ProvidesClass{pst-doc}[2009/01/20 v 0.05 PSTricks documentation class (hv)] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} \ProcessOptions\relax % @@ -77,6 +77,8 @@ \RequirePackage{calc} \RequirePackage{babel} \RequirePackage[table,svgnames,dvipsnames]{pstricks} +\let\pstricksFV\fileversion +\let\pstricksFD\filedate \RequirePackage{multido} \RequirePackage{lscape} \RequirePackage{graphicx} @@ -122,7 +124,7 @@ \RequirePackage{xkvview} \raggedbottom -\definecolor{sectioncolor}{RGB}{0, 0, 0} % Schwarz +\definecolor{sectioncolor}{RGB}{0, 0, 255} % Schwarz \definecolor{textcolor}{RGB}{0, 0, 0} % Schwarz \definecolor{shadecolor}{gray}{0.90} \colorlet{pdflinkcolor}{DOrange} @@ -190,8 +192,7 @@ \setcounter{tocdepth}{2} % Inhaltsverzeichnis mit groesserer Tiefe % % Inhalte von List of Figures -\IfPackageLoaded{subfig}{ - \setcounter{lofdepth}{1} %1 = nur figures, 2 = figures + subfigures +\IfPackageLoaded{subfig}{\setcounter{lofdepth}{1} %1 = nur figures, 2 = figures + subfigures } \RequirePackage[colorlinks=true, urlcolor=pdfurlcolor, @@ -230,7 +231,6 @@ \makeatletter %%% ---------------------------------------------------------------- - \DeclareRobustCommand\PST{\texttt{PSTricks\xspace}} \DeclareRobustCommand\PS{\texttt{PostScript\xspace}} \def\dt{\ensuremath{\,\mathrm{d}t}} @@ -258,6 +258,8 @@ \def\Loption#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package option!#1@\texttt{#1}}} \def\LPS#1{\texttt{#1}\index{#1@\texttt{#1}}\index{PostScript!#1@\texttt{#1}}} \def\Lps#1{\texttt{#1}\index{#1@\texttt{#1}}\index{PostScript!#1@\texttt{#1}}} +\def\LClass#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Class!#1@\texttt{#1}}} +\let\nxLClass\nxLPack \newcommand\Lnotation [1]{\nxLnotation{#1}\xLnotation{#1}} \newcommand\Lmnotation[1]{\nxLnotation{#1}\xLmnotation{#1}} \newcommand\xLnotation[1]{\index{Syntax!#1@\nxLnotation{#1}}\index{#1@\nxLnotation{#1}}} @@ -267,6 +269,7 @@ \index{#1@\texttt{#1}}\index{Keyword!#1@\texttt{#1}} \index{#2@\texttt{#2}}\index{Value!#2@\texttt{#2}}} \newcommand\Larg [1]{{\normalfont\itshape#1\/}} +\newcommand\Larga[1]{$\langle$\Larg{#1}$\rangle$}% angles \newcommand\Largb[1]{\lcb\Larg{#1}\rcb} % curly brace \newcommand\Largs[1]{\lsb\Larg{#1}\rsb} % square brackets \newcommand\Largr[1]{\lrb\Larg{#1}\rrb} % round brackets @@ -383,7 +386,7 @@ \rput[lb](3,7.6){\parbox{15cm}{\sffamily\@date}} \rput[lb](3,-2.6){\parbox[b]{19cm}{\sffamily\RaggedRight \ifx\@docauthor\empty~\else Documentation by\fi\hfill\makebox[7cm][l]{Package author(s):}\\ - \ifx\@docauthor\empty~\else\textbf{\@docauthor}\fi\hfill\makebox[7cm][l]{% + \ifx\@docauthor\empty~\else{\bfseries\tabular[t]{@{}l@{}}\@docauthor\endtabular}\fi\hfill\makebox[7cm][l]{% \bfseries\tabular[t]{@{}l@{}}\@author\endtabular}}} \end{pspicture}% \end{titlepage} diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news09.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news09.pdf Binary files differnew file mode 100644 index 00000000000..d870b01769e --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news09.pdf diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news09.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news09.tex new file mode 100644 index 00000000000..457308895fb --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news09.tex @@ -0,0 +1,297 @@ +%% $Id: pst-news09.tex 62 2008-11-25 19:52:07Z herbert $ +\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings + headexclude,footexclude,oneside]{pst-doc} +\listfiles +\usepackage[utf8]{inputenc} +\usepackage{pst-plot} +\let\pstplotFV\fileversion +\let\pstplotFD\filedate +\usepackage{pst-node} +\let\pstnodeFV\fileversion +\let\pstnodeFD\filedate +\usepackage{pst-tree} +\let\psttreeFV\fileversion +\let\psttreeFD\filedate +\usepackage{pst-eucl} +\begin{document} + +%\psset{PstDebug=1} +\title{\texttt{News -- 2009}\\ \Large new macros and bugfixes for the +basic packages \nxLFile{pstricks}, \nxLFile{pst-plot}, and \nxLFile{pst-node}} +\author{Herbert Voß} +\date{\today} + +\maketitle + +\clearpage +\tableofcontents + +\clearpage +\part{\texttt{pstricks} -- package} + +\section{General} +There exists a new document class \LClass{pst-doc} for writing PSTricks documentations, +like this news document. It depends on the KOMA-Script document class \LClass{scrartcl}. +\LClass{pst-doc} defines a lot of special macros to create a good index. Take one of +the already existing package documentation and look into the source file. Then it will be +easy to understand, how all these macros have to be used. + + + +%-------------------------------------------------------------------------------------- +\section{\texttt{pstricks.sty}} +%-------------------------------------------------------------------------------------- + +\subsection{New optional argument} +With the new optional argument \Lkeyval{97} \LPack{pstricks} has the old behaviour of the +version of 1997. The \Lenv{pspicture} environment then has only a value as +optional argument, which shifts the box in vertical direction. The new options +\Lkeyword{shift} and \Lkeyword{showgrid} do not work in this case. +The support of transparency colors is also disabled. + + +%-------------------------------------------------------------------------------------- +\section{\texttt{pstricks.tex} (\pstricksFV -- \pstricksFD)} +%-------------------------------------------------------------------------------------- +\subsection{Makro \nxLcs{next}} +To prevent problems with other packages which also define a \Lcs{next} +macro, it is now renamed to \Lcs{ps@next}. This should be not important +for the user, because it is used only by the base system itself. + +\subsection{Makro \nxLcs{psDEBUG}} +\LPack{pstricks} defines the option \texttt{PstDebug=0|1}, which can be used for +debugging. The new macro \Lcs{psDEBUG} makes it easier to write some \Index{debugging} +information into the package files. The macro is only valid, if \Lkeyword{PstDebug}=1 +is set, otherwise the macro does nothing. + +\begin{BDef} +\Lcs{psDEBUG}\OptArgs\Largb{text} +\end{BDef} + +\Lcs{psDEBUG} writes the argument \Larg{text} into the log file. +Without an optional argument the word \Larg{pstricks} is used. The following output +of the log file + +\begin{lstlisting} +... +<key:xticksize>: setting ticksize to max +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <7> on input line 26. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <5> on input line 26. +<pst@@hlabels>: xticksizeC=0.0pt +... +\end{lstlisting} + +was possible with \Lcs{psset}\Largb{\Lkeyword{PstDebug}}=1\footnote{Can also be used locally for a +macro when used as optional argument +in the usual way.} +and inside of \LPack{pstricks-add} with +(only the first for example): +\begin{lstlisting} +... + \psDEBUG[key:ticksize]{setting ticksize} +... +\end{lstlisting} + +\subsection{Special Coordinates} +The macros \Lcs{SpecialCoor} and the corresponding \Lcs{NormalCoor} can now be used for +the \Index{radius} of \Index{arc}s and \Index{circle}s. With a preceeding \Lnotation{!} character the length can +be of any PostScript expression and will be taken with the unit pt in user coordinates: + +\begin{LTXexample}[width=6cm] +\begin{pspicture}[showgrid=true](-3,-3)(3,3) +\pscircle[linecolor=red](0,0){1cm} +\SpecialCoor +\pscircle[linecolor=blue](0,0){!3 sqrt} +\NormalCoor +\psarc[linewidth=2pt](0,0){2cm}{90}{270} +\SpecialCoor +\psarc[linecolor=green](0,0){! 60 sin dup add }{90}{270} +\end{pspicture} +\end{LTXexample} + +\SpecialCoor + +\subsection{\nxLcs{psarcAB} and \nxLcs{psarcnAB}} + +\begin{BDef} +\Lcs{psarcAB}\OptArgs\OptArg*{\Largb{arrows}}\coord{C}\coord{A}\coord{B}\\ +\Lcs{psarcnAB}\OptArgs\OptArg*{\Largb{arrows}}\coord{C}\coord{A}\coord{B} +\end{BDef} + +$(x_C, y_C)$ is the center and $(x_A, y_A)$ $(x_B, y_B)$ are two given points of the +\Index{circle}. The angles for the \Index{arc} are calculated by \TeX. The arc is drawn from the first +to the second point. The radius is the distance from the center to the first point. +The second point can have another distance, it is only used for calculating the angle. +The following examples needs the package \LPack{pst-eucl}. + +\begin{LTXexample}[width=6cm] +\begin{pspicture}(-3,-3)(3,3) +\pstTriangle[PosAngle={180,0,90}](-3,0){A}(3,0){B}(0,3){C} +\pstCircleOA{I}{A} +\pstMiddleAB{A}{B}{Iab} +\pscustom[linestyle=none,fillstyle=solid,fillcolor=blue!50]{% + \psarcAB(C)(A)(B) + \psarcnAB(Iab)(B)(A)} +\pstMiddleAB{A}{C}{Iac} +\pscustom[linestyle=none,fillstyle=solid,fillcolor=red!50]{% + \psarcnAB(I)(A)(C) + \psarcAB(Iac)(C)(A)} +\pstMiddleAB{B}{C}{Ibc} +\pscustom[linestyle=none,fillstyle=solid,fillcolor=green!50]{% + \psarcAB(I)(B)(C) + \psarcnAB(Ibc)(C)(B)} +\end{pspicture} +\end{LTXexample} + + +\subsection{Makro \nxLcs{psPline}} +\begin{BDef} +\Lcs{psPline}\OptArgs\coord1\coord2\coord3 +\end{BDef} + +The first point P1 is a projection onto the line of $\overline{P_2P_3}$ +and connected with drawing a line similiar to \Lcs{psline}. This macro +has three mandatory arguments for the three points. + +\begin{LTXexample}[pos=t] +\psset{unit=3} +\begin{pspicture}[showgrid=true](3,2) +\pspolygon(0,1)(3,2)(2.5,0) +\psPline[linestyle=dashed,arrowscale=2]{->}(0,1)(3,2)(2.5,0) +\psPline[linestyle=dashed,arrowscale=2]{->}(3,2)(2.5,0)(0,1) +\psPline[linestyle=dashed,arrowscale=2]{->}(2.5,0)(0,1)(3,2) +\end{pspicture} +\end{LTXexample} + + + +%-------------------------------------------------------------------------------------- +\section{The PostScript header files} +\subsection{\nxLFile{pstricks.pro}} +Only cosemetic changes to the code to make it more readable. +%-------------------------------------------------------------------------------------- +\subsection{\nxLFile{pst-node.pro}} +Only cosemetic changes to the code to make it more readable. + +\part{\nxLPack{pst-node} -- package} + +\section{\nxLFile{pst-node.tex} (\pstnodeFV -- \pstnodeFD)} + +There was a bug in \Lcs{fnode}. It is now fixed. + +foo + + z \quad + \pnode{testL1} + \fnode[linecolor=lightgray,framesize=6pt 50pt](0,.5ex){eqL} + \pnode(0,2ex){testL2} + \quad + = + \quad% + \pnode{testR1} + \fnode[linecolor=lightgray,framesize=6pt 50pt](0,.5ex){eqR} + \pnode(0,2ex){testR2} + \quad + z + \ncline[linecolor=red]{testL1}{testR1} + \ncline[linecolor=blue]{testL2}{testR2} + +bar + +\bigskip now with an aligned node +\psset{nodealign=true} + +foo + + z \quad + \pnode{testL1} + \fnode[linecolor=lightgray,framesize=6pt 50pt](0,.5ex){eqL} + \pnode(0,2ex){testL2} + \quad + = + \quad% + \pnode{testR1} + \fnode[linecolor=lightgray,framesize=6pt 50pt](0,.5ex){eqR} + \pnode(0,2ex){testR2} + \quad + z + \ncline[linecolor=red]{testL1}{testR1} + \ncline[linecolor=blue]{testL2}{testR2} + +bar + + +\begin{lstlisting} +foo + + z \quad + \pnode{testL1} + \fnode[linecolor=lightgray,framesize=6pt 50pt](0,.5ex){eqL} + \pnode(0,2ex){testL2} + \quad + = + \quad% + \pnode{testR1} + \fnode[linecolor=lightgray,framesize=6pt 50pt](0,.5ex){eqR} + \pnode(0,2ex){testR2} + \quad + z + \ncline[linecolor=red]{testL1}{testR1} + \ncline[linecolor=blue]{testL2}{testR2} + +bar + +\bigskip now with an aligned node +\psset{nodealign=true} + +foo + + z \quad + \pnode{testL1} + \fnode[linecolor=lightgray,framesize=6pt 50pt](0,.5ex){eqL} + \pnode(0,2ex){testL2} + \quad + = + \quad% + \pnode{testR1} + \fnode[linecolor=lightgray,framesize=6pt 50pt](0,.5ex){eqR} + \pnode(0,2ex){testR2} + \quad + z + \ncline[linecolor=red]{testL1}{testR1} + \ncline[linecolor=blue]{testL2}{testR2} + +bar +\end{lstlisting} + + +\part{\nxLPack{pst-plot} -- package} + +\section{\nxLFile{pst-plot.tex} (\pstplotFV -- \pstplotFD)} + +To be more consistent to other macro names there are now the names +\Lcs{psparametricplot}, \Lcs{psfileplot}, \Lcs{pslistplot}, and +\Lcs{psdataplot}. The old macros without the preceeding \verb+ps+ +still work! + +There is now a new \PS boolean variable which can control loops. +With setting \texttt{/\Lps{ps@Exit} true def} you can leave a loop +for plotting a function with \Lcs{psplot} and \Lcs{psparametricplot}. + + +\part{\nxLPack{pst-tree} -- package} +\section{\nxLFile{pst-tree.tex} (\psttreeFV -- \psttreeFD)} + +The package \LPack{pst-tree} now uses the advanced key handling from \LPack{xkeyval}. The reason +why it moved from the base into the contrib sections, where all packages uses \LPack{xkeyval}. + +\nocite{*} +\bibliographystyle{plain} +\bibliography{PSTricks} + +\printindex + + +\end{document} |