texlive[42090] Master/texmf-dist: pstricks (17sep16)
commits+karl at tug.org
commits+karl at tug.org
Sun Sep 18 00:01:50 CEST 2016
Revision: 42090
http://tug.org/svn/texlive?view=revision&revision=42090
Author: karl
Date: 2016-09-18 00:01:50 +0200 (Sun, 18 Sep 2016)
Log Message:
-----------
pstricks (17sep16)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/pstricks/PSTricks.bib
trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.pdf
trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex
trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
trunk/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls
Modified: trunk/Master/texmf-dist/doc/generic/pstricks/PSTricks.bib
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pstricks/PSTricks.bib 2016-09-17 21:20:54 UTC (rev 42089)
+++ trunk/Master/texmf-dist/doc/generic/pstricks/PSTricks.bib 2016-09-17 22:01:50 UTC (rev 42090)
@@ -82,10 +82,10 @@
@Book{PSTricks2,
author = {Herbert Vo\ss},
title = {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX},
- edition = {7},
+ edition = 7,
publisher = {DANTE -- Lehmanns Media},
year = {2016},
- address = {Heidelberg/Berlin}
+ address = {Heidelberg and Berlin}
}
@Book{PSTricksE,
@@ -103,7 +103,7 @@
edition = {2.},
publisher = {DANTE -- lehmanns media},
year = {2010},
- address = {Heidelberg/Hamburg}
+ address = {Heidelberg and Berlin}
}
@Book{LaTeXRefE,
author = {Herbert Vo\ss},
Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex 2016-09-17 21:20:54 UTC (rev 42089)
+++ trunk/Master/texmf-dist/doc/generic/pstricks/pst-news16.tex 2016-09-17 22:01:50 UTC (rev 42090)
@@ -41,7 +41,7 @@
This version fixes a bug with \verb|pst at refangle| which is used inside PostScript.
\begin{LTXexample}[pos=t]
-\begin{pspicture}(-1,-1)(10,4)
+\begin{pspicture}(-1,-1)(10,3.5)
\psparametricplot[algebraic]{0}{9}{t^2/9 | sin(t)+1}%
\pscurvepoints{0}{9}{(t^2)/9 | sin(t)+1}{P}%
\pspolylineticks[metricInitValue=1,ticksize=-2pt 2pt,Os=1,Ds=.2]{P}{ ds }{1}{56}%
@@ -50,6 +50,25 @@
\end{pspicture}
\end{LTXexample}
+\begin{sloppypar}
+There is a new optional argument \Lkeyword{draft} which has the same meaning as
+the one for \Lcs{includegraphics}. The PSTricks image is not drawn, only the
+area of the \Lenv{pspicture} coordinates is seen by a rectangle if (only for \LaTeX).
+\end{sloppypar}
+
+\begin{LTXexample}[pos=t]
+\psset{draft}
+\begin{pspicture}(-1,-1)(10,3.5)
+\psparametricplot[algebraic]{0}{9}{t^2/9 | sin(t)+1}%
+\pscurvepoints{0}{9}{(t^2)/9 | sin(t)+1}{P}%
+\pspolylineticks[metricInitValue=1,ticksize=-2pt 2pt,Os=1,Ds=.2]{P}{ ds }{1}{56}%
+\pspolylineticks[metricInitValue=1,Os=1,Ds=2]{P}{ ds }{0}{6}%
+\multido{\iA=1+1,\iB=3+2}{5}{\Put{6pt;(PNormal\iA)}(PTick\iA){\tiny \iB}}
+\end{pspicture}
+\end{LTXexample}
+
+
+
\clearpage
\nocite{*}
\bibliographystyle{plain}
Modified: trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex 2016-09-17 21:20:54 UTC (rev 42089)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex 2016-09-17 22:01:50 UTC (rev 42090)
@@ -1,7 +1,7 @@
%% pstricks.tex
%% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz at nwu.edu.
%% COPYRIGHT 2000-2003 by Denis Girou.
-%% Copyright 2004-2016 Herbert Voss
+%% Copyright 2004-2017 Herbert Voss
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -126,19 +126,19 @@
\fi
\XKV at tempa
}
-
+%
\def\ProvidesPackageRCS{\@ifnextchar[\ProvidesPackageRCS at i{\ProvidesPackageRCS at i[] }} %$
\def\ProvidesPackageRCS at i[#1] $#2${} %$
\catcode`\@=\PstAtCode\relax
\ifx\PSTFPloaded\endinput\else \input pst-fp.tex\fi
-
+%
\input pgfutil-common.tex
\input pgfkeys.code.tex
\input pgffor.code.tex
\let\pgfforeach\foreach
%
-\def\fileversion{2.68}
-\def\filedate{2016/06/09}
+\def\fileversion{2.69}
+\def\filedate{2016/09/16}
\catcode`\@=11\relax
\pst at addfams{pstricks}
%
@@ -154,7 +154,7 @@
\long\def\@forloop#1,#2,#3\@@#4#5{\def#4{#1}\ifx#4\@nnil \else
#5\def#4{#2}\ifx#4\@nnil \else\global\advance\psLoopIndex by \@ne\relax
#5\@iforloop #3\@@#4{#5}\fi\fi}
-
+%
\long\def\@iforloop#1,#2\@@#3#4{\global\advance\psLoopIndex by \@ne\relax%
\def#3{#1}\ifx #3\@nnil
\expandafter\@fornoop \else
@@ -701,8 +701,9 @@
\newrgbcolor{cyan}{0 1 1}
\newrgbcolor{magenta}{1 0 1}
%
+\define at boolkey[psset]{pstricks}[Pst@]{draft}[true]{}
\define at key[psset]{pstricks}{bgcolor}{\def\pst at bgcolor{#1}}% background for pspicture
-\psset[pstricks]{bgcolor={}}% \pst at bgcolor is \@empty
+\psset[pstricks]{bgcolor={},draft=false}% \pst at bgcolor is \@empty
\define at key[psset]{pstricks}{style}{%
\@ifundefined{pscs@#1}%
@@ -4446,9 +4447,7 @@
\kern\pst at dimc}%
\if at star\setbox\pst at hbox=\hbox{\clipbox@@\z@}\fi
\leavevmode
- \ifdim\overfullrule=\z@
- \box\pst at hbox
- \else
+ \ifPst at draft
\expandafter\ifx\csname @latexerr\endcsname\relax
\box\pst at hbox
\else % do we have LaTeX?
@@ -4455,6 +4454,8 @@
\fboxsep=0pt
\fbox{\rule[-\pst at shift]{0pt}{\ht\pst at hbox}\rule{\wd\pst at hbox}{0pt}}%
\fi
+ \else
+ \box\pst at hbox
\fi
\endgroup
\psset[pstricks]{shift=0}% reset value
Modified: trunk/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls 2016-09-17 21:20:54 UTC (rev 42089)
+++ trunk/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls 2016-09-17 22:01:50 UTC (rev 42090)
@@ -19,8 +19,7 @@
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
%
-\LoadClass[%titlepage,
-DIV13]{scrartcl}
+\LoadClass{scrartcl}
%
\RequirePackage[dvipsnames,x11names,svgnames,table]{xcolor}
\RequirePackage{ifxetex}
@@ -36,6 +35,7 @@
\RequirePackage{bera}
%\RequirePackage[scaled=0.85]{luximono}
\fi
+\usepackage[includeheadfoot,lmargin=2cm,tmargin=1cm,bmargin=1.5cm,rmargin=1.5cm]{geometry}
\RequirePackage{ifpdf}
% Define commands that don't eat spaces.
\RequirePackage{xspace}
@@ -327,6 +327,8 @@
\let\nxLkeyval\nxLkeyword
\let\nxLenv\nxLkeyword
\let\nxLps\nxLkeyword
+\def\LColor#1{\texttt{#1}\xLColor{#1}}
+\def\xLColor#1{\index{#1@\texttt{#1}}\index{Color!#1@\texttt{#1}}}
\def\Lkeyval#1{\texttt{#1}\xLkeyval{#1}}
\def\xLkeyval#1{\index{#1@\texttt{#1}}\index{Keyvalue!#1@\texttt{#1}}}
\def\xLoption#1{\index{#1@\texttt{#1}}\index{Package option!#1@\texttt{#1}}}
More information about the tex-live-commits
mailing list