%\psset{PstDebug=1}
\title{\texttt{News -- 2013}\\ \Large new macros and bugfixes for the
basic package \nxLFile{pstricks}}
\author{Herbert Voß}
\date{\today}
There are new optional arguments \Lkeyword{monochrome} and \Lkeyword{grayscale} to convert \emph{all} RGB and CMYK colors
into black and white or grayscale. The equations are:
\subsection{CMYK to gray}
\begin{align*}
c &= c (1 - k) + k\\
m &= m (1 - k) + k\\
y &= y (1 - k) + k\\
r, g, b &= (1 - c), (1 - m), (1 - y)\\
\text{gray} &= 0.299 r + 0.587 g + 0.114 b
\end{align*}
This change will be global and effects also all other color setting!
See section~\vref{subsec:monochrome} for a local change of the color output.
%--------------------------------------------------------------------------------------
\section{\texttt{pstricks.tex} (\pstricksFV -- \pstricksFD)}
%--------------------------------------------------------------------------------------
There is a new optional argument \Lkeyword{pgffunctions} for the environment \Lenv{pspicture}.
With this option one can force the loading of the special pgf PostScript function
which in some cases are missing, when using the package \LPack{auto-pst-pdf} and another
package which uses pgf macros.
\subsection{labelsep}
The \Lkeyword{labelsep} is the first -- optional -- argument of \Lcs{uput}.
It is now possible to use the PostScript notation for this \emph{length}, eg \verb|{! 45 sin 3 mul}|.
Then the unit which is active when \Lcs{uput} is active is used. With a unit the PS notation
ist not allowed and leads to an error!
\subsection{Customization}
\Lcs{pscustom} now knows the PostScript function \Lcs{reversepath}:
\subsection{Coordinates}
\subsubsection{Postscript mode}
A preceeding \verb|!| in coordinates will interpret the following expressing in Postfix notation.
The expression is automatically translated from user into screen coordinates. With a double \verb|!!|
this can be omitted and the Postscript expression will not be translated. This is useful in some
special cases:
\verb|CP| is the internal abbreviation for the Postscript function \texttt{currentpoint}.
\subsubsection{Algebraic mode}
Additionally to the special pair of coordinates \verb|(*x f(x))| where $x$ must be a value in
PostScript notation and $f(x)$ in algebraic noatation, there is now a \verb|(**{f(y), y})|
which is vice versa, $f(y)$ in algebraic and $y$ in PostScript notation. And there is also
a \verb|(+{x}, {f(x)})|, where both expressions must be in algebraic notation and \verb|{x}| must expand to a value
or an expression which uses known system or user defined PostScript functions.
Important: If the expression contains itself a parenthesis like \verb|)| then the argument must
be inside braces; otherwise \TeX\ will take the first closing parenthesis as clsong delimiter
for the complete coordinate argument \verb|(...)| which then gives an error.
\subsection{Fillstyle \texttt{dots}}
A fix for the fill style \Lkeyval{dots} to make it work again:
\clearpage
\part{Other packages}
\section{\texttt{pst-node} -- version \pstnodeFV\ | \pstnodeFD}
\small
\begin{verbatim}
1.29 2013-07-13 - fix bug with missing angle in special node coordinates
- fix for fnpnodes (argument must be in {})
- fix typo in the documentation
1.28 2013-07-10 - added \pnodes (plural) for multiple node definition
1.27 2013-04-12 - added macro \Lcs{Cnodeput} which takes radius=...
into account
1.26 2013-04-09 - added macros \Lcs{psncurve} and \Lcs{psnccurve}
for a sequence of nodes created by \Lcs{curvepnodes}
1.25 2012-09-21 - Global node coordinates only with saveNodeCoors
\end{verbatim}