diff options
author | Karl Berry <karl@freefriends.org> | 2008-07-02 18:05:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-07-02 18:05:35 +0000 |
commit | 19f58e5098cf443de58d21c46f277ff489457c4b (patch) | |
tree | 0b004bdf085fe1c098de0f03a219ec92bd6d1654 /Master/texmf-dist/doc/generic/pstricks | |
parent | 0877203879f5740a1fe1f5ca82680de5e1200be4 (diff) |
pstricks update (1jul08)
git-svn-id: svn://tug.org/texlive/trunk@9169 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks')
40 files changed, 878 insertions, 1869 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes.doc b/Master/texmf-dist/doc/generic/pstricks/Changes index 39bbbe36595..426a1491e0d 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes.doc +++ b/Master/texmf-dist/doc/generic/pstricks/Changes @@ -1,4 +1,4 @@ -2008-05-23 new files pst-news2008.tex|pdf +2008-05-23 new files pst-news08.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 70c6a76dbe0..d2d1fd40f29 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes.dvips +++ b/Master/texmf-dist/doc/generic/pstricks/Changes.dvips @@ -1,4 +1,5 @@ ---- pstricks.pro +1.05 2008-06-26 - added penrose fill style 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) @@ -19,8 +20,8 @@ 97, patch 5 2005-03-08 bugfix for DashLine ----- pst-text.pro -1.00 2005-11-29 add a patch for japanese text (hv) +---- pst-node.pro +1.00 2005-11-29 initial CTAN version (hv) ---- pst-dots.pro diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes.generic b/Master/texmf-dist/doc/generic/pstricks/Changes.generic index 7f6e9558747..1d75075975e 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes.generic +++ b/Master/texmf-dist/doc/generic/pstricks/Changes.generic @@ -1,4 +1,5 @@ pstricks.tex -------- +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) diff --git a/Master/texmf-dist/doc/generic/pstricks/Makefile b/Master/texmf-dist/doc/generic/pstricks/Makefile index 38c4f089a4f..b7ce074ee14 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Makefile +++ b/Master/texmf-dist/doc/generic/pstricks/Makefile @@ -1,9 +1,8 @@ - -# `Makefile' for `pst-3dplot.pdf', hv, 2007/03/17 +# `Makefile' for `pst-news.pdf', hv, 2007/03/17 .SUFFIXES : .tex .ltx .dvi .ps .pdf .eps -PACKAGE = pst-news2008 +PACKAGE = pst-news$(shell date +%y) MAIN = $(PACKAGE) diff --git a/Master/texmf-dist/doc/generic/pstricks/PSTricks.bib b/Master/texmf-dist/doc/generic/pstricks/PSTricks.bib new file mode 100644 index 00000000000..721cd671185 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/PSTricks.bib @@ -0,0 +1,118 @@ +@STRING{dtk = {{D}ie {\TeX}nische {K}om{\"o}die} } + +@Book{PostScript, + Author = {Kollock, Nikolai G.}, + Title = {PostScript richtig eingesetzt: vom Konzept zum + praktischen Einsatz}, + Publisher = {IWT}, + Address = {Vaterstetten}, + year = 1989, +} + +@Manual{pstricks, + Title = {PSTricks - {\PS} macros for Generic TeX}, + Author = {Timothy Van Zandt}, + Organization = {}, + Address = {\url{http://www.tug.org/application/PSTricks}}, + Note = {}, + year = 1993, +} + + +@Manual{pdftricks, + Title = {PSTricks Support for pdf}, + Author = {Herbert Voss}, + Organization = {}, + Address = {\url{http://PSTricks.de/pdf/pdfoutput.phtml}}, + Note = {}, + year = 2002, +} + +@Manual{miwi, + Title = {References for \TeX{} and Friends}, + Author = {Michael Wiedmann and Peter Karp}, + Organization = {}, + Address = {\url{http://www.miwie.org/tex-refs/}}, + Note = {}, + year = 2003, +} + + +@Manual{vue3d:2002, + Title = {Vue en 3D}, + Author = {Manuel Luque}, + Organization = {}, + Address = {\url{http://members.aol.com/Mluque5130/vue3d16112002.zip}}, + Note = {}, + year = 2002, +} + +@Article{dtk02.2:jackson.voss:plot-funktionen, + author = {Laura E. Jackson and Herbert Vo{\ss}}, + title = {Die {P}lot-{F}unktionen von {\texttt{pst-plot}}}, + journal = dtk, + year = 2002, + volume = {2/02}, + altvolume = 2, + altnumber = 14, + month = jun, + pages = {27--34}, + annote = bretter, + keywords = {}, + abstract = { Im letzten Heft wurden die mathematischen Funktionen von + \PS~im Zusammenhang mit dem {\LaTeX}-Paket + \texttt{pst-plot} zum Zeichnen von Funktionen beschrieben + und durch Beispiele erl{\"a}utert. In diesem Teil werden + die bislang nur erw{\"a}hnten Plot-Funktionen f{\"u}r + externe Daten behandelt. } +} + +@Article{dtk02.1:voss:mathematischen, + author = {Herbert Vo{\ss}}, + title = {Die mathematischen {F}unktionen von {P}ostscript}, + journal = dtk, + year = 2002, + volume = {1/02}, + altvolume = 1, + altnumber = 14, + month = mar, + pages = {40-47}, + annote = bretter, + keywords = {}, + abstract = { \PS, faktisch genauso alt wie {\TeX}, ist im + Verh{\"a}ltnis dazu allgemein noch weniger bekannt, wenn es + darum geht zu beurteilen, was es denn nun im eigentlichen + Sinne ist. Au{\ss}erdem wird h{\"a}ufig vergessen, dass + sich mit den \PS-Funktionen viele Dinge erledigen lassen, + bei denen sonst auf externe Programme zur{\"u}ckgegriffen + wird. Dies wird im Folgenden f{\"u}r die mathematischen + Funktionen im Zusammenhang mit dem Paket \texttt{pst-plot} + gezeigt. } +} + +@Book{companion, + author = {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Denis Roegel and Herbert Vo{\ss}}, + title = {The {\LaTeX} {G}raphics {C}ompanion}, + publisher = {{Addison-Wesley Publishing Company}}, + edition = second, + year = {2007}, + address = {Reading, Mass.} +} + +@Book{PSTricks2, + author = {Herbert Vo\ss}, + title = {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX}, + edition = {4.}, + publisher = {DANTE -- Lehmanns}, + year = {2007}, + address = {Heidelberg/Hamburg} +} + +@Book{LaTeXRef, + author = {Herbert Vo\ss}, + title = {\LaTeX\ Referenz}, + edition = {1.}, + publisher = {DANTE -- Lehmanns}, + year = {2007}, + address = {Heidelberg/Hamburg} +} diff --git a/Master/texmf-dist/doc/generic/pstricks/README b/Master/texmf-dist/doc/generic/pstricks/README index b17c38434f8..4c4f3b989f5 100644 --- a/Master/texmf-dist/doc/generic/pstricks/README +++ b/Master/texmf-dist/doc/generic/pstricks/README @@ -1,174 +1 @@ -PSTricks 1992 -- 2007 - - ------------------------------------------------------------------------ -PSTricks is the work of Timothy van Zandt <tvz@econ.insead.fr> -PSTricks 97 is edited by Denis Girou <Denis.Girou@idris.fr> - and Sebastian Rahtz <sebastian.rahtz@computing-services.oxford.ac.uk> -PSTricks 2004 is edited by Herbert Voss <voss@PSTricks.de> - and Rolf Niepraschk <Rolf.Niepraschk@ptb.de> -PSTricks 2005-07 is edited by Herbert Voss <voss@PSTricks.de> - ------------------------------------------------------------------------ -For more informations go to http://tug.org/PSTricks _and_ read the -news articles in the doc directory! - - -1 - Copyright - --------- - -COPYRIGHT 1993, 1994, 2000 by Timothy Van Zandt, <tvz@econ.insead.fr>. -COPYRIGHT 2004, 2005 by Herbert Voss <voss@PSTricks.de> and - Rolf Niepraschk <Rolf.Niepraschk@ptb.de>. -COPYRIGHT 2006-07 by Herbert Voss <voss@PSTricks.de> - -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. - -2 - Introduction - ------------ - -This package is a re-release of PSTricks, incorporating all of the -beta releases and bug fixes made up to March 1997. It is *not* -intended as a full new release of PSTricks, but as a consolidation and -cleaned distribution. Because Timothy van Zandt does not currently have -enough time to work on PSTricks, he gave permission for Denis Girou, -Sebastian Rahtz and Herbert Voss to produce this interim solution. - -Some new features have been added in the 2007 version, except the release -of the small pst-fill package for filling (tiling) arbitrary regions and the -various evolving contributions, but we have merged in all the bug fixes -and beta addons which Timothy produced. - -We have renamed some of the files that make up PSTricks, for consistency. -The multido package is now in /macros/generic/multido - -3 - Installation - ------------ - -3.1 - (La)TeX files - - a - You have to move all the files from the "generic" subdirectory -to a directory part of your TEXINPUTS environment variable, or to add it -in your TEXINPUTS list of paths. - - b - If you are a LaTeX user (and not only a plain TeX one), you have -to do the same thing for the "latex" subdirectory, which define LaTeX -wrappers for all the PSTricks files. - -3.2 - PostScript header files - - a - If you use the "dvips" DVI to PostScript converter, you have -to move all the files from the "dvips" subdirectory to a directory part -of your DVIPSHEADERS environment variable, or to add it in your DVIPSHEADERS -list of paths. - - b - If you use the Y&Y's "dvipsone" DVI to PostScript converter, -you have to rename generic/dvipsone.con to generic/pstricks.con and to move -all the files of the "dvips" subdirectory to the TeX input folder. - - c - If you use the MicroPress "VTeX" DVI to PostScript converter, -you have to rename generic/vtex.con to generic/pstricks.con and to move -all the files of the "dvips" subdirectory to the TeX input folder. - - d - If you use the "textures" (version 1.7/1.8 or 2.0) DVI to PostScript -converter (for Macintosh), you should proceed as follows: - * create a new folder PSTricks97 (for instance) as a subfolder in -Textures' TeX inputs folder, - * copy the "generic", "dvips", "latex" and "contrib" subfolders -from the "pst97" folder to the newly created "PSTricks97" folder, - * open the "generic" folder and remove the file pstricks.con, -then rename the file textures.con to pstricks.con, - * open the "dvips" folder and change the following line in the file -pstricks.pro (courtesy Michael J. Sharpe <msharpe@euclid.ucsd.edu>): -/STV { SDict begin normalscale end STP } def -by -/STV { Mag 72.27 72 div mul dup neg scale STP } def - It was also reported that the `pst-text' package (to put text -along paths) doesn't work with the "textures" driver. - Textures's users must also look at the page kindly maintained -by Michael Sharpe: http://math.ucsd.edu/~msharpe/pst-textures.html - - e - If you use the "xdvipdfmx" DVI to PDF converter (for XeTeX), -you have to rename generic/xdvipdfmx.con to generic/pstricks.con. - - f - If you use another driver than these four ones, you have to adapt -a pstricks.con file for it, if the one for "dvips" doesn't work for it. -You can also look at the instructions of the old obsolete/src/pstricks.con -file. And if nothing work, ask for help on the PSTricks mailing list, -hopping that somebody on the list has the same configuration than you... - -3.3 - Known pitfalls - - a - To use the standard `color' or `xcolor' package with PSTricks, you -must load the `pstricks.sty' package, which interface the two packages, -loading them in the right order, and overriding some small parts of -PSTricks to allow it to use the `color' or `xcolor' package system for -specifying color. We STRONGLY recommend that you use this way today. -pstricks.sty loads by default the xcolor package, but there is an option -"noxcolor". If you are a LaTeX user then load _always_ first the -pstricks.sty package. - - b - Don't try to load the `color' or `xcolor' package if you use -`pstricks.sty' or `pst-all' (it is already loaded in the correct order). - - c - If needed, preferably load the `graphics' / `graphicx' package -after PSTricks, and in this case use the `graphics' syntax of \scalebox -(not the one described in the PSTricks documentation). pstricks.sty -redefines this macro so that both can be used (see doc). - - - -4 - Contents - -------- - -4.1 - Subdirectories - -The distribution contain the following subdirectories: - -base : the core pstricks files -contrib : various contributions - -4.2 - PSTricks core files - -The generic subdirectory contain the core files of PSTricks (and the latex -subdirectory contain the corresponding wrapper files). - -pstricks.sty - The LaTeX file -pstricks.tex - The TeX file -pstricks.con - The configuration file -pstricks.pro - The dvips header file - -5 - Documentation - ------------- - -There is NOT a complete up to date _reference_ documentation for PSTricks 97. -You must still refer to the reference documentation of the version 0.93a and -the additional old Beta material, available in the obsolete/doc subdirectory -(it was put in the "obsolete" subdirectory to clearly show that it is not up -to date nor supported by actual mainteners). Take care to notice what has -changed in additional old Beta documents (betadoc?.ps files) comparing to the -ones for 0.93a version (pst-usr?.ps files). - -Denis Girou maintain a list of known errors in both version 0.93a and -additional old Beta documentations, in obsolete/doc/pst-doc.err - -A large chapter of "The LaTeX Graphics Companion, 2nd ed.", by Goossens, Mittelbach, -Rahtz, Roegel and Voß, Addison Wesley 2007, is dedicated to PSTricks, and this -currently forms the only systematic description of the integration of -the basic PSTricks and the beta additions of 1993. The source of all examples -from that book is also on CTAN/info/lgc and most of them in the doc/lgc -subdirectory of the PST97 distribution. The second edition of this book -has no more a chapter of PSTricks. - -There is also a supporting set of Web pages on -http://www.tug.org/PSTricks with various -pointers and examples classified by categories. - -And there is also a mailing list devoted to discussions on PSTricks usage. -The informations to subscribe to this list and to consult the archives can -be found on the Web page. - --- -Denis Girou, Sebastian Rahtz and Herbert Voss (updated April 11, 2007) +The Makefile generates the pdf file for pst-newsYY diff --git a/Master/texmf-dist/doc/generic/pstricks/ctandir.sty b/Master/texmf-dist/doc/generic/pstricks/ctandir.sty new file mode 100644 index 00000000000..37928e95823 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/ctandir.sty @@ -0,0 +1,30 @@ +%% LaTeX2e file `ctandir.sty' +%% generated by the `filecontents' environment +%% from source `pst-fill-doc' on 2004/08/18. +%% +%% LaTeX2e file `ctandir.sty' +%% generated by the `filecontents' environment +%% from source `ltubguid' on 1997/06/12. +%% +% +% Experimental CTAN location information macros for use with Donald +% Arseneau's |url.sty| +% +% we need url.sty; we can rely on it to demand anything it needs of +% LaTeX +\IfFileExists{url.sty}% + {\RequirePackage{url}}% + {\PackageWarning{ctandir}{You should acquire a copy of url.sty}% + \newcommand\urldef[3]{\def#1{\texttt{#3}}}% + \let\url\texttt + } +% +\newcommand\CTANdirectory[1]{\expandafter\urldef + \csname CTAN@#1\endcsname\path} +\newcommand\CTANfile[1]{\expandafter\urldef + \csname CTAN@#1\endcsname\path} +% +% Use the standard label-referencing mechanism to get the warning for +% an undefined label +\newcommand\CTANref[1]{\expandafter\@setref\csname CTAN@#1\endcsname + \relax{#1}} diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/changes.pdf b/Master/texmf-dist/doc/generic/pstricks/examples/changes.pdf Binary files differdeleted file mode 100644 index 7d921997282..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/changes.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/changes.tex b/Master/texmf-dist/doc/generic/pstricks/examples/changes.tex deleted file mode 100644 index d431a41be2c..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/changes.tex +++ /dev/null @@ -1,662 +0,0 @@ -%% BEGIN changes.tex -%% -%% Changes listing for PSTricks. -%% Run with LaTeX, with or without the NFSS. -%% -%% Change these for a4 paper: -%\def\paperwidth{8.5in} -%\def\paperheight{11in} - -\def\FileVersion{0.93a} -\def\FileDate{March 12, 1993} - -\documentclass[11pt,a4paper]{article} -\usepackage[T1]{fontenc} - -%% PAGE PARAMETERS - -\usepackage{fancybox} -% Paragraphs are marked by large space rather than indentation: -\parindent 0pt -\parskip 6pt plus 1pt minus 1pt - -% No headers, 1in top margin -\usepackage[dvips]{geometry} -\geometry{tmargin=0pt,bmargin=3.3cm,headheight=0pt,headsep=0pt, -textheight=9in, footskip=.625in} -\usepackage[scaled]{luximono} -\usepackage{mathpazo} - - -% Now adjust for different paper size: -\newdimen\mydim -\mydim=\paperwidth -\advance\mydim-8.5in -\divide\mydim 2 -\advance\oddsidemargin \mydim -\advance\evensidemargin \mydim -\mydim=\paperheight -\advance\mydim-11in -\divide\mydim 2 -\advance\topmargin \mydim - -%% OTHER - -\renewcommand{\EveryVerbatimLine}[2]{} - -% Short meta (works in verbatim. Can't use < for other purposes. -\catcode`\<=13 \def<#1>{{\rm\it #1\/}} % <meta> (works in verbatim) - -% Short verbatim. -\catcode`\"=13 -\def"{\verb"} - -\catcode`\@=12 % In case I'm using AmS-LaTeX - -\begin{document} - -\begin{center} -{\large\bfseries Changes listing for PSTricks}\\[6pt] - Version \FileVersion\\ - \FileDate\\[6pt] - Timothy Van Zandt\\ - tvz@Princeton.EDU -\end{center} - - The PSTricks package is still preliminary. The features list - and user interface are unlikely to change much in the short term, but - the internal code is not stable. - -\section{VERSION 0.93 and 0.93a} - - There have been substantial changes (hopefully for the last time). - - This section describes the changes from 0.92 to 0.93a. The only differencea -between 0.93 and 0.93a are that a bug in "\nccircle" was fixed, and the -features in "\pst-old.tex" where either incorporated into the main files -("\Rput", "\Lput", "\Mput", "\Polar" and "\Cartesian") or eliminated entirely -("\NewPsput", "\OldPsput" and the old "\pscustom" commands). What is described -\subsection{Incompatible changes} - - {\bf - These changes may require modification to files prepared with version 0.92. -Sorry about the inconvenience. To avoid letting new changes catch you by -surprise, get on the PSTricks mailing list.} -\begin{enumerate} - -\item - "\SpecialCoor" has changed completely. See User's Guide for details. Most of -these changes were announced shortly after the release of v0.92, but -"pst-beta.tex" users should note that raw PostScript coordinates are now -delimited by "!" rather than by ":". - - {\bfseries How to fix files:} Search for "\SpecialCoor" in your file. Change the -old syntax to the new syntax according to this table: - \begin{center} - \begin{tabular}{ccl} - {\em Old} & {\em New} & {\em Type}\\[2pt] - "(c<x>,<y>)" & "(<x>,<y>)" & Cartesian.\\ - "(p<r>,<a>)" & "(<r>;<a>)" & Polar.\\ - "(n{<node>})" & "(<node>)" & Center of <node>.\\ - "(N[<par>]{<node>})" & "([<par>]<node>)" & Relative to <node>.\\ - "(m{<coor1>}{<coor2>})" & "(<coor1>|<coor2>)" & Mixed. - \end{tabular} - \end{center} -In addition, if you used the syntax "(:<ps>)" from "pst-beta.tex" for raw -postscript code, search for "(:" and replace by "(!". - -\item - Angles can no longer be specified by "{<x>,<y>}". "\SpecialCoor" lets you -use coordinates as angles, but they must be enclosed in "()". E.g., -"{(<x>,<y>)}". See User's Guide for details. - - {\bfseries How to fix files:} Add the parentheses "()" to angles given by -"{<x>,<y>}" and and precede this usage by "\SpecialCoor". However, there is no -easy way to search for "{<x>,<y>}" (unless you are good at using Unix's -regular expressions). On the other hand, you probably didn't use this features -much, and it will be easier to just wait for the old usage to cause errors. - -\item - The -\begin{LVerbatim} - arrowsize=<dim num1 num2 num3> -\end{LVerbatim} -parameter has been replaced by -\begin{LVerbatim} - arrowsize=<dim num1> - arrowlength=<num2> - arrowinset=<num3> -\end{LVerbatim} - - {\bfseries How to fix files:} - Search for "arrowsize", and break up your parameter change. You can also -just do nothing, because if you use the old syntax for "arrowsize", <num2> and -<num3> will simply be ignored. - -\item - The -\begin{LVerbatim} - tbarsize=<dim num1 num2> -\end{LVerbatim} -parameter has been replaced by -\begin{LVerbatim} - tbarsize=<dim num1> - bracketlength=<num2> % For square brackets. - rbracketlength=<num2> % For round brackets. -\end{LVerbatim} - - {\bfseries How to fix files:} - Search for "tbarsize", and break up your parameter change. You can also just -do nothing, because if you use the old syntax for "tbarsize", <num2> will -simply be ignored. - -\item - "\pscustom" has changed substantially. E.g., (i) there is no "(x,y)" -argument, (ii) plots ("\psplot", etc.) no longer run backwards, and (iii) the -treatment of the currentpoint is much different. Also, most of the special -commands for use only within "\pscustom" have changed. See the User's Guide -for details. - - {\bfseries How to fix files:} - You must search for each use of "\pscustom", and make the following changes: - \begin{itemize} - \item Replace "\pscustom"'s old "(<x>,<y>)" argument by "\moveto(<x>,<y>)" -at the beginning of "\pscustom"'s main argument. - - \item Make the following substitutions inside "\pscustom"'s main argument: - \begin{center} - \begin{tabular}{ll} - {\em Old} & {\em New}\\[2pt] - "\pscode" & "\code"\\ - "\pscoor" & "\coor"\\ - "\psdim" & "\dim"\\ - "\psmove" & "\moveto"\\ - "\psclosepath" & "\closepath"\\ - "\psgroup{<stuff>}" & "\gsave" <stuff> "\grestore"\\ - "\psstroke" & "\stroke"\\ - "\psfill" & "\fill" - \end{tabular} - \end{center} - You can instead define, e.g., - \begin{quote} - "\def\pscode{\code}" , or\\ - "\newcommand{\pscode}{\code}" - \end{quote} - and - \begin{quote} - "\def\psgroup#1{\gsave #1 \grestore}" , or\\ - "\newcommand{\psgroup}{\gsave #1 \grestore}" - \end{quote} - - \item Check the output from your "\pscustom" command. If, after making the -above changes, things come out differently than inspected, it is probably -because the plot commands run ``forwards'' rather than ``backwards'', or -because of the new way that "\pscustom" treats the current point. Fix these on -a case-by-case basis. - \end{itemize} - -\item - "\listplot", "\psplot" and "\parametricplot" no longer have an "(<x>,<y>)" -argument. Use the "origin" parameter instead. - - {\bfseries How to fix files:} - Search for "\listplot", "\psplot" and "\parametricplot". Replace any -"(<x>,<y>)" argument by the parameter change "[origin={<x>,<y>}]". - -\item - To suppress labels with "\psaxes", use "labels=none/x/y", rather than -setting "Dx" and "Dy" to empty values. - - {\bfseries How to fix files:} - Search for "=}", "=," and "=]". Remove the "Dx=," and other such parameter -settings you find, and replace instead by "labels=none/x/y", depending on -whether you want no labels, labels on the x-axes only, or labels on the y-axis -only. - -\item - The "\scalebox" macro should use a space rather than a comma to separate the -x and y scaling factors, when two scaling factors are given. - - {\bfseries How to fix files:} - Wait to get error about bad numbers, or search for "\scalebox" and replace -"\scalebox{<num1>,<num2>}" by "\scalebox{<num1> <num2>}". - -\item - The "dblframewidth" parameter is gone, because "\psdblframebox" is now just -a variant of "\psframebox" with "doubleline=true". The width of each frame is -now just "linewidth" - - {\bfseries How to fix files:} - Search for "dblframewidth" and replace the parameter setting be a -"linewidth" parameter setting. - -\item - The "\OldPsput" and "\Newpsput" commands are gone. These were originally -devised to retain compatibility with an older version of PSTricks that had a -"\psput" command instead of "\rput". - - {\bfseries How to fix files:} - If you used "\psput" with the new syntax, then search for "\psput" and -replace by "\rput". - - If you used "\psput" with the old syntax, then either search for "\psput" -commands and replace with "\rput" commands with the new syntax, or put the -following in a file so that the "\OldPsput" command defines "\psput" with the -old syntax: -\begingroup\catcode`\<=12 -\begin{LVerbatim} - \def\old@psput{\begingroup\old@psput@} - \def\old@psput@{% - \def\refpoint@x{.5}\def\refpoint@y{.5}% - \pst@ifstar{\@ifnextchar[% - {\old@psput@i}{\def\pst@rot{}\old@psput@ii}}} - \def\old@psput@i[#1]{\pst@getangle{#1}\pst@rot\old@psput@ii} - \def\old@psput@ii{\@ifnextchar<{\old@psput@iii}{\old@psput@iv}} - \def\old@psput@iii<#1>{\pst@@getref\old@psput@iv[#1]} - \def\old@psput@iv{% - \@ifnextchar({\end@psput\rput@i}{\end@psput\rput@i(0,0)}} - \def\OldPsput{\let\psput\old@psput} - \def\NewPsput{\let\psput\rput} -\end{LVerbatim} -\endgroup - -\end{enumerate} - - -\subsection{New files with old stuff} - -Remember to input these files when needed. To have these files loaded -automatically, put an "\input" command after "\customization" in the -configuration file ("pstricks.con"). - -\begin{description} - -\item[pst-node] - All the node stuff has been put in "pst-node.tex" / "pst-node.sty". - -\item[pst-plot] - The plot commands ("\psplot", etc.) and the "\psaxes" command have been put -in "pst-plot.tex" / "pst-plot.sty". ("pst-plot.tex" automatically loads -"multido.tex", which is required by the axes macros.) There are also some -variants of "\listplot", "\fileplot" and "\dataplot", that are less likely to -exceed PostScript operand stack limits. - -\item[colortab] - The table coloring commands have been put in "colortab.tex" / -"colortab.sty". This is no longer PSTricks specific, but most of the old stuff -works the same as before. The only exception is that "\omit{}" is not needed -when a column is not to be colored. The documentation for "colortab.tex" is in -"colortab.doc". There are also some new features: -\begin{itemize} -\item - "\SP" and "\RP": These let "\LCC" ... "\ECC" work with nested arrays or -"\multicolumns" when using Mittelbach's array.sty. See "colortab.doc" for -details. - -\item - "LColors", "\LC", "\LCi", "\LCii", "\LCiii", "\LCz", for shading the cells -in the "longtable" environment. See "colortab.doc" for details. - -umns when using Mittelbach's array.sty. See "colortab.doc" for details. - -\item - "LColors", "\LC", "\LCi", "\LCii", "\LCiii", "\LCz", for shading the cells -in the "longtable" environment. See "colortab.doc" for details. -\end{itemize} - -\end{description} - -\subsection{Obsolete but retained features} - - The features listed below are obsolete and are documented in footnotes. - -\begin{itemize} -\item - "\Polar": Use "\SpecialCoor" and "(r;a)" instead. - -\item - "\Cartesian(x,y)" Use "\psset{xunit=x,yunit=y}" instead. - -\item - "\Rput": Use "\uput" instead. - -\item - "\Lput" and "\Mput": Use "\aput", "\bput", "\Aput" and "\Bput" instead. - -\end{itemize} - -\subsection{New features} - -This is a partial listing. See also the next section on new files. - -\begin{itemize} - -\item - "\uput": Replaces "\Rput". - -\item - "\aput", "\bput", "\Aput", "\Bput": Replace "\Lput" and "\Mput". - -\item - "\clipbox" has optional argument "[<dim>]" that sets the clippath distance -<dim> from box. E.g., "\clipbox[1pt]{foo}". - -\item - "\newpsstyle": E.g., -\begin{LVerbatim} - \newpsstyle{foo}{linewidth=5pt,linestyle=dashed} - \psline[style=foo](4,5) -\end{LVerbatim} - -\item - "\PSTricksOff" suppresses the PostScript. Useful for printing or previewing -drafts of your document with a non-PostScript driver. - -\item - New arrow styles: {\catcode`\<=12 \tt - >-<, <<->>, >>-<<. |*-|* }. - -\item - Many new features for the "\pscustom" command. - -\item - "dimen" parameter (for controlling whether dimensions for "\psframe", -"\pscircle", "\pswedge" and "\psellipse" refer to the inside, outside or -middle of the boundary. - -\item - "bordercolor" parameter. - -\item - "doubleline", "doublesep" and "doublecolor" parameters. - -\item - "ticks" and "labels" parameters, for suppressing ticks and labels with -"\psaxes". - -\item - "shadow" and "shadowangle" parameters. - -\item - Shadow parameters now apply to all graphics objects. - -\item - "\psmathboxtrue", "\psmathboxfalse", for controling whether box - macros preserve math mode. - -\item - "\pslongbox": For making box environment out of box commands. - -\item - "\psverbboxtrue", "\psverbboxfalse": For controlling whether verbatim - text is allowed in box commands. - -\end{itemize} - -\subsection{New files with new stuff} - -\begin{description} - -\item[pst-coil] - Contains "\pscoil", "\psCoil", "\pszigzag", "\nccoil" and "\nczigzag". Uses -"pst-coil.pro" (optionally). - -\item[pst2eps] - Contains "\TeXtoEPS", to make it easier to convert \TeX\ boxes to EPS files -with dvips, and "\PSTtoEPS", for creating EPS files directly from PSTricks -graphics. - -\item[textpath] - Contains "\pstextpath" command, for typesetting text along a path. Use -"textpath.pro". - -\item[gradient] - "gradient" fillstyle. Uses "gradient.pro". - -\item[charpath] - Contains "\pscharpath" command, for stroking and filling character paths. -Also, "\pscharclip" ... "\endpscharclip" sets clipping path as well. - -\item[piecharts.sh] - A sh/awk script by Denis Girou for converting data to PSTricks piecharts. - -\end{description} - -\subsection{Bug fixes} - -This list is incomplete. - -\begin{itemize} - -\item - "\scalebox" and "\scaleboxto" now work when the vertical scaling factor - is less than 1. - -\item - "\lput" and company now work with dvips 4.90 and later. - -\item - "\multips" can now be nested. - -\item - "\psclip" fixed. - -\item - "\clipbox" and clip option for "\pspicture" fixed. - -\end{itemize} - -\subsection{Other changes} - -In some cases, there is a small chance these will require that you modify old -files. - -\begin{itemize} - -\item - Specifying "\rput"'s <refpoint> argument as, e.g., "[.3,1]" rather than -"[br]" is now an undocumented feature. - -\item - All arguments to "\psplot", "\listplot" and "\parametric" plot are passed -on directly as PostScript. - -\item - Dictionaries when including raw PostScript have changed. See appendix of -User's Guide for details. - -\item - "\psset{unit=dim}" always changes "\psunit", "\psxunit" and "\psyunit". To -change only "\psunit", use "runit=dim". - -\item - "border" parameter affects closed curves. - -\item The "hatchsep" parameter now refers to the width of the space between -the lines, rather than the distance between the middle of the lines. -\end{itemize} - -\renewcommand{\EveryVerbatimLine}{} -\renewcommand{\VerbatimFont}{\small\tt} -\renewcommand{\VerbatimFuzz}{2cm} - -\section{VERSION 0.92} - -\subsection{Incompatible changes} - -\begin{Verbatim} - ! V0.91 had two curve interpolation algorithsm: \pscurve and \psdoodle - (and variants). These have been merged into a single algorithm retaining - the names \pscurve, etc. Now the three curvature parameter has three - numbers: - num1 num2 num3 - When num3 is 0 (the default), you get the old \psdoodle algorithm, and - and num1 and num2 act just like the old doodature parameter. When - num3=-1, you get the old \pscurve algorithm, but positive values are - usually nicer. - - If you have used \pscurve or its variants, the shape of the curves - will change under 0.92. If you have also used the curvature - parameter, you will get errors because the old curvature parameter is - a single number and the new curvature parameter consists of 3 numbers. - - If you have used \psdoodle or its variants, then you can either search - and replace doodle->curve and your use of doodature (which had 2 numbers) - to curvature (which has 3 number), or you can put the following in the - customization section of pstricks.con: - \let\psdoodle\pscurve - \let\psedoodle\psecurve - \let\pscdoodle\psccurve - \def\psset@doodature#1{\psset@curvature{#1 0}} - - ! In \psdblframebox: The inner frame now has \pslinewidth, and the outer - frame now has width (dblframewidth x \pslinewidth), where dblframewidth is - a new graphics parameter whose default value is 2. - - ! The angle, angleA and angleB parameters no longer apply to - \ncarc, and the default values have been changed to 0. For - \ncarc, the angle is now controlled by the arcangle, arcangleA - and arcangleB parameters. The default is still 8. - - ! \multido has been off-loaded to the file multido.tex. The syntax has - been changed to make it consistent with \psmultiput and LaTeX's - \multiput: The variable declarations are now the first argument - and the number of repetitions are now the second argument. Also, - for number variables, the initial value and increment must now - have the same number of digits to the right of the decimal, - unless the initial value is an integer. There is no * version. - Instead, the contents is never grouped, and there is even a variant - that doesn't group the whole macro. See multido.ps, which is distributed - with PSTricks, for details. - - ! 'diamond', 'diamond*', and 'x' dotstyles are gone. Use dotangle - parameter instead. -\end{Verbatim} - -\subsection{New features} - -\begin{Verbatim} - + New dot style: |. - - + New graphics objects: \pscustom. - - + New box framing macros: \psovalbox, \pscirclebox. - - + New box scaling macro: \scaleboxto. - - + New nodes: \ovalnode, \circlenode. - - + New node connection: \ncdiagg. - - + New loop macro: \multips. - - + New graphics parameters: dotscale, dotangle, dblframewidth. - - + New arrow styles: c and C. - - + \SpecialCoor allows using nodes as coordinates and mixing - coordinates. -\end{Verbatim} - -\subsection{Other changes} - -\begin{Verbatim} - * arrowscale parameter allows non-square scaling. - - * Documentation has been greatly improved. - - * A bug that caused problems with Arbortext's dvips (previously - listed in pstricks.bug) was fixed. - - * Memory stats with LaTeX's article style: - 43290 words of memory - 2895 multiletter control sequences -\end{Verbatim} - -\section{VERSION 0.91} - -\subsection{Incompatible changes} - -\begin{Verbatim} - ! \dbox and \rotate eliminated. - - ! \psput replaced by \rput, with new syntax: - OLD: \psput[angle]<ref point>(x,y){stuff} - NEW: \rput[ref point]{angle}(x,y){stuff} - \OldPsput sets up \psput with the old syntax (this may disappear some - day; keep it in a safe place if you expect to need it for a long time). - - ! System for specifying angles for nested rotations with \psput has changed. - OLD: p0{angle}, p1{angle}, p2{angle}, etc. - NEW: *angle works like p0{angle}; p1{angle} capability eliminated. - N, S, E and W have same meaning as before. - - ! enddotsize parameter changed to dotsize. - - ! For specifying the origin as the baseline for the \pspicture - environment, leave the optional argument [] empty (rather than - [o]). - - ! B is not allowed as the y-coordinate when setting the reference point - in \rput using coordinates. E.g., [Bl] and [B] are OK, but [.3,B] is - not. - -\end{Verbatim} - -\subsection{New features} - -\begin{Verbatim} - + cornersize parameter added, for specifying whether radius of corners - in \psframe and related box macros is given in relative terms (using - framearc) or absolute terms (using linearc). - - + \psclip and \clipbox macros added. - - + \Cartesian and \Polar commands added, for switching coordinate - systems. - - + border=dim parameter added, for giving appearance of one line - crossing over another. - - + showpoints=bool parameter added. If true, a dot is placed at appropriate - coordinates. - - + \psdots graphics object added. - - + \psarc graphics object added. - - + \parabola graphics object added. - - + \pscurve, \psccurve, \psecurve, \psdoodle, \psedoodle, and \pscdoodle - graphics objects added. - - + \qline and \qdisk graphics objects added. - - + \psplot, \parametericplot and \listplot graphics objects added. - - + node connection (e.g., tree) macros added!! -\end{Verbatim} - -\subsection{Other changes} - -\begin{Verbatim} - * \sunpatch not needed anymore. - - * PostScript header file (if being used) is included at the beginning, - rather than on demand. - - * In spite of the many new features, the input file is smaller in bytes, - and runs significantly faster (at least if used with a header file). - The macros use up slightly more words of memory, and significantly - more command sequences. Here are the stats with LaTeX's article - style: - 41586 words of memory - 2966 multiletter control sequences -\end{Verbatim} - -\section{VERSION 0.9} - -Much internal code was changed, and additional features were added. - -\end{document} -%% END changes.tex diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/chartest.pdf b/Master/texmf-dist/doc/generic/pstricks/examples/chartest.pdf Binary files differdeleted file mode 100644 index d42fc926130..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/chartest.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/chartest.tex b/Master/texmf-dist/doc/generic/pstricks/examples/chartest.tex deleted file mode 100644 index cf9a608161a..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/chartest.tex +++ /dev/null @@ -1,25 +0,0 @@ -%% BEGIN chartest.tex -%% PSTricks test file for charpath.tex. -%% Run with Plain TeX. - -\input pstricks -\input pst-text - -% phvb should be name of Helvetica-Bold tfm or vf file: -\font\bighelv=phvb at 70pt -\bighelv - -\vskip 1in - -\pscharpath[linestyle=dotted]{Denis Girous} - -\vskip 1in - -\pscharpath[fillstyle=crosshatch]{Denis Girous} - -\vskip 1in - -\pscharpath[fillstyle=solid,fillcolor=red]{Denis Girous} - -\bye -%% END chartest.tex diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/denis1.pdf b/Master/texmf-dist/doc/generic/pstricks/examples/denis1.pdf Binary files differdeleted file mode 100644 index c356d7af123..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/denis1.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/denis1.tex b/Master/texmf-dist/doc/generic/pstricks/examples/denis1.tex deleted file mode 100644 index 2818fcb74f0..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/denis1.tex +++ /dev/null @@ -1,41 +0,0 @@ -%% BEGIN denis1.tex -% PSTricks sample that combines -% \pscharpath, \pstextpath, and gradient fillstyle. - -% Run with Plain TeX. - -% Takes a long time to print. - -\hsize 9in -\vsize 6.5in -\special{landscape} % works with Rokicki's dvips. - -\input pstricks -\input pst-text -\input pst-grad - -% phvb should be name of Helvetica-Bold tfm or vf file: -\font\bighelv=phvb at 5in -\font\smallhelv=ptmr at 8pt - -\newcount\mycount -\parindent 0pt - -\null -\vfill - -\pstextpath(0,-8pt)% - {\pscharpath*[linestyle=none,fillstyle=gradient, - gradangle=45,gradmidpoint=.5]{\bighelv D G}}% - {\smallhelv - \mycount=70 - \loop - \advance\mycount -1 - \ifnum\mycount>0 - Denis Girou - \repeat} - -\vfill - -\bye -%% END denis1.tex diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/denis2.pdf b/Master/texmf-dist/doc/generic/pstricks/examples/denis2.pdf Binary files differdeleted file mode 100644 index b24a0dcde42..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/denis2.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/denis2.tex b/Master/texmf-dist/doc/generic/pstricks/examples/denis2.tex deleted file mode 100644 index 0c5a4f3a4ba..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/denis2.tex +++ /dev/null @@ -1,36 +0,0 @@ -%% BEGIN denis2.tex -% PSTricks sample that combines -% \pscharpath and \psclip. - -% Run with Plain TeX. - -\hsize 9in -\vsize 6.5in -\special{landscape} % works with Rokicki's dvips. - -\input pstricks -\input pst-text - -% phvb should be name of Helvetica-Bold tfm or vf file: -\font\bighelv=phvb at 5.5in -\font\smallrm=ptmr at 10pt - -\newcount\mycount -\parindent 0pt - -\vglue 1in - -\pscharclip[linewidth=2pt]{\rput[tl](0,0){\bighelv DG}} - \rput[t]{45}(0,0){\vbox{% - \hsize 12in - \smallrm - \mycount=1000 - \loop - \advance\mycount -1 - \ifnum\mycount>0 - Denis Girou - \repeat}} -\endpscharclip - -\bye -%% END denis2.tex diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/filetest.dat b/Master/texmf-dist/doc/generic/pstricks/examples/filetest.dat deleted file mode 100644 index 68945e6e95e..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/filetest.dat +++ /dev/null @@ -1,71 +0,0 @@ -%% BEGIN filetest.dat -[ -{{0, 0}, {0.1, 0.489217}, {0.2, 0.914933}, - - {0.3, 1.21952}, {0.4, 1.35655}, {0.5, 1.29517}, - - {0.6, 1.02301}, {0.7, 0.547479}, {0.8, -0.104732}, - - {0.9, -0.889868}, {1., -1.75088}, {1.1, -2.62238}, - - {1.2, -3.4364}, {1.3, -4.12831}, {1.4, -4.64256}, - - {1.5, -4.93756}, {1.6, -4.98935}, {1.7, -4.7937}, - - {1.8, -4.36653}, {1.9, -3.74246}, {2., -2.97178}, - - {2.1, -2.11599}, {2.2, -1.24239}, {2.3, -0.418164}, - - {2.4, 0.295512}, {2.5, 0.84882}, {2.6, 1.2076}, - - {2.7, 1.35627}, {2.8, 1.29903}, {2.9, 1.0593}, - - {3., 0.677496}, {3.1, 0.207184}, {3.2, -0.289882}, - - {3.3, -0.749475}, {3.4, -1.11083}, {3.5, -1.32228}, - - {3.6, -1.34604}, {3.7, -1.16179}, {3.8, -0.768677}, - - {3.9, -0.185544}, {4., 0.550574}, {4.1, 1.38761}, - - {4.2, 2.263}, {4.3, 3.1091}, {4.4, 3.85919}, - - {4.5, 4.45329}, {4.6, 4.84347}, {4.7, 4.99808}, - - {4.8, 4.90456}, {4.9, 4.5705}, {5., 4.02303}, - - {5.1, 3.30639}, {5.2, 2.47802}, {5.3, 1.60352}, - - {5.4, 0.750856}, {5.5, -0.0156125}, {5.6, -0.640751}, - - {5.7, -1.08345}, {5.8, -1.32014}, {5.9, -1.34676}, - - {6., -1.17893}, {6.1, -0.850365}, {6.2, -0.409711}, - - {6.3, 0.084022}, {6.4, 0.566914}, {6.5, 0.97605}, - - {6.6, 1.25533}, {6.7, 1.36069}, {6.8, 1.2642}, - - {6.9, 0.956782}, {7., 0.449173}, {7.1, -0.228866}, - - {7.2, -1.03104}, {7.3, -1.89854}, {7.4, -2.76511}, - - {7.5, -3.56294}, {7.6, -4.22854}, {7.7, -4.70839}, - - {7.8, -4.96365}, {7.9, -4.97357}, {8., -4.73734}, - - {8.1, -4.27417}, {8.2, -3.62157}, {8.3, -2.83204}, - - {8.4, -1.96848}, {8.5, -1.09857}, {8.6, -0.288905}, - - {8.7, 0.400909}, {8.8, 0.92342}, {8.9, 1.24743}, - - {9., 1.36064}, {9.1, 1.27057}, {9.2, 1.00372}, - - {9.3, 0.602995}, {9.4, 0.123725}, {9.5, -0.371511}, - - {9.6, -0.818656}, {9.7, -1.1581}, {9.8, -1.34019}, - - {9.9, -1.32988}, {10., -1.11003}} -] -%% END filetest.dat diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/filetest.pdf b/Master/texmf-dist/doc/generic/pstricks/examples/filetest.pdf Binary files differdeleted file mode 100644 index dac3755ff38..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/filetest.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/filetest.raw b/Master/texmf-dist/doc/generic/pstricks/examples/filetest.raw deleted file mode 100644 index 69a459f7e7d..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/filetest.raw +++ /dev/null @@ -1,6 +0,0 @@ -%% BEGIN filetest.raw -% test of \rawfile, with testfile.tex -0 0 moveto -100 100 lineto -100 0 lineto -%% END filetest.raw diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/filetest.tex b/Master/texmf-dist/doc/generic/pstricks/examples/filetest.tex deleted file mode 100644 index 52ac7732d2b..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/filetest.tex +++ /dev/null @@ -1,84 +0,0 @@ -%% BEGIN filetest.tex -% -% This is test file for some of the PSTricks commands that -% read from and write to files. -% -% Run with plain tex. -% -% You must have the epsf.tex macros, which are distributed with -% Rokicki's dvips, and change the reference to \epsf below. -% -% This inputs filetest.raw, filetest.dat and filetest.eps. -% It also write filetest.eps. -% -% If using Rokicki's dvips v5.47 or later, try -% -% dvips filetest -E-o -% -% to create an eps file filetest.ps from the whole picture. - -\input pstricks -\input pst-eps -\input pst-plot -\input epsf - -\TeXtoEPS % Make an EPS picture out of .dvi file, with dvips -E. - \pspicture(-5,-10)(10,10) - - % Test two similar ways to use data from a file: - % \fileplot - \AltClipMode - \psclip{\psframe[linestyle=none](0,-10)(10,10)} - \pscustom{% - \fileplot{filetest.dat} - \gsave - \lineto(100,100) - \lineto(0,100) - \closedshadow - \grestore} - \endpsclip - - \psaxes(0,0)(-5,-10)(10,10) - - % And \readdata and \dataplot: - \readdata\mydata{filetest.dat} - \dataplot[plotstyle=dots,swapaxes=true]{\mydata} - - % Save some data: - - \savedata{\total}[ - {{0,163},{1,187},{2,166},{3,232},{4,237},{5,201},{6,196},{7,203}}] - \savedata{\general}[ - {7,193}{6,182}{5,167}{4,153}{3,129}{2,108}{1,101}{0,104}] - - % Now make an EPS file from the graphics objects: - \PSTtoEPS[bbury=5cm,bburx=10.5cm, - bblly=2cm,bbllx=0cm,makeeps=all]{filetest.eps}{% - - % Now when I concatenate \total and \general, I get the points that - % delineate the boundary for the area you want to fill. - - \psyunit=.02cm - \psxunit=1.5cm - - \pscustom[plotstyle=curve,linestyle=none,fillstyle=solid, - fillcolor=gray]{\listplot{\general}\listplot[liftpen=1]{\total}} - \psset{plotstyle=curve,showpoints=true,dotscale=1.5} - \listplot[dotstyle=pentagon*]{\total} - \listplot[dotstyle=triangle]{\general} - } % end \PSTtoEPS - - % Now use the EPS file just created: - \rput[bl](-1,-10){\psdblframebox{\epsffile{filetest.eps}}} - - % Now try inputting raw ps code with \pscustom: - \pscustom[shadowsize=5pt,origin={5,4}]{% - \file{filetest.raw} - \closepath - \closedshadow} - - \endpspicture -\endTeXtoEPS - -\bye -%% END filetest.tex diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/pst-test.pdf b/Master/texmf-dist/doc/generic/pstricks/examples/pst-test.pdf Binary files differdeleted file mode 100644 index 947988f698c..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/pst-test.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/pst-test.tex b/Master/texmf-dist/doc/generic/pstricks/examples/pst-test.tex deleted file mode 100644 index 890af15b8fc..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/pst-test.tex +++ /dev/null @@ -1,126 +0,0 @@ -%%%%%%%%%%%%%%%%%%% pst-test.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Test file for pstricks.tex, v0.93 and maybe later versions. -%% -%% Run with Plain TeX. -%% -%% PAGE 1: Pure graphics objects. These us \pstunit and \pstverb. -%% -\input pstricks -\input pst-node - -\newpsobject{mygrid}{psgrid}{subgriddiv=1,griddots=10,gridlabels=7pt} -\hbox{}\vfill - -\pspicture(-1,-1)(9,2)\mygrid -\psline[linewidth=1.5pt,linestyle=dotted]{**-)}(2.5,1.5) -\psline[linewidth=2pt,linestyle=dashed, - linearc=.5,linecolor=gray]{|->}(3,-.5)(5.5,1.8)(7,-1) -\qline(9,-1)(8,2) -\endpspicture - -\vfill - -\pspicture(-1,-1)(9,2)\mygrid -\qdisk(0,0){1} -\pswedge[linecolor=gray,fillstyle=solid]{.8}{0}{70} -\pscircle[linewidth=2pt,linestyle=dashed](4,.5){1.5} -\psellipse[fillstyle=crosshatch*,fillcolor=lightgray] - (7.5,.5)(1,1.5) -\endpspicture - -\vfill - -\pspicture(-1,-1)(9,3)\mygrid -\parabola*(0,0)(1,3) -\parabola[xunit=.01]{<->}(900,3)(600,-1) -\endpspicture - -\vfill - -\eject - -%% PAGE 2: Color (using \pstVerb) and rotation (using \pstVerb and \pstrotate). - -\hbox{}\vfill - -Here is {\gray some gray text } - -\vskip 1cm -Here is a lightgray line:{\lightgray \hrulefill} - -\vskip 1cm -And a dark gray blob: - -{\darkgray \hrule height 1cm width 5 cm } -\vfill - -\centerline{ -\rotateleft{Left} \rotatedown{Down} \rotateright{Right} -\psscalebox{2}{Big} \psscalebox{1 -1}{Flip}} - -\vfill - -\rput[l]{-45}{This runs diagonally down and to the right} -\rput{45}(2in,0){This runs up to the right} - -\vfill - -\eject - -%% PAGE 3: Nodes and node connections. These use \pstVerb, \pstverbscale, -%% and maybe \pstrotate. - -\null -\vfill - -$$ -\matrix{% - &\rnode{a}{A}\cr - \noalign{\vskip 2cm}% - \rnode{b}{B}\qquad&\rnode{c}{C}\cr} -\psset{nodesep=3pt} -\everypsbox{\scriptstyle} -\ncline{->}{a}{b}\Bput{f} -\ncline{->}{a}{c}\Aput{g} -\ncline[linestyle=dotted]{->}{b}{c}\Aput{h} -$$ - -\vfill - -\vskip 2cm - -\cnode*(0,0){3pt}{A} -\cnode*(4,2){3pt}{B} -\ncline[nodesep=3pt]{A}{B} -\mput*{1} - -\vfill - -\pspicture(0.4,.2)(9.8,6.2) - \rput(2,6){\rnode{G}{\psframebox{GOAT}}} - \rput(2,.5){\rnode{I}{\psframebox{GOAT}}} - \ncangles[angleA=90, angleB=180, nodesepB=3pt, linearc=3pt, - armA=2cm]{<-**}{I}{G} - \lput*(2.5){Doom} - \aput(.5){Zoom} - \SpecialCoor - \rput{10}(7;30){\rnode{A}{\psframebox{Polar Coor}}} - \rput(5;10){\rnode{B}{\psframebox{Polar Coor}}}% - \ncline{->}{A}{B} - \mput{\pnode{Y}} - \cnodeput[linewidth=1.5pt](9.5,6){H}{H} - \cnodeput[linewidth=1.5pt](8,1){M}{M} - \newpsobject{myarc}{ncarc}{nodesep=3pt,offset=2pt,arrows=->} - \myarc{H}{M} - \mput*{r} - \myarc{M}{H} - \mput*{l} - \lput(.75){\pnode{Z}} - \nccurve[angle=135, ncurv=1.8]{Y}{Z} - \aput{:U}{Doom} -\endpspicture - -\vfill - -\bye -%% END pst-test.tex diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/samples.pdf b/Master/texmf-dist/doc/generic/pstricks/examples/samples.pdf Binary files differdeleted file mode 100644 index 18cf8a44824..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/samples.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/samples.tex b/Master/texmf-dist/doc/generic/pstricks/examples/samples.tex deleted file mode 100644 index 57b8ad0d8ac..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/samples.tex +++ /dev/null @@ -1,443 +0,0 @@ -%% samples.pst : PSTricks samples. Run with LaTeX. -%% Last edited: 93/03/03 - -\documentclass[11pt,a4paper]{article} - -\makeatletter - -%% INPUT FANCYBOX.STY HERE TO CHECK FILE VERSION. - -\usepackage[T1]{fontenc} -\usepackage[dvips]{geometry} -\geometry{tmargin=2cm,bmargin=3.3cm,headheight=20pt,headsep=10pt, -textheight=9in, footskip=.625in} -\usepackage[scaled]{luximono} -\usepackage{mathpazo} -\usepackage{pstricks,pst-node,pst-coil,fancybox} - -\let\Ldots\ldots -\def\ldots{\mbox{$\Ldots$}} % In case we're using AmS-LaTeX. -\makeatletter -\def\ps@samples{% - \def\@oddhead{\bf PSTricks samples \hfill \thepage}% - \def\@oddfoot{}} -\makeatother -\pagestyle{samples} - -\newbox\sample - -\def\example{\setbox\sample\vbox\bgroup} -\def\endexample{% - \egroup - \vbox{\vskip 1cm - \hbox{\psframebox[boxsep=false,linewidth=2pt,linearc=.5cm,framesep=.5cm, - cornersize=absolute]{\box\sample}} - \vskip 1cm}} -\def\rquote#1{{\begin{quote}\vskip-\topsep - \raggedright\hskip -2em#1\end{quote}}} -\def\creator#1{\rquote{{\bf Creator:}\hskip 1em#1}} -\def\title#1{\rquote{{\bf Description:}\hskip 1em#1}} - -\def\N#1{{\tt\string#1}} - -\begin{document} - -\begin{example} - \creator{Gisli Ottarsson \tt <gisli@liapunov.eecs.umich.edu>} - \title{Calvin and Hobbes} - - $$ - \pspicture(-3.,29)(3.,38) - \def\anglei{5} - \def\angleii{-5} - \psset{linewidth=1pt,hatchwidth=0.8pt} - \def\tower#1{% - \psline[linewidth=2pt](0,0)(0,7) - \psset{fillstyle=solid,dimen=middle,linewidth=1.5pt} - \cnode(0,2){.5}{A#1} - \cnode(0,5){.8}{B#1} - \cnode(0,7){.5}{C#1} - \psset{linestyle=solid,linewidth=1pt} - \psline{->}(0,1)(2,1) - \SpecialCoor - \rput([angle=90]B#1){\psline{->}(2,0)} - \rput([angle=90]C#1){\psline{->}(2,0)}}% - \pscustom[linewidth=2pt]{% - \psarc(0,0){30}{80}{100} - \gsave - \psarcn(0,0){29.25}{100}{80} - \fill[fillstyle=vlines] - \grestore} - \rput{\anglei}{\rput(0,30){% - \psset{fillcolor=lightgray} - \tower{1}}} - \rput{\angleii}{\rput(0,30){% - \psset{linestyle=dashed} - \tower{2}}} - \psset{linewidth=1.5pt,coilwidth=.45} - \nczigzag{B1}{A2} - \aput[.25](.85){$k_{c_3}$} - \ncline[linecolor=white,linewidth=.6]{A1}{B2} - \nczigzag{A1}{B2} - \bput[.3](.85){$k_{c_3}$} - \nczigzag{A1}{A2} - \bput[.3](.5){$k_{c_1}$} - \nczigzag{B1}{B2} - \aput[.3](.5){$k_{c_2}$} - \endpspicture - $$ -\end{example} - -\begin{example} - \creator{\tt{leecheng@liapunov.eecs.umich.edu}} - \title{Dripping faucet model.} - - \psset{unit=.4cm} - \begin{center} - \begin{pspicture}(0,-2)(31,12) - \rput(1.5,0){% - \psellipse[linewidth=1pt](8,7)(1,3) - \psframe[linecolor=white,fillstyle=solid,fillcolor=white] - (6.4,6.5)(8,7.5) - \psline[linearc=.3,linewidth=1pt](8,8)(8,7.5)(4,7.5) - \psbezier[linewidth=1pt](4,7.5)(3,7.5)(3,6.5)(3,5.5) - \psline[linearc=.3,linewidth=1pt](8,6)(8,6.5)(5,6.5) - \psbezier[linewidth=1pt](5,6.5)(4,6.5)(4,6.5)(4,5.5) - \psline[linewidth=1pt](3,5.5)(4,5.5) - \psline[linearc=.3,linewidth=1pt](5,7.5)(5,8)(6,8)(6,7.5) - \psframe[linewidth=1pt](5.3,8)(5.7,8.7) - \psframe[linewidth=1pt,framearc=1,fillstyle=solid, - fillcolor=white](4,8.7)(7,9) - \multirput(3.5,4.8)(0,-1){4}{% - \psbezier[linewidth=.5pt](0,0)(.25,-.4)(-.25,-.4)(0,0)} - \rput[t](5.5,0){Dripping Faucet}} - \rput(20,5){% - \pspolygon[linecolor=white,fillstyle=vlines, - fillcolor=darkgray,hatchsep=.2](1,4.5)(1,4)(4,4)(4,4.5) - \psline[linewidth=2pt](1,4)(4,4) - \psline[linewidth=1.5pt](2.5,4)(2.5,3.5)(2.9,3.3)(2.1,2.9) - (2.9,2.5)(2.1,2.1)(2.9,1.7)(2.1,1.3)(2.5,1.1)(2.5,0.6) - \psframe[linecolor=black,linewidth=1.5pt,fillstyle=solid, - fillcolor=lightgray](1.8,-1)(3.2,.6) - \rput(2.5,-.2){$M$} - \psline{<->}(3.7,-.9)(3.7,.5) - \psframe[linecolor=black,linewidth=1.5pt,fillstyle=solid, - fillcolor=lightgray](1.8,-3.5)(3.2,-1.9) - \rput(2.5,-2.7){$m$} - \psline{->}(5,1)(5,-1) - \rput[l](5.5,0){$g$} - \psline{->}(3.7,-2)(3.7,-3.4) - \rput[t](2.5,-4){Mathematical Model for} - \rput[t](2.5,-5){a Dripping Faucet} - \rput(-6,-2){% - \psset{linewidth=2pt} - \psline(0,.5)(2,.5) - \psline(0,-.5)(2,-.5) - \psline(1.5,1)(2.5,0)(1.5,-1)}} - \psframe[linewidth=2pt,framearc=.05,linecolor=gray](0,-2.5)(31,12) - \end{pspicture} - \end{center} -\end{example} - -\begin{example} - \creator{\tt{Christian Schytt <pierre@diku.dk>}} - \title{Primal and dual.} - - \hbox to \hsize{% - % DUAL - \psset{linewidth=0.5pt} - \pspicture(-2,-1)(6,5) - \psline{->}(5,0)\psline{->}(0,4) - % - \qdisk(2,0){2pt} - \rput(2,0){\pnode{Z}} - \uput[dl](2,0){$c_{ij}$} - % - \uput[d](5,0){$p_i-p_j$} - \uput[r](0,4){\parbox{2cm}{Dual cost \\ of arc $(i,j)$}} - \uput[l](0,4){$q_{ij}(p_i-p_j)$} - % - \rput(.5,1.5){\pnode{U}} - \rput(2.5,-1.5){\pnode{V}} - \ncline{Z}{U}\mput{\pnode{X}} - \ncline{Z}{V}\mput{\pnode{Y}} - % - \rput[b](2,2){\rnode{A}{Slope: ${}-l_{ij}$}} - \ncline{->}{A}{X} - \rput[b](0,-0.75){\rnode{B}{Slope: ${}-u_{ij}$}} - \ncline{->}{B}{Y} - \endpspicture\hfill - % PRIMAL - \pspicture(0,-1)(6,5) - \psline{->}(5,0)\psline{->}(0,4) - \qdisk(1.5,0){2pt} - \qdisk(3.5,0){2pt} - \uput[d](1.5,0){$l_{ij}$} - \uput[d](3.5,0){$u_{ij}$} - \uput[d](5,0){$f_{ij}$} - \uput[r](0,4){\parbox{2cm}{\raggedright Primal cost \\ of arc $(i,j)$}} - % - \rput(1.5,1){\pnode{A}} - \rput(3.5,2){\pnode{B}} - \ncline{-}{A}{B}\mput{a\pnode{Y}} - % - \psline[linestyle=dashed]{-}(1.5,0)(1.5,3) - \psline[linestyle=dashed]{-}(3.5,0)(3.5,3) - % - \rput[l](4,1){\rnode{X}{Slope: $c_{ij}$}} - \ncline{->}{X}{Y} - \endpspicture - }\medskip -\end{example} - -\begin{example} - \creator{Gisli Ottarsson \tt <gisli@liapunov.eecs.umich.edu>} - - \begin{center} - \psset{unit=1in,linewidth=1pt,hatchwidth=0.8pt} - \pspicture(1,0)(5.,3) - \psline[linewidth=2pt,arrowscale=1.5]{->}(1.5,2.4)(3.5,2.4) - \psellipse[fillcolor=darkgray,fillstyle=solid](1.5,1.5)(.5,1.3) - \psellipse[fillcolor=white,fillstyle=solid](1.4,1.5)(.5,1.3) - \psline(1.5,2.8)(1.4,2.8) - \psline(1.5,0.2)(1.4,0.2) - \psline[linewidth=1.5pt,linestyle=dashed](1.3,2.4)(1.7,2.4) - \pscircle*(1.3,2.4){3pt} - \rput(1.3,2.2){$(r_o,\theta_o)$} - \rput(3.3,2.65){$u(r_o,\theta_o)$} - \psline[linewidth=2pt,arrowscale=1.5]{|->}(2.5,0.65)(4.5,0.65) - \rput(4.5,0.85){$w(x_o)$} - \psline{<->}(1.93,1.0)(2.5,.65) - \rput(2.2,.65){$x_o$} - \pscircle[fillcolor=lightgray,fillstyle=solid](1.93,1.2){0.05} - \pspolygon[fillcolor=lightgray,fillstyle=solid,linecolor=lightgray] - (1.935,1.24)(3.5,.38)(3.5,.22)(1.935,1.16) - \pscircle[fillcolor=lightgray,fillstyle=solid](2.53,0.855){0.058} - \pscircle[fillcolor=lightgray,fillstyle=solid,linecolor=lightgray] - (2.545,0.845){0.056} - \pscircle[fillcolor=gray,fillstyle=solid](3.5,.3){0.08} - \psline(1.93,1.245)(3.5,.38) - \psline(3.5,.22)(1.92,1.156) - \endpspicture - \end{center} -\end{example} - - -\begin{example} -\creator{tvz} -\title{Another example of \N\pspolygon. The coordinates where determined - using \N\psgrid, after making the table.\label{ex-pspolygon}} - -\begin{center} - \def\arraystretch{2}\tabcolsep=10pt\small\bf - {\em Result is true for values in shaded region:}\\[5pt] - \pspolygon[linearc=.4,fillcolor=lightgray,fillstyle=solid] - (3,2)(5.9,2)(5.9,0)(7.4,0)(7.4,-2)(1.45,-2)(1.45,0)(3,0) - \begin{tabular}{cccccc} - X11 & X12 & X13 & X14 & X15 & X16\\ - X21 & X22 & X23 & X24 & X25 & X26\\ - X31 & X32 & X33 & X34 & X35 & X36\\ - X41 & X42 & X43 & X44 & X45 & X46 -\end{tabular} -\end{center} - -\end{example} - - -\begin{example} - \creator{tvz} - \title{Nodes.\label{ex-nodes1}} - - \begin{center} - \begin{pspicture}(0,-1)(8,3) - \psset{arrows=->, nodesep=6pt} - \rput(3,3){\rnode{A}{Returns to Scale}} - \rput(1,1){\rnode{B}{Production}} - \rput(5,1){\rnode{C}{Managing}} - \rput(3,-1){\rnode{D}{Supervision}} - \rput(7,-1){\rnode{E}{Information Processing}} - \ncline{A}{B} \ncline{A}{C} \ncline{C}{D} \ncline{C}{E} - \end{pspicture} - \end{center} -\end{example} - - -\begin{example} - \creator{tvz} - \title{Another example of nodes.\label{ex-nodes3}} - - \begin{center} - \begin{pspicture}(0,-1)(7.5,1) - \pnode{a} - \cnodeput(1.5,0){b}{0} - \cnodeput(3,0){c}{1} - \cnodeput(4.5,0){d}{2} - \cnodeput(6,0){e}{3} - \scriptsize - \psset{arrows=->,nodesep=0} - \pslabelsep=3pt - \ncline{a}{b}\Aput{start} - \ncline{b}{c}\Bput{a} - \ncline{c}{d}\Aput{b} - \ncline{d}{e}\Aput{b} - \psset{arm=.6,linearc=.4,angleA=0,angleB=90} - \ncangles{b}{b}\Aput{b} - \ncangles{e}{b}\Aput{b} - \psset{angleB=-90} - \ncangles{c}{c}\Bput{a} - \ncangles{d}{c}\Bput{a} - \ncangles{e}{c}\Bput{a} - \end{pspicture} - \end{center} -\end{example} - -\begin{example} - \creator{tvz} - \title{Nonsense examples of nodes.\label{ex-nodes4}} - - The tempestuous \rnode{E}{Maggie} and her alcoholic husband - \rnode{A}{Brick} \ldots - \vskip 2cm - \cnode*{3pt}{D}\hskip 1em Much Ado about \rnode{B}{Nothing}. - \vskip 1in - and \rnode{J}{\psframebox{another}} another - \rnode{K}{\psframebox{another}} another another \rnode{C}{book} - \ncline[linecolor=darkgray,linewidth=1.5pt,nodesep=3pt]{->}{A}{B} - \ncline[nodesep=3pt,linestyle=dashed,border=3pt]{->}{C}{E} - \ncangle[nodesep=1pt,angleA=-90,angleB=150, armB=3cm]{D}{C} - \ncbar[angle=90]{<-oo}{J}{K} -\end{example} - - -\begin{example} - \creator{tvz} - \title{More node nonsense.\label{ex-nodes5}} - - \begin{center} - \begin{pspicture}(0.4,.2)(9.8,6.2) - \rput(2,6){\rnode{G}{\psframebox{GOAT}}} - \rput(2,.5){\rnode{I}{\psframebox{GOAT}}} - \ncangles[angleA=90, angleB=180, nodesepB=3pt, linearc=3pt, - armA=2cm]{<-**}{I}{G} - \lput*(2.5){Doom} - \bput(.5){Zoom} - \SpecialCoor - \rput{10}(7;30){\rnode{A}{\psframebox{Polar Coor}}} - \rput(5;10){\rnode{B}{\psframebox{Polar Coor}}} - \ncline{->}{A}{B} - \mput{\pnode{Y}} - \cnodeput[linewidth=1.5pt](9.5,6){H}{H} - \cnodeput[linewidth=1.5pt](8,1){M}{M} - \newpsobject{myarc}{ncarc}{nodesep=3pt,offset=2pt,arrows=->} - \myarc{H}{M}\mput*{r} - \myarc{M}{H}\mput*{l}\lput(.75){\pnode{Z}} - \nccurve[angleA=135, angleB=135, ncurv=1.8]{Z}{Y}\bput{:D}{Doom} - \end{pspicture} - \end{center} -\end{example} - -\begin{example} - \creator{tvz} - \title{} - - \[ - \def\arraystretch{3.5} - \arraycolsep .7cm - \begin{array}{ccc} - \rnode{a}{U}\\ - & \rnode{b}{X\times_Z Y} & \rnode{c}{X}\\ - & \rnode{d}{Y} & \rnode{e}{Z} - \end{array} - \psset{arrows=->,nodesep=3pt} - \pslabelsep 3pt - \everypsbox{\scriptstyle} - \ncLine{a}{b}\Bput{y} - \ncLine{a}{c}\Aput{x} - \ncLine{b}{d}\Bput{q} - \ncLine{b}{c}\Bput{p} - \ncLine{c}{e}\Aput{f} - \ncLine{d}{e}\Bput{g} - \] -\end{example} - -\begin{example} - \creator{tvz} - \title{Several ways to connect nodes to themselves} - - \def\arrow(#1,#2){\ncline{->}{#1}{#2}} - $$ - \begin{array}{c@{\hskip 1.5cm}c@{\hskip 1.5cm}c} - \rnode{a}{\bullet} & \rnode{b}{\bullet} & \rnode{c}{\bullet}\\[1cm] - \end{array} - \everypsbox{\scriptstyle} - \psset{nodesep=5pt,arm=.6,linearc=.4,angleA=0,angleB=90} - \ncangles{->}{a}{a} - \ncangles{->}{b}{b} - \ncangles{->}{c}{c} - \arrow(a,b) - \arrow(b,c) - \ncarc[arcangleA=-30, arcangleB=-30]{->}{a}{c} - $$ - $$ - \everypsbox{\scriptstyle} - \def\cn#1#2{% - \cnode*{2pt}{#1} - \ncloop[arm=.4,linearc=.39,loopsize=.8,nodesep=5pt,angleB=180] - {->}{#1}{#1} - \Bput{#2}} - \begin{array}{c@{\hskip 1.5cm}c@{\hskip 1.5cm}c} - \cn{a}{1} & \cn{b}{2} & \cn{c}{3}\\[1cm] - \end{array} - \psset{nodesep=5pt,arm=.6,linearc=.4}\arrow(a,b) - \arrow(b,c) - \ncarc[arcangleA=-30, arcangleB=-30]{->}{a}{c} - $$ - $$ - \everypsbox{\scriptstyle} - \def\cn#1#2{% - \cnode*{2pt}{#1} - \nccircle[nodesep=5pt]{->}{#1}{.5} - \Bput{#2}} - \begin{array}{c@{\hskip 1.5cm}c@{\hskip 1.5cm}c} - \cn{a}{1} & \cn{b}{2} & \cn{c}{3}\\[1cm] - \end{array} - \psset{nodesep=5pt,arm=.6,linearc=.4}\arrow(a,b) - \arrow(b,c) - \ncarc[arcangleA=-30, arcangleB=-30]{->}{a}{c} - $$ -\end{example} - -\begin{example} - \creator{tvz} - \title{} - -\centerline{% - \rnode{a}{\psframebox{\Huge A connection}}% - \hskip 1.6cm - \rnode{b}{\psframebox{\Huge Unto another}}} -\ncloop[loopsize=-1cm,arm=.8cm,linearc=.3]{->}{a}{b} -\end{example} - - -\begin{example} - \creator{tvz} - \title{} - - \newbox\mybox - \setbox\mybox=\hbox{% - \psset{unit=4pt} - \pspicture(-2.8,0)(2.8,7.75) - \psset{linewidth=.1} - \psline(-.3,0)(-.3,3) - \psline(.3,0)(.3,3) - \psline(-2,0)(2,0) - \rput{45}(0,2){% - \psframe[framearc=.1,fillstyle=solid](0,0)(4,4) - \psline[linewidth=.4,linearc=.2](1.5,.4)(.4,2.5)(3.6,1.5)(2.5,3.6)} - \psdots[dotstyle=square,dotsize=.4 0](0,7.5) - \endpspicture}% - \centerline{\copy\mybox\hskip 1pt\copy\mybox} -\end{example} - -\end{document} - diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/tp-test.pdf b/Master/texmf-dist/doc/generic/pstricks/examples/tp-test.pdf Binary files differdeleted file mode 100644 index 2e2db9df0e5..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/tp-test.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pstricks/examples/tp-test.tex b/Master/texmf-dist/doc/generic/pstricks/examples/tp-test.tex deleted file mode 100644 index 355851eee33..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/examples/tp-test.tex +++ /dev/null @@ -1,72 +0,0 @@ -%% BEGIN tp-test.tex -%% -%% LaTeX test file for textpath.tex/textpath.sty. -%% -%% To use PostScript fonts with the New Font Selection Scheme: -%% - Include the style option "npsfont". -%% - You may have to change the font file names given below. -%% - "npsfont.sty" is distributed with PSTricks. - -\documentclass[11pt,a4paper]{article} - -\makeatletter - -%% INPUT FANCYBOX.STY HERE TO CHECK FILE VERSION. - -\usepackage{fancybox} -\usepackage[T1]{fontenc} -\usepackage[dvips]{geometry} -\geometry{tmargin=2cm,bmargin=3.3cm,headheight=20pt,headsep=10pt, -textheight=9in, footskip=.625in} -\usepackage[scaled]{luximono} -\usepackage{mathptmx} -\usepackage{pstricks,pst-text} - -\begin{document} -The first sample shows that math works. I let the line be drawn to make the sample clearer. -\begin{verbatim} - \large - \pstextpath[c]% - {\pscurve[linecolor=gray](0,1)(4,3)(6,2)(9,0)(12,1)(15,1)}% - {$S_\alpha=\Omega(\gamma_\beta)$ is a connected snarf and - $B=(\otimes,\rightarrow,\theta)$ is Boolean left subideal.} -\end{verbatim} - -\vskip 3.5cm - -\begin{large} - \pstextpath[c]% - {\pscurve[linecolor=gray](0,1)(4,3)(6,2)(9,0)(12,1)(15,1)}% - {$S_\alpha=\Omega(\gamma_\beta)$ is a connected snarf and - $B=(\otimes,\rightarrow,\theta)$ is Boolean left subideal.} -\end{large} - -\vskip 1cm - -\begin{verbatim} - \psset{linestyle=none} - \pstextpath[c]{\psarcn(0,0){73pt}{180}{0}}% - {Centre National de la} - \pstextpath[c]{\psarc(0,0){73pt}{180}{0}}% - {Recherche Scientifique} -\end{verbatim} - -\begin{center} - \vskip 2cm - \Huge - \psset{linestyle=none} - \pstextpath[c]{\psarcn(0,0){73pt}{180}{0}}% - {Centre National de la} - \pstextpath[c]{\psarc(0,0){73pt}{180}{0}}% - {Recherche Scientifique} - \vskip 2cm -\end{center} - -\begin{center} - \pstextpath[c](0,0){\psarcn[linestyle=none](0,-6){4}{180}{0}}% - {\parbox{3.5in}{In principle, it is possible to use - parbox, but let's see what really happens. It seems - hard to believe that someone would want to do this.}} -\end{center} -\end{document} -%% END tp-test.tex diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-docfull.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-docfull.pdf Binary files differnew file mode 100644 index 00000000000..6666f0a0244 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/pst-docfull.pdf diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news05.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news05.pdf Binary files differnew file mode 100644 index 00000000000..c6459f23e10 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news05.pdf diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news05.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news05.tex new file mode 100644 index 00000000000..a1ddcc64a64 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news05.tex @@ -0,0 +1,403 @@ +\documentclass[12pt]{article} +\usepackage[T1]{fontenc} +\usepackage[latin1]{inputenc} +%\usepackage{geometry} +\usepackage{pst-all} +\usepackage{showexpl} +\usepackage{tabularx,array,longtable} +\SpecialCoor +\usepackage[colorlinks,linktocpage]{hyperref} +\def\UrlFont{\small\ttfamily} +\makeatletter +\def\verbatim@font{\small\normalfont\ttfamily} +\makeatother +%\usepackage{color} +\definecolor{hellgelb}{rgb}{1,1,0.8} +\definecolor{colKeys}{rgb}{0,0,1} +\definecolor{colIdentifier}{rgb}{0,0,0} +\definecolor{colComments}{rgb}{1,0,0} +\definecolor{colString}{rgb}{0,0.5,0} +% +\usepackage{listings} +\lstset{% + language=PSTricks,% + float=hbp,% + basicstyle=\ttfamily\small, % + identifierstyle=\color{colIdentifier}, % + keywordstyle=\color{colKeys}, % + stringstyle=\color{colString}, % + commentstyle=\color{colComments}, % + columns=flexible, % + tabsize=4, % + frame=single, % + extendedchars=true, % + showspaces=false, % + showstringspaces=false, % + numbers=left, % + numberstyle=\tiny, % + breaklines=true, % +% backgroundcolor=\color{hellgelb}, % + breakautoindent=true, % + captionpos=b,% + xleftmargin=0pt% +} + +%\parindent=0pt +\newcommand\verbI[1]{{\small\texttt{#1}}} +\newcommand\CMD[1]{{\texttt{\textbackslash#1}}} +\let\Lcs\CMD +% +%\psset{subgriddiv=0,griddots=5,gridlabels=7pt} +% +\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} +\def\PS{PostScript} +% +\begin{document} +\title{\texttt{PSTricks -- 2005}\\ new macros and bugfixes for the +basic packages \Lcs{pstricks}, \Lcs{pst-tree}, and \Lcs{pst-node}} +\author{Herbert Voß\thanks{% +\url{Herbert.Voss@pstricks.de}}} +\date{\today} + +\maketitle + +\begin{abstract} +This new version of \texttt{pstricks.tex} depends on the also new prologue file +\texttt{pstricks.pro} (v 1.01) and pst-dots.pro (v. 2.00), which should go into +the local \TeX-directory \url{$TEXMFLOCAL/dvips/}. +\end{abstract} + + +\tableofcontents + +\clearpage + +\part{General informations} +%-------------------------------------------------------------------------------------- +\section{Color handling} +%-------------------------------------------------------------------------------------- +The new color package \verb+xcolor+ has a lot of interesting features, but it needs +some modification to the code of \verb+pstricks.sty+ and \verb+pstricks.tex+. The +package \verb+pstricks.sty+ superseded the old package \verb+pstcol.sty+, which is +now obsolet. The version on CTAN now does nothing else as loading \verb+pstricks.sty+. + +There are some important facts for using colors inside PSTricks with \LaTeX: + +\begin{itemize} +\item load always \verb+pstricks+ as first package; +\item use always the \LaTeX\ syntax for defining colors and \textbf{not} the PSTricks own one.\\ + \verb+\definecolor ...+ is the correct setting! +\item do not use the PSTricks style for using color, use always \verb+\color{<name>}+. +\end{itemize} + + +\part{\texttt{pstricks} -- package} + + +%-------------------------------------------------------------------------------------- +\section{\texttt{pstricks.sty}} +%-------------------------------------------------------------------------------------- +New otions: + +\begin{description} +\item[\texttt{noxcolor}] load package \verb+color+ instead of \verb+xcolor+; +\item[\texttt{plain}] do nothing else as a \CMD{input\{pstricks\}}; +\item[\texttt{DIA}] a bug fix for the \verb+PSTricks+-export of the garfic program DIA. +\end{description} + + +%-------------------------------------------------------------------------------------- +\section{\texttt{pstricks.pro}} +%-------------------------------------------------------------------------------------- + +this file now contains the PostScript code for arcs of an ellipse. + + +\section{\texttt{pstricks.tex}} +The new version 1.10 has some minor but important changes; it is not compatible +to older versions when using the vertical shift option for the \verb+pspicture+ +environment. + +\subsection{New and modified option for {pspicture}}\label{sec:option} + +Table~\ref{tab:pspicture} shows the two new options for the \verb+pspicture+ environment. + +\begin{table}[htb] +\caption{Optionen der \texttt{pspicture}-Umgebung}\label{tab:pspicture} +\centering +\begin{tabular}{@{}lll@{}} +\textrm{\emph{name}} & \emph{meaning} & \emph{default}\\\hline +\verb+shift+ & vertical shift & $0$ \\ +\verb+showgrid+ & show grid & \verb+false+\\ +\end{tabular} +\end{table} + + +% --------------------------------------------------------------------------------------- +\subsubsection{\texttt{shift}}\label{subsubsec:shift} +% --------------------------------------------------------------------------------------- +This option is the known one from older \texttt{PSTricks} version, but now with the +usual syntax for options. The shift is relative to the height of the defined \verb+pspicture+ +environment, its lower left corner is by deafult on the base line. For older versions +the shift depends with its value to the baseline, a negative value raised up the \verb+pspicture+ +box. Now the \verb+shift+ option works similiar to the known \CMD{raisebox} makro, except that +\verb+shift+ is relative to the box height. A positive \verb+shift+ value raises up the box +and vice versa for a negative value. + +\begin{figure}[htb] +\centering +\textcolor{red}{\rule{5mm}{1pt}}% +\begin{pspicture}[shift=0.5](-0.5,-0.5)(0.5,0.5) + \psframe[linecolor=blue](-0.5,-0.5)(0.5,0.5)\rput(0,0){-0.5} +\end{pspicture}% +\textcolor{red}{\rule{5mm}{1pt}} +\hspace{1cm}% +\textcolor{red}{\rule{5mm}{1pt}}% +\begin{pspicture}(-0.5,-0.5)(0.5,0.5) + \psframe[linecolor=blue](-0.5,-0.5)(0.5,0.5)\rput(0,0){0} +\end{pspicture}\textcolor{red}{\rule{5mm}{1pt}} +\hspace{1cm}% +\textcolor{red}{\rule{5mm}{1pt}}% +\begin{pspicture}[shift=-0.5](-0.5,-0.5)(0.5,0.5) + \psframe[linecolor=blue](-0.5,-0.5)(0.5,0.5)\rput(0,0){0.5} +\end{pspicture}% +\textcolor{red}{\rule{5mm}{1pt}} +\caption{Meaning of the \texttt{shift} option}\label{fig:baseline} +\end{figure} + +%\begin{lstlisting}[caption={Vertikale Verschiebung der Baseline}] +\begin{lstlisting} +\textcolor{red}{\rule{5mm}{1pt}}% +\begin{pspicture}[shift=0.5](-0.5,-0.5)(0.5,0.5) + \psframe[linecolor=blue](-0.5,-0.5)(0.5,0.5)\rput(0,0){-0.5} +\end{pspicture}% +\textcolor{red}{\rule{5mm}{1pt}} +\hspace{1cm}% +\textcolor{red}{\rule{5mm}{1pt}}% +\begin{pspicture}(-0.5,-0.5)(0.5,0.5) + \psframe[linecolor=blue](-0.5,-0.5)(0.5,0.5)\rput(0,0){0} +\end{pspicture}\textcolor{red}{\rule{5mm}{1pt}} +\hspace{1cm}% +\textcolor{red}{\rule{5mm}{1pt}}% +\begin{pspicture}[shift=-0.5](-0.5,-0.5)(0.5,0.5) + \psframe[linecolor=blue](-0.5,-0.5)(0.5,0.5)\rput(0,0){0.5} +\end{pspicture}% +\textcolor{red}{\rule{5mm}{1pt}} +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsubsection{\texttt{showgrid}}\label{subsubsec:showgrid} +% --------------------------------------------------------------------------------------- +This new version of \texttt{PSTricks} defines internally a special grid style + +\begin{lstlisting} +\newpsstyle{gridstyle}{% + subgriddiv=0,gridcolor=lightgray,griddots=10,gridlabels=8pt} +\end{lstlisting} + +which can be overwritten by the user. This style is only used for the \verb+showgrid+ +option of the \verb+pspicture+ environment. The macro \verb+\psgrid+ doesn't use this predefined +style and works in the usual way. However, the user can use it like all +other self defined styles: \verb+\psgrid[style=gridstyle]+. + + +\begin{LTXexample}[width=3.5cm] +\begin{pspicture}[showgrid=true](-1,0)(2,1) +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[width=3.5cm] +\newpsstyle{gridstyle}{% + subgriddiv=2,subgridcolor=lightgray} +\begin{pspicture}[showgrid=true](-1,0)(2,1) +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[width=3.5cm] +\newpsstyle{gridstyle}{} +\begin{pspicture}[showgrid=true](-1,0)(2,1) +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[width=3.5cm] +\begin{pspicture}(-1,0)(2,1) +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[width=3.5cm] +\begin{pspicture}(-1,0)(2,1) + \psgrid +\end{pspicture} +\end{LTXexample} + +Depending to the internal structure of the \verb+pspicture+ environment it is not possible +to set the \verb+shift+ option global by \CMD{psset}, it must always be locally defined +with optional part of the parameter, as seen in the above examples. + + +%-------------------------------------------------------------------------------------- +\subsection{New arrows} +%-------------------------------------------------------------------------------------- + +\verb+pstricks now contains the missing arrow ends \verb+]-[+ and \verb+)-(+. + +\begin{LTXexample}[width=4cm] +\begin{pspicture}(4,3) + \psset{arrowscale=2,linewidth=1pt} + \psline{]-[}(4,0) + \psline{)-(}(0,1)(4,1) + \psline{)->}(0,2)(4,2) + \psline{]->>}(0,3)(4,3) +\end{pspicture} +\end{LTXexample} + + +%-------------------------------------------------------------------------------------- +\subsection{\Lcs{psdot} and \Lcs{psdots}} +%-------------------------------------------------------------------------------------- +\verb+\psdot*+ and \verb+\psdots*+ are now supported by PSTricks. Both were missing +in the old versions. + + +%-------------------------------------------------------------------------------------- +\subsection{Other changes} +%-------------------------------------------------------------------------------------- +\texttt{pstricks.tex} defined the PostScript subroutines for arcs of an ellipse. +This code now moved into the appropriate \texttt{pstricks.pro}, which holds the +pure PostScript code of \texttt{PSTricks}. This in not important for user until +the newest \texttt{pstricks.pro} \textbf{and} \texttt{pstricks.tex} are installed. + + +\subsection{Bugfixes} +\subsubsection{\texttt{origin}} + +There were several mailings in the past to the \verb+origin+ option, which worked the other +way round than expected. Now the coordinates work realtive to the current origin. + + +\begin{LTXexample}[width=3cm] +\begin{pspicture}(-1,-1)(2,1.25) + \psaxes{->}(0,0)(-1,-1)(2,1.25) + \psset{linewidth=1.5pt} + \parabola[linestyle=dashed](-1,1)(0,0) + \parabola[origin={0.5,-0.5}](-1,1)(0,0) + \qdisk(0.5,-0.5){2pt} +\end{pspicture} +\end{LTXexample} + +\subsubsection{Empty parameter} +\sloppy +To prevent some problems with empty arrow definitions in macros like \verb+\psline[...]{}(..)(...)+, +which makes no sense, but should be possible, there is now a check before setting the values. + + +\subsection{\CMD{psscalebox} and \CMD{psscaleboxto}} +To prevent clashes with the \verb+graphicx+ package, which also defines a \CMD{scalebox} macro +with different syntax, +\verb+PSTricks+ now defines \CMD{psscalebox} and \CMD{psscaleboxto}. For some compatibility reasons the old +names are still supported. With the new names it doesn'r matter if \verb+pstricks+ is loaded before or after +\verb+graphicx+. There are also some other changes: + + +\begin{verbatim} + \scalebox -> \psscalebox + \scaleboxto -> \psscaleboxto + \rotateleft -> \psrotateleft + \rotateright -> \psrotateright + \rotatedown -> \psrotatedown +\end{verbatim} + +%-------------------------------------------------------------------------------------- +\section{New fill options} +%-------------------------------------------------------------------------------------- +For the fillstyles \verb+hlines+, \verb+vlines+ and \verb+crosshatch+ there are two new +options to get increasing line widths and/or increasing whitespace. Both options are +lengths and can be set as usual for PSTricks, with or without a unit. + +\bigskip\noindent +\begin{tabularx}{\linewidth}{lXc} +\emph{name} & \emph{meaning} & \emph{default}\\\hline +\verb|hatchsepinc| & additional increasing space between two hatch lines & 0\tabularnewline +\verb|hatchwidthinc| & value for the increasing line width of two hatch lines & 0 +\end{tabularx} + + + +\bigskip +\begin{LTXexample}[pos=t] +\begin{pspicture}(\linewidth,3) + \psframe[fillstyle=vlines,hatchangle=0,hatchsep=.5pt,% + hatchwidth=1pt,hatchwidthinc=0.25pt](\linewidth,3) +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[pos=t] +\begin{pspicture}(\linewidth,3) + \psframe[fillstyle=hlines,hatchangle=0,% + hatchwidth=1pt,hatchsep=0.5pt,hatchsepinc=0.1pt](\linewidth,3) +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[pos=t] +\begin{pspicture}(\linewidth,3) + \psframe[fillstyle=vlines,hatchangle=0,hatchsep=0.6pt,% + hatchwidth=1pt,hatchwidthinc=0.3pt,hatchangle=60, + hatchcolor=red](\linewidth,3) +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[pos=t] +\begin{pspicture}(\linewidth,3) + \psframe[fillstyle=hlines,hatchangle=0,hatchangle=-60,% + hatchwidth=1pt,hatchsep=0.5pt,hatchsepinc=0.1pt, + hatchcolor=blue](\linewidth,3) +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[pos=t] +\begin{pspicture}(\linewidth,4) + \pscircle[fillstyle=vlines,hatchangle=0,hatchsep=0.6pt,% + hatchwidth=1pt,hatchwidthinc=0.3pt,hatchangle=90, + hatchcolor=red](2,2){2} + \pscircle[fillstyle=vlines,hatchangle=0,hatchsep=0.6pt,% + hatchwidth=1pt,hatchwidthinc=0.3pt,hatchangle=-45, + hatchcolor=green](7,2){2} + \pscircle[fillstyle=hlines,hatchangle=0,hatchsep=0.6pt,% + hatchwidth=1pt,hatchwidthinc=0.3pt,hatchangle=45, + hatchcolor=blue](12,2){2} +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[pos=t] +\begin{pspicture}(\linewidth,3) + \psframe[fillstyle=crosshatch,hatchangle=0,hatchangle=-90,% + hatchwidth=1pt,hatchsep=0.5pt,hatchsepinc=0.1pt, + hatchcolor=blue](\linewidth,3) +\end{pspicture} +\end{LTXexample} + +\part{\texttt{pst-node} -- package} + +\section{\texttt{pst-node.tex}} +\subsection{\CMD{nccircle}} +With some modification to \CMD{psarc\@iv} it is now possible to get the loops in any direction +and above or below the node. + +\begin{LTXexample}[width=.35\linewidth] +\psscalebox{1.5}{% + \circlenode{A}{A} + \nccircle{->}{A}{1.5em} \nbput{foo} + \nccircle{<-}{A}{-1.5em}\naput{bar}} +% +\hspace{1cm} +\psscalebox{1.5}{% + \circlenode{A}{A} + \nccircle{<-}{A}{1.5em} \nbput{foo} + \nccircle{->}{A}{-1.5em}\naput{bar}} +\end{LTXexample} + +\part{\texttt{pst-tree} -- package} +\section{\texttt{pst-tree.tex}} + +\end{document} diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news06.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news06.pdf Binary files differnew file mode 100644 index 00000000000..ae63aadf05a --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news06.pdf diff --git a/Master/texmf-dist/doc/generic/pstricks/pstnews1-15.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news06.tex index 7a1b54508c3..719c6174cac 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pstnews1-15.tex +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news06.tex @@ -2,7 +2,8 @@ \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} %\usepackage{geometry} -\usepackage{pst-all} +\usepackage{pst-all,pst-news} +\let\CMD\cs \usepackage{showexpl} \usepackage{tabularx,array,longtable} \SpecialCoor @@ -11,7 +12,6 @@ \makeatletter \def\verbatim@font{\small\normalfont\ttfamily} \makeatother -%\usepackage{color} \definecolor{hellgelb}{rgb}{1,1,0.8} \definecolor{colKeys}{rgb}{0,0,1} \definecolor{colIdentifier}{rgb}{0,0,0} @@ -42,18 +42,12 @@ xleftmargin=0pt% } -%\parindent=0pt -\newcommand\verbI[1]{{\small\texttt{#1}}} -\newcommand\CMD[1]{{\texttt{\textbackslash#1}}} -\let\Lcs\CMD -% -%\psset{subgriddiv=0,griddots=5,gridlabels=7pt} -% \DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} \def\PS{PostScript} % \begin{document} -\title{\texttt{PSTricks -- version 1.15}\\new macros and bugfixes for \texttt{pstricks}} +\title{\texttt{PSTricks -- 2006}\\ new macros and bugfixes for the +basic packages \Lcs{pstricks}, \Lcs{pst-tree}, and \Lcs{pst-node}} \author{Herbert Voß\thanks{% \url{Herbert.Voss@pstricks.de}}} \date{\today} @@ -61,8 +55,8 @@ \maketitle \begin{abstract} -This new version of \texttt{pstricks.tex} depends on the also new prologue file -\texttt{pstricks.pro} (v 1.01) and pst-dots.pro (v. 2.00), which should go into +This new version of \LFile{pstricks.tex} depends on the also new prologue file +\LFile{pstricks.pro} (v 1.01) and \LFile{pst-dots.pro} (v. 2.00), which should go into the local \TeX-directory \url{$TEXMFLOCAL/dvips/}. \end{abstract} diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news08.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news08.pdf Binary files differnew file mode 100644 index 00000000000..9273e7dddc8 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news08.pdf diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news2008.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news08.tex index 2aedc8e6089..e4dd6dfce2d 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news2008.tex +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news08.tex @@ -59,6 +59,43 @@ and \Loption{distiller} overrides the \Index{Ghostscript} functions with the one \section{\texttt{pstricks.tex} (\PSTfileversion -- \PSTfiledate)} %-------------------------------------------------------------------------------------- +\subsection{Makro \cs{psDEBUG}} +\texttt{pstricks.tex} defines the option \texttt{PstDebug=0|1}, which can be used for +debugging. The new macro \cs{psDEBUG} makes it easier to write some debugging +information into the package files. The macro is only valid, if \texttt{PstDebug=1} +is set, otherwise the macro does nothing. + +\begin{verbatim} +\psDEBUG[optional arg]{text} +\end{verbatim} + +\cs{psDEBUG} writes the argument \texttt{text} into the log file. +Without an optional argument the word \texttt{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 \verb+\psset{PstDebug=1}+\footnote{Can also be used locally for a macro when used as optional argument +in the usual way.} +and inside of \texttt{pstricks-add} with +(only the first for example): +\begin{lstlisting} +... + \psDEBUG[key:ticksize]{setting ticksize} +... +\end{lstlisting} + + + \subsection{Option \texttt{shift}} The optional argument \Lkeyword{shift} can be used for a vertical alignment of the \Lenv{pspicture} box. With \Lkeyword{shift}=\Lkeyval{*}, instead of a value or a length @@ -75,22 +112,6 @@ of the current line. \end{pspicture}}\rule{5mm}{0.5pt} \end{LTXexample} - -\iffalse -\subsection{Option \texttt{noCheck}} - -By default PSTricks checks all values for angles and radi, which makes it impossible to -insert the values in PostScript notation. With setting \verb+noCheck=true+ the argument is -taken verbatim and passed directly into the PostScript part. - -\begin{LTXexample}[width=4cm] -\usepackage{pstricks} -\begin{pspicture}[showgrid=true](3,2) - \psarc[noCheck=true](1,1){ 100 sin }{ 30 }{ 350 Pi div } -\end{pspicture} -\end{LTXexample} -\fi - \subsection{Option \texttt{gridfont}} By default the \Index{grid label}s were printed always in \Index{Helvetica}. With the new keyword \Lkeyword{gridfont} one can define another \Index{PostScript Font}. Available are at least @@ -111,7 +132,7 @@ one can define another \Index{PostScript Font}. Available are at least \psgrid[style=gridstyle,gridfont=ZapfDingbats] \end{pspicture} \end{LTXexample} - + \clearpage \subsection{\texttt{linejoin}} @@ -194,6 +215,24 @@ draws its lines as bezier curves, which looks nicer for big arrows. \end{LTXexample} +\clearpage +\subsection{Fill style \texttt{penrose}} + +The valid optional arguments are \texttt{penrose}, \texttt{penrose*}, and \texttt{hatchcolor}. +The star version is only seen, if there is a fillcolor or a background different to white. + +\begin{LTXexample}[pos=t,wide] +\begin{pspicture}(3,3) +\psframe[fillstyle=penrose](3,3) +\end{pspicture} \qquad +\begin{pspicture}(3,3) +\psframe[fillstyle=penrose,psscale=0.5](3,3) +\end{pspicture} \qquad +\begin{pspicture}(3,3) +\psccurve[fillstyle=penrose*,fillcolor=red!30,hatchcolor=blue](0,1.5)(1.5,3)(3,1.5)(1.5,0) +\end{pspicture} +\end{LTXexample} + \clearpage \subsection{Transparent colors} diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news2008.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news2008.pdf Binary files differdeleted file mode 100644 index 70a02afa84c..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news2008.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-user.tgz b/Master/texmf-dist/doc/generic/pstricks/pst-user.tgz Binary files differnew file mode 100644 index 00000000000..f234c090838 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/pst-user.tgz diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-usrfull.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-usrfull.pdf Binary files differnew file mode 100644 index 00000000000..ea5caefd0f1 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/pst-usrfull.pdf diff --git a/Master/texmf-dist/doc/generic/pstricks/pstnews1-14.pdf b/Master/texmf-dist/doc/generic/pstricks/pstnews1-14.pdf Binary files differdeleted file mode 100644 index 77e7bbb34fc..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/pstnews1-14.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pstricks/pstnews1-14.tex b/Master/texmf-dist/doc/generic/pstricks/pstnews1-14.tex deleted file mode 100644 index 0b72f9889f4..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/pstnews1-14.tex +++ /dev/null @@ -1,94 +0,0 @@ -\documentclass[12pt]{article} -\usepackage[T1]{fontenc} -\usepackage[latin1]{inputenc} -%\usepackage{geometry} -\usepackage{pst-all} -\usepackage{showexpl} -\usepackage{tabularx} -\SpecialCoor -%\usepackage[ps2pdf,colorlinks,linktocpage]{hyperref} -\usepackage[colorlinks,linktocpage]{hyperref} -\def\UrlFont{\small\ttfamily} -\makeatletter -\def\verbatim@font{\small\normalfont\ttfamily} -\makeatother -%\usepackage{color} -\definecolor{hellgelb}{rgb}{1,1,0.8} -\definecolor{colKeys}{rgb}{0,0,1} -\definecolor{colIdentifier}{rgb}{0,0,0} -\definecolor{colComments}{rgb}{1,0,0} -\definecolor{colString}{rgb}{0,0.5,0} -% -\usepackage{listings} -\lstset{% - language=PSTricks,% - float=hbp,% - basicstyle=\ttfamily\small, % - identifierstyle=\color{colIdentifier}, % - keywordstyle=\color{colKeys}, % - stringstyle=\color{colString}, % - commentstyle=\color{colComments}, % - columns=flexible, % - tabsize=4, % - frame=single, % - extendedchars=true, % - showspaces=false, % - showstringspaces=false, % - numbers=left, % - numberstyle=\tiny, % - breaklines=true, % -% backgroundcolor=\color{hellgelb}, % - breakautoindent=true, % - captionpos=b,% - xleftmargin=0pt% -} - -%\parindent=0pt -\newcommand\verbI[1]{{\small\texttt{#1}}} -\newcommand\CMD[1]{{\texttt{\textbackslash#1}}} -% -%\psset{subgriddiv=0,griddots=5,gridlabels=7pt} -% -\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} -\def\PS{PostScript} -% -\begin{document} -\title{\texttt{PSTricks -- version 1.14}\\new macros and bugfixes for \texttt{pstricks}} -\author{Herbert Voß\thanks{% -\url{Herbert.Voss@perce.de}}} -\date{\today} - -\maketitle - -\begin{abstract} -This new version of \texttt{pstricks.tex} depends on the also new prologue file -\texttt{pstricks.pro} (v 1.00), which should go into the local \TeX-directory \url{$TEXMFLOCAL/dvips/}. -\end{abstract} - - -\tableofcontents - -%-------------------------------------------------------------------------------------- -\section{Color handling} -%-------------------------------------------------------------------------------------- -The new color package \verb+xcolor+ has a lot of interesting features, but it needs -some modification to the code of \verb+pstricks.sty+ and \verb+pstricks.tex+. The -package \verb+pstricks.sty+ superseded the old package \verb+pstcol.sty+, which is -now obsolet. The version on CTAN now does nothing else as loading \verb+pstricks.sty+. - -There are some important facts for using colors inside PSTricks with \LaTeX: - -\begin{itemize} -\item load always \verb+pstricks+ as first package; -\item use always the \LaTeX\ syntax for defining colors and \textbf{not} the PSTricks own one.\\ - \verb+\definecolor ...+ is the correct setting! -\item do not use the PSTricks style for using color, use always \verb+\color{<name>}+. -\end{itemize} - -%-------------------------------------------------------------------------------------- -\section{Missing star version} -%-------------------------------------------------------------------------------------- -\verb+\psdot*+ and \verb+\psdots*+ are now supported by PSTricks. Both were missing -in the old versions. - -\end{document} diff --git a/Master/texmf-dist/doc/generic/pstricks/pstnews1-15.pdf b/Master/texmf-dist/doc/generic/pstricks/pstnews1-15.pdf Binary files differdeleted file mode 100644 index ce326dc8e1a..00000000000 --- a/Master/texmf-dist/doc/generic/pstricks/pstnews1-15.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pstricks/test-pst.pdf b/Master/texmf-dist/doc/generic/pstricks/test-pst.pdf Binary files differnew file mode 100644 index 00000000000..2ac2bd0199a --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/test-pst.pdf diff --git a/Master/texmf-dist/doc/generic/pstricks/test-pst.tex b/Master/texmf-dist/doc/generic/pstricks/test-pst.tex new file mode 100644 index 00000000000..2af57b5daa6 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/test-pst.tex @@ -0,0 +1,257 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% test-pst.tex --- Various PSTricks tests, from the PSTricks chapter +%% of "The LaTeX Graphics Companion" (by Goossens, Rahtz, +%% Mittelbach, Addison Wesley, 1997) +%% +%% Author : Sebastian RAHTZ (Oxford University - GB) +%% <sebastian.rahtz@computing-services.oxford.ac.uk> +%% Created the : Tue Feb 3 20:37:47 1998 +%% Last mod. by : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr> +%% Last mod. the : Wed May 5 20:09:18 1999 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\documentclass{article} + +\usepackage[latin1]{inputenc} % From LaTeX distribution +\usepackage{calc} % From LaTeX distribution +\usepackage{graphicx} % From LaTeX distribution +\usepackage{ifthen} % From LaTeX distribution +\usepackage{subfigure} % From CTAN/macros/latex/contrib/supported/subfigure +\usepackage{pst-all} % From PSTricks +\usepackage{pst-poly} % From pstricks/contrib/pst-poly +\usepackage{multido} % From PSTricks +\input{random.tex} % From CTAN/macros/generic + +% Take care that on some non Unix systems, you may have to replace +% the / character by, for instance, the : one (\input{lgc:#2.inl}}) +\newcommand{\ExampleSubFigure}[2][0.3333]{% +\subfigure[Example #2]{% + \begin{minipage}[t]{#1\textwidth} + \parbox[b]{\textwidth}{% + \centering + \input{lgc/#2.inl}} + \end{minipage}}} + +\newpsobject{showgrid}{psgrid}{subgriddiv=1,griddots=10,gridlabels=6pt} + +% New colors defined +\definecolor{brown}{rgb}{.65, .16, .16} +\definecolor{lightblue}{rgb}{.68, .85, .9} +\definecolor{palegreen}{rgb}{.6, .98, .6} +\definecolor{pink}{rgb}{1, .75, .8} +\definecolor{wheat}{rgb}{.96, .87, .7} + +% Layout changes +\textheight=23cm +\topmargin=-2cm +\textwidth=16cm +\oddsidemargin=0cm +\evensidemargin=0cm + +\begin{document} + +\title{Test file for the PSTricks 97 distribution:\\ + most of the PSTricks examples of\\ + \emph{The \LaTeX{} Graphics Companion}} +\author{Sebastian \textsc{Rahtz} --- March 1997} +\date{Version 1.3 (September 9, 1998)} +\maketitle + +\begin{figure}[!htbp] + \centering + \ExampleSubFigure{4-2-1}% + \ExampleSubFigure{4-2-2}% + \ExampleSubFigure{4-2-3} + \ExampleSubFigure{4-2-4}% + \ExampleSubFigure{4-2-5} + \caption{Section 2} +\end{figure} + +\begin{figure}[!htbp] + \centering + \ExampleSubFigure{4-3-1}% + \ExampleSubFigure{4-3-2} + \caption{Section 3} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure{4-4-1}% + \ExampleSubFigure{4-4-2}% + \ExampleSubFigure{4-4-3} + \ExampleSubFigure{4-4-4}% + \ExampleSubFigure{4-4-5}% + \ExampleSubFigure{4-4-6} + \ExampleSubFigure{4-4-7}% + \ExampleSubFigure{4-4-8}% + \ExampleSubFigure{4-4-9} + \ExampleSubFigure{4-4-10}% + \ExampleSubFigure{4-4-11}% + \ExampleSubFigure{4-4-12} + \caption{Section 4} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[0.5]{4-5-1}% + \ExampleSubFigure[0.5]{4-5-2} + \ExampleSubFigure[0.75]{4-5-3}% + \ExampleSubFigure[0.25]{4-5-4} + \ExampleSubFigure[0.15]{4-5-5}% + \ExampleSubFigure[0.25]{4-5-6}% + \ExampleSubFigure[0.2]{4-5-7}% + \ExampleSubFigure[0.2]{4-5-8}% + \ExampleSubFigure[0.2]{4-5-9} + \ExampleSubFigure[0.5]{4-5-10}% + \ExampleSubFigure[0.5]{4-5-11} + \caption{Section 5-A} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[1]{4-5-13} + \ExampleSubFigure[1]{4-5-14} + \ExampleSubFigure[1]{4-5-16} + \caption{Section 5-B} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure{4-6-1}% + \ExampleSubFigure{4-6-2}% + \ExampleSubFigure{4-6-3} + \ExampleSubFigure{4-6-4}% + \ExampleSubFigure{4-6-5}% + \ExampleSubFigure{4-6-6} + \ExampleSubFigure{4-6-7}% + \ExampleSubFigure{4-6-8}% + \ExampleSubFigure{4-6-9} + \ExampleSubFigure{4-6-10}% + \ExampleSubFigure{4-6-11}% + \ExampleSubFigure{4-6-12} + \ExampleSubFigure{4-6-13}% + \ExampleSubFigure{4-6-14}% + \ExampleSubFigure{4-6-15} + \ExampleSubFigure{4-6-16}% + \ExampleSubFigure{4-6-17}% + \ExampleSubFigure{4-6-18} + \caption{Section 6-A} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure{4-6-19}% + \ExampleSubFigure{4-6-20}% + \ExampleSubFigure{4-6-21} + \ExampleSubFigure{4-6-22}% + \ExampleSubFigure{4-6-23}% + \ExampleSubFigure{4-6-24} + \ExampleSubFigure{4-6-25} + \caption{Section 6-B} +\end{figure} + +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[1]{4-6-26} + \ExampleSubFigure{4-6-27}% + \ExampleSubFigure{4-6-28}% + \ExampleSubFigure{4-6-29} + \ExampleSubFigure[0.3333]{4-6-30}% + \ExampleSubFigure[0.6667]{4-6-31} + \ExampleSubFigure[1]{4-6-32} + \caption{Section 6-C} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[1]{4-6-33} + \ExampleSubFigure[0.5]{4-6-34}% + \ExampleSubFigure[0.5]{4-6-35} + \ExampleSubFigure[0.5]{4-6-36}% + \ExampleSubFigure[0.5]{4-6-37} + \caption{Section 6-D} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[1]{4-6-38} + \ExampleSubFigure[1]{4-6-39} + \ExampleSubFigure[0.5]{4-6-40}% + \ExampleSubFigure[0.5]{4-6-41} + \caption{Section 6-E} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[0.5]{4-6-42}% + \ExampleSubFigure[0.5]{4-6-43} + \ExampleSubFigure{4-6-44}% + \ExampleSubFigure{4-6-45}% + \ExampleSubFigure{4-6-46} + \caption{Section 6-F} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[1]{4-7-1} + \ExampleSubFigure[1]{4-7-2} + \ExampleSubFigure[1]{4-7-4} + \caption{Section 7} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[0.5]{4-8-1}% + \ExampleSubFigure[0.25]{4-8-2}% + \ExampleSubFigure[0.25]{4-8-3} + \ExampleSubFigure[1]{4-8-4} + \caption{Section 8-A} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[1]{4-8-5} + \caption{Section 8-B} +\end{figure} + +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[0.5]{4-9-1}% + \ExampleSubFigure[0.5]{4-9-2} + \caption{Section 9} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[0.4]{4-10-1}% + \ExampleSubFigure[0.2]{4-10-2}% + \ExampleSubFigure[0.2]{4-10-3}% + \ExampleSubFigure[0.2]{4-10-4} + \ExampleSubFigure[0.4]{4-10-5}% + \ExampleSubFigure[0.2]{4-10-6}% + \ExampleSubFigure[0.4]{4-10-7} + \caption{Section 10-A} +\end{figure} + +\clearpage +\begin{figure}[!htbp] + \centering + \ExampleSubFigure[1]{4-10-8} + \ExampleSubFigure[1]{4-10-9} + \ExampleSubFigure[1]{4-10-10} + \caption{Section 10-B} +\end{figure} + +\end{document} |