diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-31 23:43:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-31 23:43:51 +0000 |
commit | 076715feb370ff031fe1f9111d723331670a385e (patch) | |
tree | fccd642e5c16d8b6c7703493058cb3db76c848e8 | |
parent | e7c5a338a8a39e0964862cc028a9cef4c7ccf6e8 (diff) |
pstricks-add update
git-svn-id: svn://tug.org/texlive/trunk@3074 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Build/tools/tpm-ctan-check | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex | 31 | ||||
-rw-r--r-- | Master/texmf-dist/tpm/pstricks-add.tpm | 4 |
3 files changed, 15 insertions, 26 deletions
diff --git a/Build/tools/tpm-ctan-check b/Build/tools/tpm-ctan-check index 1322f4b4669..13850865423 100755 --- a/Build/tools/tpm-ctan-check +++ b/Build/tools/tpm-ctan-check @@ -198,6 +198,7 @@ sub do_tpm my $needed = 0; my %tpm = &read_tpm ($tpm); + return 1 unless keys %tpm; my @tpm_files = @{$tpm{"files"}}; my @compared = (); @@ -296,7 +297,10 @@ sub read_tpm $me =~ s/\.tpm$//; chomp (my $ctan_dir = `$mydir/tlpkginfo --ctan-dir '$me'`); - die "$0: no CTAN directory for $me\n" if ! $ctan_dir; + if (! $ctan_dir) { + warn "$0: oops, no CTAN directory for $me, fix fix\n"; + return (); + } $ret{"CTANdir"} = $ctan_dir; return %ret; diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex index c499d008619..6d472d25700 100644 --- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex +++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex @@ -335,24 +335,6 @@ It makes some sense to define a new macroname in the preamble to use it througho \pst@absdim{4sp}\absDim \the\absDim \makeatother \end{LTXexample} -% -\subsection{Reading angle values} -By default \PST\ checks the input value of angles. With the optional argument -\verb+angleCheck+ this internal check can be disabled. Then \PST\ passes the -input straight to \PS\ and it is possible to do some calculating by using -\PS\ code. - -\begin{LTXexample}[width=4cm] -\def\angleA{0 }% space after value -\def\angleB{45 } -\begin{pspicture}(4,3) -\psarc[angleCheck=false,linecolor=red,showpoints=true]% - (0,0){3}{ \angleA }{ \angleB 0.5 mul 30 add } -\end{pspicture} -\end{LTXexample} - -Without disabling the angle check, the above code causes an error because -of the second argument, which is not a correct angle value. %-------------------------------------------------------------------------------------- \section{Dashed Lines} @@ -2229,7 +2211,8 @@ and \verb+angle+. %-------------------------------------------------------------------------------------- \section{\CMD{psParallelLine}} %-------------------------------------------------------------------------------------- -With this macro it is possible to plot lines relative to a given one, which is parallel. There is no special parameter here. +With this macro it is possible to plot lines relative to a given one, which is parallel. +There is no special parameter here. \begin{verbatim} \psParallelLine(<P0>)(<P1>)(<P2>){<length>}{<end node name>} \psParallelLine{<arrows>}(<P0>)(<P1>)(<P2>){<length>}{<end node name>} @@ -2310,9 +2293,10 @@ point. The syntax is \bigskip -The \CMD{psLCNode} macro builds the linear combination of the two given vectors and stores the end of +The \CMD{psLCNode} macro builds the linear combination of the two given +vectors and stores the end of the new vector as a node. All vectors start at $(0,0)$, so a \verb+\rput+ maybe appropriate. - The syntax is +The syntax is % \begin{verbatim} \psLCNode(P1){value 1}(P2){value 2}{Node name} @@ -2480,7 +2464,8 @@ It will be overwritten when another package or a user defines \clearpage %-------------------------------------------------------------------------------------- -\subsection[\texttt{algebraic}]{\texttt{algebraic}\footnote{This part is adapted from the package \texttt{pst-eqdf}, written by Dominique Rodriguez.}} +\subsection[\texttt{algebraic}]{\texttt{algebraic}\footnote{This part is adapted + from the package \texttt{pst-eqdf}, written by Dominique Rodriguez.}} %-------------------------------------------------------------------------------------- By default the function of \verb+\psplot+ has to be described in Reversed Polish Notation. The option \verb+algebraic+ allows to do this in the common algebraic notation. E.g.: @@ -6675,4 +6660,4 @@ See file Changes %\lstinputlisting{pstricks-add.tex} -\end{document} +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/tpm/pstricks-add.tpm b/Master/texmf-dist/tpm/pstricks-add.tpm index 92aaf0a007d..fb168105e4e 100644 --- a/Master/texmf-dist/tpm/pstricks-add.tpm +++ b/Master/texmf-dist/tpm/pstricks-add.tpm @@ -3,7 +3,7 @@ <rdf:Description about="http://texlive.dante.de/texlive/Package/pstricks-add.zip"> <TPM:Name>pstricks-add</TPM:Name> <TPM:Type>Package</TPM:Type> - <TPM:Date>2006/12/26 23:19:14</TPM:Date> + <TPM:Date>2006/12/27 07:43:49</TPM:Date> <TPM:Version>1.0</TPM:Version> <TPM:Creator>rahtz</TPM:Creator> <TPM:Title> @@ -30,7 +30,7 @@ texmf-dist/tex/generic/pstricks-add/pstricks-add.tex texmf-dist/tex/latex/pstricks-add/pstricks-add.sty texmf-dist/tpm/pstricks-add.tpm </TPM:RunFiles> - <TPM:DocFiles size="1968372"> + <TPM:DocFiles size="1967720"> texmf-dist/doc/generic/pstricks-add/Changes texmf-dist/doc/generic/pstricks-add/README texmf-dist/doc/generic/pstricks-add/examples/12-1.txt |