diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/pst-news17.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news17.tex | 131 |
1 files changed, 16 insertions, 115 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex index f7119ae14ff..563c5943ec8 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news17.tex @@ -1,9 +1,12 @@ -%% $Id: pst-news17.tex 618 2017-10-04 16:46:46Z herbert $ +%% $Id: pst-news17.tex 444 2017-04-19 10:55:35Z herbert $ \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, headinclude=false,footinclude=false,twoside]{pst-doc} \listfiles \let\Lfile\LFile \usepackage[utf8]{inputenc} +\usepackage{pstricks} +\let\pstricksFV\fileversion +\let\pstricksFD\filedate \usepackage{pst-node} \let\pstnodeFV\fileversion \let\pstnodeFD\filedate @@ -35,102 +38,25 @@ basic package \nxLFile{pstricks}} \clearpage \part{\texttt{pstricks} -- package} +\iffalse %-------------------------------------------------------------------------------------- \section{\texttt{pstricks.sty} -- \texttt{pstricks-pdf.sty}} %-------------------------------------------------------------------------------------- - -There is now a new optional argument for the package: \Loption{psfonts}. If it is -enabled PSTricks will use the original PostScript fonts like Helvetica, Times, \ldots. -The default is to use the URW fonts (Nimbus Roman, Nimbus Sans, \ldots) which are embedded by default! -The PostScript fonts are only embedded if present on your system. %-------------------------------------------------------------------------------------- -\section{\texttt{pstricks-tex.tex}} +\section{\texttt{pstricks-pdf.sty}} %-------------------------------------------------------------------------------------- -This package collects all additional latex macros which must be definied -when running PSTricks with tex. They all moved from the base \texttt{pstricks.tex} into -this new file. +This package allows to use pstricks code with \Lprog{pdflatex} or \Lprog{lualatex}. +All optional arguments of package \LPack{auto-pst-pdf} are possible. In difference to +this package \LPack{pstricks-pdf} has no problems with running \Lprog{lualatex}. +Internally \Lprog{lualatex} starts \Lprog{xelatex} for creating the environments +\Lenv{pspicture} as single images. +\fi %-------------------------------------------------------------------------------------- -\section{\texttt{pstricks.tex} (v. 2.76 -- 2017/09/17)} +\section{\texttt{pstricks.tex} (\pstricksFV -- \pstricksFD)} %-------------------------------------------------------------------------------------- - - -\subsection{PostScript Fonts} -This version of PSTricks uses the Ghostscript fonts from URW instead of the -original base 14 fonts of PostScript. For example: instead of Helvetica we use -NimbusSanL-Regu. The URW fonts are always embedded in the created ps or pdf output. -This is not the default for the PostScript fonts. You change this setting with the optional -argument to \LPack{pstricks.sty}. - - -\subsection{Error message} - -Using PSTricks with \Lprog{pdflatex} will work only when using package -\LPack{auto-pst-pdf} and running the \TeX-file with - -\begin{verbatim} -pdflatex -shell-escape <file> -\end{verbatim} - -otherwise you'll get an error message which was misleading in the past: - -\begin{verbatim} -[...] -! Undefined control sequence. -<recently read> \c@lor@to@ps -\end{verbatim} - -This changes now to - - -\begin{verbatim} -[...] -! Undefined control sequence. -\c@lor@to@ps ->\PSTricks - _Not_Configured_For_This_Format -\end{verbatim} - -\subsection{Random colors} -There are now four predefined random ''colors``: - -\begin{verbatim} - \definecolor[ps]{randomgray}{gray}{Rand}% - \definecolor[ps]{randomrgb}{rgb}{Rand Rand Rand}% - \definecolor[ps]{randomcmyk}{cmyk}{Rand Rand Rand Rand}% - \definecolor[ps]{randomhsb}{hsb}{Rand Rand Rand}% -\end{verbatim} - -\begin{LTXexample}[pos=t] -\begin{pspicture}(10,5) -\multido{\rA=0.0+0.1}{50}{\psline[linecolor=randomgray,linewidth=1mm](0,\rA)(10,\rA)} -\end{pspicture} -\end{LTXexample} - -\begin{LTXexample}[pos=t] -\begin{pspicture}(10,5) -\multido{\rA=0.0+0.1}{50}{\psline[linecolor=randomrgb,linewidth=1mm](0,\rA)(10,\rA)} -\end{pspicture} -\end{LTXexample} - - -\begin{LTXexample}[pos=t] -\begin{pspicture}(10,5) -\multido{\rA=0.0+0.1}{50}{\psline[linecolor=randomcmyk,linewidth=1mm](0,\rA)(10,\rA)} -\end{pspicture} -\end{LTXexample} - - -\begin{LTXexample}[pos=t] -\begin{pspicture}(10,5) -\multido{\rA=0.0+0.1}{50}{\psline[linecolor=randomhsb,linewidth=1mm](0,\rA)(10,\rA)} -\end{pspicture} -\end{LTXexample} - - -The random counter can be initialized with \verb|\pstVerb{rrand srand}|. - \subsection{refangle} This version fixes a bug with \verb|pst@refangle| which is used inside PostScript. @@ -163,12 +89,12 @@ area of the \Lenv{pspicture} coordinates is seen by a rectangle (only for \LaTe \end{LTXexample} -\subsection{\nxLcs{newpsstyle}} +\subsection{\Lcs{newpsstyle}} The command \Lcs{newpsstyle} has a new syntax: \begin{BDef} -\Lcs{newpsstyle}\OptArg{package name}\Largb{name}\Largb{definitions} +\Lcs{newpssytle}\OptArg{package name}\Largb{name}\Largb{definitions} \end{BDef} For example @@ -179,32 +105,6 @@ For example \end{verbatim} -%-------------------------------------------------------------------------------------- -\section{\texttt{pstricks.pro}} -%-------------------------------------------------------------------------------------- - -A full circle has by default an angle of 360 degrees. -Setting the circle with \Lcs{degrees}\Largs{17} to another value doesn't work for the -PostScript function \texttt{PtoC} (Polat to Cartesian -- $(r,\phi)\rightarrow (x,y)$). -Now there is a \texttt{PtoCrel} for the new definition -which now takes -the setting of \Lcs{pst@angleunit} into account. - -\bigskip -\begin{LTXexample}[pos=t] -\degrees[16] -\begin{pspicture}[showgrid](-2,-2)(2,2) -\psline[linecolor=blue](!1.8 2 PtoCrel)% 45 degrees -\end{pspicture} -\end{LTXexample} - -The command \Lcs{framed} was build by clockwise line sequence. Now it is the -other way round to get the same behaviour as for all other commands -with closed lines. - - - - \clearpage \nocite{*} \printbibliography @@ -214,3 +114,4 @@ with closed lines. \end{document} + |