texlive[46473] Master: pst-dart (29jan18)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 30 00:55:10 CET 2018


Revision: 46473
          http://tug.org/svn/texlive?view=revision&revision=46473
Author:   karl
Date:     2018-01-30 00:55:10 +0100 (Tue, 30 Jan 2018)
Log Message:
-----------
pst-dart (29jan18)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/libexec/ctan2tds
    trunk/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/generic/pst-dart/
    trunk/Master/texmf-dist/doc/generic/pst-dart/Changes
    trunk/Master/texmf-dist/doc/generic/pst-dart/README.md
    trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.bib
    trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.pdf
    trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex
    trunk/Master/texmf-dist/tex/generic/pst-dart/
    trunk/Master/texmf-dist/tex/generic/pst-dart/pst-dart.tex
    trunk/Master/texmf-dist/tex/latex/pst-dart/
    trunk/Master/texmf-dist/tex/latex/pst-dart/pst-dart.sty
    trunk/Master/tlpkg/tlpsrc/pst-dart.tlpsrc

Added: trunk/Master/texmf-dist/doc/generic/pst-dart/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-dart/Changes	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pst-dart/Changes	2018-01-29 23:55:10 UTC (rev 46473)
@@ -0,0 +1,8 @@
+..... pst-dart.tex
+0.01  2018-01-27  first version
+
+
+..... pst-dart.sty
+      2018-01-27  first version
+
+

Added: trunk/Master/texmf-dist/doc/generic/pst-dart/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-dart/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pst-dart/README.md	2018-01-29 23:55:10 UTC (rev 46473)
@@ -0,0 +1,23 @@
+# pst-dart: plotting a Dart Board
+
+%% 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.
+
+Save the files pst-dart.sty|pro|tex in a directory, which is part of your 
+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).
+
+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
+
+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 $


