summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-09-11 20:37:25 +0000
committerKarl Berry <karl@freefriends.org>2021-09-11 20:37:25 +0000
commit8201bf657ae25c1e01f3821b37586c10620f5342 (patch)
treeb484914d5688068b5d7651d973076509a4a8643f /Master/texmf-dist/doc/generic
parent82821cc1c6f63bf4a5e88664777f7f57ac05861e (diff)
pst-dart (11sep21)
git-svn-id: svn://tug.org/texlive/trunk@60476 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r--Master/texmf-dist/doc/generic/pst-dart/Changes3
-rw-r--r--Master/texmf-dist/doc/generic/pst-dart/README.md7
-rw-r--r--Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.pdfbin408049 -> 421175 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex47
4 files changed, 35 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-dart/Changes b/Master/texmf-dist/doc/generic/pst-dart/Changes
index 09f94ce443b..5446e2bee87 100644
--- a/Master/texmf-dist/doc/generic/pst-dart/Changes
+++ b/Master/texmf-dist/doc/generic/pst-dart/Changes
@@ -1,6 +1,7 @@
..... pst-dart.tex
+0.03 2021-09-11 - Use the \ThreeDput macro instead of modifying the trandformation matrix
0.02 2018-02-09 - add \psDart for darts
- - rename borad to \psDartBoard
+ - rename board to \psDartBoard
0.01 2018-01-27 first version
diff --git a/Master/texmf-dist/doc/generic/pst-dart/README.md b/Master/texmf-dist/doc/generic/pst-dart/README.md
index 6dc2e0f9834..50fb3f4fcd1 100644
--- a/Master/texmf-dist/doc/generic/pst-dart/README.md
+++ b/Master/texmf-dist/doc/generic/pst-dart/README.md
@@ -9,15 +9,14 @@ local TeX tree. The pro file should go into $TEXMF/dvips/pstricks/
Then do not forget to run texhash to update this tree.
For more information see the documentation of your TeX distribution
on installing packages into your local TeX system or read the
-TeX Frequently Asked Questions:
-(http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages).
+TeX Frequently Asked Questions
pst-dart needs pstricks, which should already
be part of your local TeX installation, otherwise get it from a
-CTAN server, http://mirror.ctan.org
+CTAN server, https://mirror.ctan.org
PSTricks is PostScript Tricks, the documentation cannot be run
with pdftex, use the sequence latex->dvips->ps2pdf or
pdflatex with package auto-pst-pdf or xelatex.
-%% $Id: README.md 713 2018-01-28 19:31:56Z herbert $
+%% $Id: README.md 226 2021-09-11 14:30:22Z herbert $
diff --git a/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.pdf b/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.pdf
index 89f8519e2be..0781a2acb74 100644
--- a/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex b/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex
index ad125eebf20..1307b9d58dc 100644
--- a/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex
@@ -1,13 +1,17 @@
%% $Id: pst-dart-doc.tex 728 2018-02-09 19:29:41Z herbert $
-\documentclass[fontsize=11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,
- headings=small, headinclude=false,footinclude=false,oneside]{pst-doc}
-\usepackage[utf8]{inputenc}
-\usepackage{dtk-logos}
+
+\errorcontextlines=100
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{}
+\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
+ headinclude=false,footinclude=false,twoside,english]{pst-doc}
+
+\usepackage{hvlogos,iftex}
\usepackage{pst-dart}
\let\pstDartFV\fileversion
-\renewcommand\bgImage{\psDartBoard[unit=2,fontsize=15pt]}
+\renewcommand\bgImage{}%\psDartBoard[unit=2,fontsize=15pt]}
-\addbibresource{pst-dart-doc.bib}
+\addbibresource{\jobname.bib}
\lstset{language=PSTricks,
@@ -25,12 +29,14 @@
%
\begin{document}
+
+
\title{\texttt{pst-dart}}
\subtitle{Plotting a Dart ; v.\pstDartFV}
\author{Thomas Söll\\Herbert Voß}
\docauthor{}
\date{\today}
-\maketitle
+\settitle
\tableofcontents
@@ -62,6 +68,7 @@
\section{Examples}
\subsection{The default size}
+
\begin{LTXexample}
\begin{pspicture}[showgrid](-3,-3)(9,3)
\psDartBoard % The default Dartboard (radius=2.1cm)
@@ -70,6 +77,7 @@
\end{LTXexample}
+
\subsection{Scaling}
\begin{LTXexample}[pos=r,width=0.58\linewidth]
@@ -132,30 +140,35 @@ environment \Lenv{pspicture} as can be seen in the above examples..
\section{Changing the viewpoint}
-You can change the viewpoint with the two optional arguments \Lkeyword{preCode}\footnote{There is also a \Lkeyword{postCode},
-which is not of real interest here.}
-which allow to change the transformation matrix of PostScript. However, it does \emph{not} work
-with \XeLaTeX, you have to choose the Sequenz \texttt{latex}$\rightarrow$\texttt{dvips}$\rightarrow$\texttt{ps2pdf}.
+You can change the viewpoint with the optional argument
+\Lkeyword{viewpoint}
+%\footnote{There is also a \Lkeyword{postCode},
+%which is not of real interest here.}
+which expects three space separated values for $x$ $y$ $z$, where at least one value must be unless 0.
+%allow to change the transformation matrix of PostScript. However, it does \emph{not} work
+%with \XeLaTeX, you have to choose the Sequenz \texttt{latex}$\rightarrow$\texttt{dvips}$\rightarrow$\texttt{ps2pdf}.
+
\begin{LTXexample}[pos=t]
-\begin{pspicture}(-4.5,-4.5)(4.5,4.5)
-\psDartBoard[preCode={[1 0.2 0.5 1 0 0 ] concat },fontsize=18pt,unit=1.5]
-\psDart[unit=0.5,rot=45](1,-1)
+\begin{pspicture}(-2,-3)(12,4)
+\psDartBoard[boardview=1 0 0,fontsize=18pt,unit=1.5]
+\psDart[unit=0.5,rot=110](1,-1)
+%%
+\psDartBoard[boardview=1 0 1,fontsize=18pt,unit=1.5](10cm,0)
+\psDart[unit=0.5,rot=50](9cm,-1cm)
\end{pspicture}
\end{LTXexample}
-
-
\clearpage
\section{List of all optional arguments for \texttt{pst-dart}}
\xkvview{family=pst-dart,columns={key,type,default}}
+\nocite{*}
\bgroup
\RaggedRight
-\nocite{*}
\printbibliography
\egroup