diff options
Diffstat (limited to 'graphics/pstricks/base/doc/pst-news21.tex')
-rw-r--r-- | graphics/pstricks/base/doc/pst-news21.tex | 45 |
1 files changed, 39 insertions, 6 deletions
diff --git a/graphics/pstricks/base/doc/pst-news21.tex b/graphics/pstricks/base/doc/pst-news21.tex index 447b9ba207..7eafc6f3aa 100644 --- a/graphics/pstricks/base/doc/pst-news21.tex +++ b/graphics/pstricks/base/doc/pst-news21.tex @@ -1,4 +1,6 @@ -%% $Id: pst-news21.tex 191 2021-09-05 20:07:31Z herbert $ +%% $Id: pst-news21.tex 212 2021-09-10 09:21:06Z herbert $ +\RequirePackage{pdfmanagement-testphase} +\DeclareDocumentMetadata{} \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, headinclude=false,footinclude=false,twoside]{pst-doc} @@ -25,6 +27,13 @@ \part{\texttt{pstricks} -- package} +This version of the News was run with \verb|lualatex| \emph{without} using Ghostscript. +The PDF file was created in a direkt way by Lua. If you want to try it, then look +at \url{https://github.com/zauguin/luapstricks}. + + + + %-------------------------------------------------------------------------------------- \section{\texttt{pstricks.sty}} %-------------------------------------------------------------------------------------- @@ -34,9 +43,30 @@ Otherwise the one from URW or the system is used, which is the default. %-------------------------------------------------------------------------------------- -\section{\texttt{pstricks.tex} (v. 3.03 -- 2021/08/23)} +\section{\texttt{pstricks.tex} (v. 3.08 -- 2021/09/10)} %-------------------------------------------------------------------------------------- +\subsection{Colors} + +There are two new macros to get the color values: + +\begin{verbatim} +\psgetRGBColorValues{<color macro>} +\psgetCMYKColorValues{<color macro>} +\end{verbatim} + +An Example: + +\begin{LTXexample}[width=5cm] +\psset{linecolor=red!40} +\psgetRGBColorValues{\pslinecolor} + +\colorlet{Blue}[cmyk]{blue} +\psset{linecolor=Blue!40} +\psgetCMYKColorValues{\pslinecolor} +\end{LTXexample} + + \subsection{Arrows} @@ -132,9 +162,6 @@ the optional argument \texttt{gsfonts}: There was a bug if this fillstyle was used together with a line sequence. - - - \psset{unit=1cm} \centering\vspace{5cm} \pspicture[showgrid=false](-0.5\linewidth,-4.5)(0.5\linewidth,5) @@ -166,6 +193,9 @@ There was a bug if this fillstyle was used together with a line sequence. \end{lstlisting} +\iffalse + + \pspicture[showgrid=false](-0.5\linewidth,-4.5)(0.5\linewidth,5) \rput(0,0){\parbox{4.5cm}{% @@ -193,7 +223,10 @@ There was a bug if this fillstyle was used together with a line sequence. \endpspicture\end{lstlisting} -\section{\LuaLaTeX} +\fi + + +\section{\LuaLaTeX}\label{lua} Currently one has to use package \LPack{auto-pst-pdf-lua} if a document with \PSTricks-code should be run \emph{directly} with \LuaLaTeX, without using GhostScript. This version has experimental basic support for the lua package |