Property changes on: trunk/Master/texmf-dist/doc/generic/pst-dart/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.bib
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.bib	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.bib	2018-01-29 23:55:10 UTC (rev 46473)
@@ -0,0 +1,78 @@
+ at STRING{tugboat	= {TUGboat} }
+ at STRING{beiprogramm	= {{\TeX}-Beiprogramm} }
+ at STRING{bretter	= {Bretter, die die Welt bedeuten} }
+ at STRING{dtk		= {{D}ie {\TeX}nische {K}om{\"o}die} }
+ at STRING{editorial	= {Editorial} }
+ at STRING{fremdebuehne	= {Von fremden B{\"u}hnen} }
+ at STRING{fundus		= {Aus dem Fundus} }
+ at STRING{hinterbuehne	= {Hinter der B{\"u}hne} }
+ at STRING{leserbrief	= {Leserbrief(e)} }
+ at STRING{magazin	= {Magazin} }
+ at STRING{rezension	= {Rezensionen} }
+ at STRING{schonimmer	= {Was Sie schon immer {\"u}ber {\TeX} wissen wollten \dots} }
+ at STRING{theaterkasse	= {Von der Theaterkasse} }
+ at STRING{theatertage	= {{\TeX}-Theatertage} }
+
+ at Book{tlgc2,
+  author	= {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Denis Roegel and Herbert Voß},
+  title		= {The {\LaTeX} {G}raphics {C}ompanion},
+  publisher	= {{Addison-Wesley Publishing Company}},
+  edition	= 2,
+  year		= {2007},
+  address	= {Reading, Mass.}
+}
+
+
+ at Article{girou:01:,
+  author	= {Denis Girou},
+  title		= {Pr\'esentation de {PST}ricks},
+  journal	= {Cahier {GUT}enberg},
+  year		= 1994,
+  volume	= {16},
+  month		= apr,
+  pages		= {21-70}
+}
+
+ at Article{girou:02:,
+  author	= {{Timothy van} Zandt and Denis Girou},
+  title		= {Inside {PST}ricks},
+  journal	= TUGboat,
+  year		= 1994,
+  volume	= {15},
+  month		= sep,
+  pages		= {239-246}
+}
+
+ at online{pstricks,
+  Title          = {PSTricks - {\PS} macros for generic {\TeX}},
+  Author         = {{Timothy van} Zandt},
+  Organization   = {},
+  url        = {http://www.tug.org/application/PSTricks},
+  year           = 1993
+}
+
+ at ctan{multido,
+  Title          = {\texttt{multido.tex} - a loop macro, that supports fixed-point addition},
+  Author         = {{Timothy van} Zandt},
+  url        = {/graphics/pstricks/generic/multido.tex},
+  Note           = {},
+  year           = 1997
+}
+
+ at Book{PSTricks2,
+  author	= {Herbert Voß},
+  title		= {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX},
+  edition	= {7},
+  publisher	= {DANTE -- Lehmanns},
+  year		= {2016},
+  publisher	= {Heidelberg and Berlin}
+}
+
+ at Book{PSTricks2-UIT,
+  author	= {Herbert Voß},
+  title		= {PSTricks -- Graphics for \TeX\ and \LaTeX},
+  publisher	= {UIT},
+  year		= {2011},
+  address	= {Cambridge}
+}
+


Property changes on: trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.bib
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.pdf	2018-01-29 01:23:07 UTC (rev 46472)
+++ trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.pdf	2018-01-29 23:55:10 UTC (rev 46473)

Property changes on: trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex	2018-01-29 23:55:10 UTC (rev 46473)
@@ -0,0 +1,119 @@
+%% $Id: pst-dart-doc.tex 714 2018-01-28 19:38:02Z 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{pst-dart}
+\let\pstDartFV\fileversion
+\renewcommand\bgImage{\psDart[unit=2,fontsize=15pt]}
+
+\addbibresource{pst-dart-doc.bib}
+
+
+\lstset{language=PSTricks,
+    morekeywords={psDart},basicstyle=\footnotesize\ttfamily,
+  literate=%
+    {Ö}{{\"O}}1
+    {Ä}{{\"A}}1
+    {Ü}{{\"U}}1
+    {ß}{{\ss}}1
+    {ü}{{\"u}}1
+    {ä}{{\"a}}1
+    {ö}{{\"o}}1
+    {~}{{\textasciitilde}}1
+}
+%
+\begin{document}
+
+\title{\texttt{pst-dart}}
+\subtitle{Plotting a Dart ; v.\pstDartFV}
+\author{Thomas Söll\\Herbert Voß}
+\docauthor{}
+\date{\today}
+\maketitle
+
+\tableofcontents
+
+
+\clearpage
+
+%\begin{abstract}
+%\noindent
+%\LPack{pst-func} loads by default the following packages: \LPack{pst-plot}, 
+%\LPack{pstricks-add}, \LPack{pst-math}, \LPack{pst-xkey}, and, of course \LPack{pstricks}.
+%All should be already part of your local \TeX\ installation. If not, or in case
+%of having older versions, go to \url{http://www.CTAN.org/} and load the newest version.
+
+%\vfill\noindent
+%Thanks to \\
+%    Michael Zedler,
+%and last but not least
+%    \url{http://mathworld.wolfram.com}.
+
+%\end{abstract}
+
+\section{Syntax of \Lcs{psDart}}
+
+
+\begin{BDef}
+\Lcs{psDart}\OptArgs\OptArg*{$(x_0,y_0)$}
+\end{BDef}
+
+\section{Examples}
+\subsection{The default size}
+
+\begin{LTXexample}
+\begin{pspicture}[showgrid](-3,-3)(9,3)
+\psDart % The default Dartboard (radius=2.1cm) 
+\psDart[fontsize=7pt](6cm,0)
+\end{pspicture}
+\end{LTXexample}
+
+
+\subsection{Scaling}
+
+\begin{LTXexample}[pos=r,width=0.58\linewidth]
+\begin{pspicture}[showgrid](-5,-5)(5,5)
+\psDart[unit=2] 
+\end{pspicture}
+\end{LTXexample}
+
+\begin{LTXexample}[pos=r,width=0.58\linewidth]
+\begin{pspicture}[showgrid](-5,-5)(5,5)
+\psDart[fontsize=15pt,unit=2] 
+\end{pspicture}
+\end{LTXexample}
+
+
+\subsection{Space}
+
+\Lcs{psDart} itself uses internally already an environment \Lenv{pspicture} which
+reserves the space. But an internal \Lcs{rput} command places the dartboard without specifying 
+coordinates at the origin which is the reason why one has to reserve space with an additional
+environment \Lenv{pspicture} as can be seen in the above examples..
+
+%\psset{unit=1cm}
+
+
+%\begin{LTXexample}[pos=r,width=0.6\linewidth]
+%foo\psDart bar
+%\end{LTXexample}
+
+
+
+
+
+\clearpage
+\section{List of all optional arguments for \texttt{pst-func}}
+\xkvview{family=pst-dart,columns={key,type,default}}
+
+\bgroup
+\RaggedRight
+\nocite{*}
+\printbibliography{pst-dart-doc}
+\egroup
+
+\printindex
+
+\end{document}
+
+


Property changes on: trunk/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/generic/pst-dart/pst-dart.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-dart/pst-dart.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/pst-dart/pst-dart.tex	2018-01-29 23:55:10 UTC (rev 46473)
@@ -0,0 +1,78 @@
+%% $Id: pst-dart.tex 715 2018-01-28 19:39:51Z herbert $
+%%
+%% This is file `pst-dart.tex',
+%%
+%% IMPORTANT NOTICE:
+%%
+%% Package `pst-dart.tex'
+%%
+%% Thomas Söll  <Thomas.Soell at onlinehome.de>
+%% Herbert Voss <hvoss at tug.org>
+%%
+%% 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.
+%%
+%% DESCRIPTION:
+%%   `pst-dart' is a PSTricks package to plot dart boards
+%%
+\csname PSTdartLoaded\endcsname
+\let\PSTfuncLoaded\endinput
+% Requires some PSTricks packages
+\ifx\PSTricksLoaded\endinput\else   \input pstricks.tex\fi
+\ifx\PSTXKeyLoaded\endinput\else    \input pst-xkey.tex \fi
+%
+\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
+% interface to the `xkeyval' package
+\pst at addfams{pst-dart}
+%
+\def\fileversion{0.01}
+\def\filedate{2018/01/27}
+\message{`PST-dart' v\fileversion, \filedate\space (ts,hv)}
+%
+\define at key[psset]{pst-dart}{fontsize}[10pt]{\def\psk at dart@fontsize{\fontsize{#1}{#1}}}
+\psset[pst-dart]{fontsize=10pt}
+
+\newcmykcolor{Red}{0 1 1 0}
+\newcmykcolor{Green}{1 0 1 0}
+
+\def\psDart{\pst at object{psDart}}%      
+\def\psDart at i{\@ifnextchar(\psDart at ii{\psDart at ii(0,0)}}%
+\def\psDart at ii(#1){%
+  \begingroup
+  \addbefore at par{unit=0.1mm}%
+  \use at par
+  \degrees[20]%
+  \rput(#1){%
+    \begin{pspicture}(-210,-210)(210,210)%
+    \pscircle*(0,0){210}
+    % Gerader Part.
+    \psset{linewidth=0.5pt}%
+    \multido{\rA=-0.5+2.0,\rB=0.5+2.0}{10}{%
+      \pswedge*[linecolor=white]{170}{\rA}{!\rA\space 1 add}
+      \psarc[linecolor=Green,linewidth=8](0,0){166}{\rA}{!\rA\space 1 add}
+      \psarc[linecolor=Red,linewidth=8](0,0){166}{\rB}{!\rB\space 1 add}
+      \psarc[linecolor=Green,linewidth=8](0,0){103}{\rA}{!\rA\space 1 add}
+      \psarc[linecolor=Red,linewidth=8](0,0){103}{\rB}{!\rB\space 1 add}
+      \psline[linecolor=gray!30,dimen=inner,linewidth=0.5pt](170;\rA)(0,0)(170;\rB)
+    }%
+    \pscircle[linecolor=gray!30,dimen=inner,linewidth=0.5pt]{170}%
+    \pscircle[linecolor=gray!30,dimen=inner,linewidth=0.5pt]{162}%
+    \pscircle[linecolor=gray!30,dimen=inner,linewidth=0.5pt]{107}
+    \pscircle[linecolor=gray!30,dimen=inner,linewidth=0.5pt]{99}
+    \pscircle[fillstyle=solid,fillcolor=Green,linecolor=gray!30,linewidth=0.5pt,linecolor=white]{15.9}
+    \pscircle[fillstyle=solid,fillcolor=Red,linecolor=gray!30,linewidth=0.5pt,linecolor=white]{6.35}
+    \psforeach{\iA}{6,13,4,18,1,20,5,12,9,14,11,8,16,7,19,3,17,2,15,10}{%
+       \rput(190;\the\psLoopIndex){\psk at dart@fontsize\selectfont\white\iA}}
+  \end{pspicture}}%
+  \endgroup
+  \ignorespaces
+}
+
+%
+\catcode`\@=\PstAtCode\relax
+%
+%% END: pst-dart.tex
+\endinput
+%
+


Property changes on: trunk/Master/texmf-dist/tex/generic/pst-dart/pst-dart.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/pst-dart/pst-dart.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pst-dart/pst-dart.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/pst-dart/pst-dart.sty	2018-01-29 23:55:10 UTC (rev 46473)
@@ -0,0 +1,13 @@
+\RequirePackage{pstricks}
+\ProvidesPackage{pst-dart}[2017/08/17 package wrapper for pst-dart.tex (hv)]
+\RequirePackage{multido}
+\RequirePackage{pst-xkey}
+%
+\input{pst-dart.tex}
+\ProvidesFile{pst-dart.tex}
+  [\filedate\space v\fileversion\space `PST-dart' (hv)]
+\IfFileExists{pst-dart.pro}{%
+  \ProvidesFile{pst-dart.pro}[2014/05/07 v. 0.16,  PostScript prologue file (hv)]
+\@addtofilelist{pst-dart.pro}}{}%
+\endinput
+%% $Id: pst-dart.sty 713 2018-01-28 19:31:56Z herbert $


Property changes on: trunk/Master/texmf-dist/tex/latex/pst-dart/pst-dart.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-01-29 01:23:07 UTC (rev 46472)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-01-29 23:55:10 UTC (rev 46473)
@@ -507,7 +507,8 @@
     psgo psizzl pslatex psnfss pspicture
     pst-2dplot pst-3d pst-3dplot pst-abspos pst-am pst-arrow pst-asr pst-bar
     pst-barcode pst-bezier pst-blur pst-bspline
-    pst-calendar pst-cie pst-circ pst-coil pst-cox pst-dbicons pst-diffraction
+    pst-calendar pst-cie pst-circ pst-coil pst-cox
+    pst-dart pst-dbicons pst-diffraction
     pst-electricfield pst-eps pst-eucl pst-eucl-translation-bg pst-exa
     pst-fill pst-fit pst-fr3d pst-fractal pst-fun pst-func
     pst-gantt pst-geo pst-geometrictools pst-gr3d pst-grad pst-graphicx

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2018-01-29 01:23:07 UTC (rev 46472)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2018-01-29 23:55:10 UTC (rev 46473)
@@ -907,6 +907,7 @@
  'pst-coil',    "&MAKEpst",
  'pst-cox',     "&MAKEflatten",
  'pst-dbicons', "&MAKEpst",
+ 'pst-dart',    "&MAKEpst",
  'pst-diffraction',     "&MAKEpst",
  'pst-electricfield',   "&MAKEpst",
  'pst-eps',     "&MAKEpst",

Modified: trunk/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc	2018-01-29 01:23:07 UTC (rev 46472)
+++ trunk/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc	2018-01-29 23:55:10 UTC (rev 46473)
@@ -30,6 +30,7 @@
 depend pst-circ
 depend pst-coil
 depend pst-cox
+depend pst-dart
 depend pst-dbicons
 depend pst-diffraction
 depend pst-electricfield

Added: trunk/Master/tlpkg/tlpsrc/pst-dart.tlpsrc
===================================================================


More information about the tex-live-commits mailing list