texlive[49316] Master: pst-venn (4dec18)

commits+karl at tug.org commits+karl at tug.org
Wed Dec 5 00:08:52 CET 2018


Revision: 49316
          http://tug.org/svn/texlive?view=revision&revision=49316
Author:   karl
Date:     2018-12-05 00:08:52 +0100 (Wed, 05 Dec 2018)
Log Message:
-----------
pst-venn (4dec18)

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-venn/
    trunk/Master/texmf-dist/doc/generic/pst-venn/Changes
    trunk/Master/texmf-dist/doc/generic/pst-venn/README
    trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.bib
    trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.pdf
    trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.tex
    trunk/Master/texmf-dist/tex/latex/pst-venn/
    trunk/Master/texmf-dist/tex/latex/pst-venn/pst-venn.sty
    trunk/Master/tlpkg/tlpsrc/pst-venn.tlpsrc

Added: trunk/Master/texmf-dist/doc/generic/pst-venn/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-venn/Changes	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pst-venn/Changes	2018-12-04 23:08:52 UTC (rev 49316)
@@ -0,0 +1,3 @@
+----- pst-venn.sty
+v 0.01  2018-12-04 first version (hv) 
+

Added: trunk/Master/texmf-dist/doc/generic/pst-venn/README
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-venn/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pst-venn/README	2018-12-04 23:08:52 UTC (rev 49316)
@@ -0,0 +1,11 @@
+#pst-venn
+
+pst-venn is a PSTricks related package for drawing
+Venn diagrams with three circles.
+
+
+%% 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.
+
+hvoss at tug.org
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/generic/pst-venn/README
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.bib
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.bib	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.bib	2018-12-04 23:08:52 UTC (rev 49316)
@@ -0,0 +1,78 @@
+%% -*-bibtex-*-
+ at STRING{tugboat	= {TUGboat} }
+ at STRING{dtk	= {{D}ie {\TeX}nische {K}om{\"o}die} }
+
+ at Book{companion,
+  author	= {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Dennis Roegel and Herbert Vo\ss},
+  title		= {The {\LaTeX} {G}raphics {C}ompanion},
+  publisher	= {{Addison-Wesley Publishing Company}},
+  edition	= {second},
+  year		= {2007},
+  address	= {Boston, Mass.}
+}
+
+ at Article{reingold:1981,
+  author	= {Reingold, Edward and Tilford, John},
+  title		= {Tidier {D}rawings of {T}rees},
+  journal	=  {IEEE Transactions on Software Engineering}, 
+  volume	= {SE-7},
+  number	= 2, 
+  year		= 1981
+}
+
+ 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 Book{PostScript,
+  Author         = {Kollock, Nikolai G.},
+  Title          = {Post{S}cript richtig eingesetzt: vom {K}onzept zum
+                   praktischen {E}insatz},
+  Publisher      = {IWT},
+  Address        = {Vaterstetten},
+  year           = 1989,
+}
+
+ at Manual{multido,
+  Title          = {\texttt{multido.tex} - a loop macro, that supports fixed-point addition},
+  Author         = {{Timothy Van} Zandt},
+  Organization   = {},
+  Address        = {\url{CTAN:/macros/generic/multido.tex}},
+  Note           = {},
+  year           = 1997
+}
+
+ at Book{PSTricks2,
+  author	= {Herbert Vo\ss{}},
+  title		= {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX},
+  edition	= {fifth},
+  publisher	= {DANTE -- lehmanns media},
+  year		= {2010},
+  address	= {Heidelberg/Hamburg}
+}
+
+ at Book{PSTricks2E,
+  author	= {Herbert Vo\ss{}},
+  title		= {\texttt{PSTricks} -- {G}raphics for \LaTeX},
+  edition	= {1.},
+  publisher	= {UIT},
+  year		= {2011},
+  address	= {Cambridge}
+}
+


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

Index: trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.pdf	2018-12-04 23:07:40 UTC (rev 49315)
+++ trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.pdf	2018-12-04 23:08:52 UTC (rev 49316)

Property changes on: trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-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-venn/pst-venn-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.tex	2018-12-04 23:08:52 UTC (rev 49316)
@@ -0,0 +1,153 @@
+%% $Id: pst-venn-doc.tex 848 2018-12-04 09:25:49Z herbert $
+\documentclass[11pt,english,BCOR10mm,DIV14,bibliography=totoc,parskip=false,smallheadings,
+    headexclude,footexclude,twoside]{pst-doc}
+\usepackage[utf8]{inputenc}
+\usepackage{pst-venn}
+\lstset{preset=\centering,pos=l,wide=false,vsep=5mm,language=PSTricks,%width=0.5\linewidth,
+    morekeywords={multidipole,parallel},basicstyle=\footnotesize\ttfamily}
+%
+\def\bgImage{%
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn[bgradius=3](-1,0.5)(0,-1)(1,0.5){1.5}{24}
+\end{pspicture}
+}
+
+\addbibresource{\jobname.bib}
+
+\begin{document}
+
+\title{\texttt{pst-venn}}
+\subtitle{A PSTricks package for drawing Venn sets; v 0.01}
+\author{Herbert Voß}
+%\docauthor{Herbert Vo\ss}
+\date{\today}
+\maketitle
+
+
+
+
+\psset{unit=0.5}
+
+\begin{verbatim}
+\psVenn[options](O1)(O2)(O3){radius}{segments}
+\end{verbatim}
+
+
+
+
+There are the following optional arguments:
+
+\verb|bgcircle=<true/false>|:
+
+\begin{LTXexample}[width=0.4\linewidth,pos=l]
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn[bgcircle](-1,0.5)(0,-1)(1,0.5){1.5}{1}
+\end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn[bgcircle=false](-1,0.5)(0,-1)(1,0.5){1.5}{1}
+\end{pspicture}
+\end{LTXexample}
+
+
+
+\verb|bgcolor=<color>|:
+
+\begin{LTXexample}[width=0.4\linewidth,pos=l]
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{1}
+\end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn[bgcolor=green!30](-1,0.5)(0,-1)(1,0.5){1.5}{1}
+\end{pspicture}
+\end{LTXexample}
+
+\verb|bgradius=<value[unit]>|:
+
+\begin{LTXexample}[width=0.4\linewidth,pos=l]
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{1}
+\end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn[bgradius=3.5](-1,0.5)(0,-1)(1,0.5){1.5}{1}
+\end{pspicture}
+\end{LTXexample}
+
+
+
+
+\verb|fgcolor=<color>|:
+
+\begin{LTXexample}[width=0.4\linewidth,pos=l]
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{1}
+\end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn[fgcolor=green!30](-1,0.5)(0,-1)(1,0.5){1.5}{1}
+\end{pspicture}
+\end{LTXexample}
+
+
+
+\verb|vennfill=<style>|:
+
+\begin{LTXexample}[width=0.4\linewidth,pos=l]
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn[vennfill=hlines](-1,0.5)(0,-1)(1,0.5){1.5}{1}
+\end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn[vennfill=dots](-1,0.5)(0,-1)(1,0.5){1.5}{1}
+\end{pspicture}
+\end{LTXexample}
+
+
+\clearpage
+
+
+Every single area of the three circles has a number:
+
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+%  \pscircle[fillstyle=solid,fillcolor=blue!40](0,0){3}
+  \pscircle(-1,0.5){1.5}
+  \pscircle(0,-1){1.5}
+  \pscircle(1,0.5){1.5}
+  \footnotesize
+   \rput(-1,0.75){1}\rput(0,-1.25){2}\rput(1,0.75){3}
+  \rput(0,1){4}\rput(-0.8,-0.5){5}\rput(0.8,-0.5){6}
+  \rput(0,0){7}
+\end{pspicture}
+
+
+
+\begin{LTXexample}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2) \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{1} \end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2) \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{2} \end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2) \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{3} \end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2) \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{4} \end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2) \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{5} \end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2) \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{6} \end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2) \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{7} \end{pspicture}
+\end{LTXexample}
+
+
+
+The elements can be combined like 147:
+
+\begin{LTXexample}[width=0.4\linewidth,pos=l]
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2)
+  \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{147}
+\end{pspicture}
+\end{LTXexample}
+
+
+
+\begin{LTXexample}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2) \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{127} \end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2) \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{4567}\end{pspicture}
+\begin{pspicture}(-3.2,-3.2)(3.2,3.2) \psVenn(-1,0.5)(0,-1)(1,0.5){1.5}{123} \end{pspicture}
+\end{LTXexample}
+
+
+\nocite{*}
+\printbibliography
+\end{document}
+


Property changes on: trunk/Master/texmf-dist/doc/generic/pst-venn/pst-venn-doc.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/pst-venn/pst-venn.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pst-venn/pst-venn.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/pst-venn/pst-venn.sty	2018-12-04 23:08:52 UTC (rev 49316)
@@ -0,0 +1,122 @@
+%% $Id: pst-venn.sty 848 2018-12-04 09:25:49Z herbert $
+%%
+%% This is file `pst-venn.sty',
+%%
+%% 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.
+%%
+%% Herbert Voss <hvoss _at_ tug.org (Germany)
+%%
+%% DESCRIPTION:
+%% `pst-venn' is a package for Venn diagrams
+%
+\NeedsTeXFormat{LaTeX2e}
+\RequirePackage{pstricks}
+\RequirePackage{pst-xkey}
+%
+\def\filedate{2018/12/04}
+\def\fileversion{0.01}
+\ProvidesPackage{pst-venn}[\filedate\ v\fileversion\ drawing Venn diagrams (hv)]
+%
+\pst at addfams{pst-venn}
+\define at key[psset]{pst-venn}{bgradius}[3]{\def\psVenn at bgradius{#1}}
+\define at key[psset]{pst-venn}{bgcolor}[blue!40]{\def\psVenn at bgcolor{#1}}
+\define at key[psset]{pst-venn}{fgcolor}[red!40]{\def\psVenn at fgcolor{#1}}
+\define at key[psset]{pst-venn}{vennfill}[solid]{\def\psVenn at fillstyle{#1}}
+\define at boolkey[psset]{pst-venn}[Pst@]{bgcircle}[true]{}
+
+\psset[pst-venn]{bgcircle,bgradius=3,bgcolor=blue!40,fgcolor=red!40,vennfill=solid}
+
+\def\psVenn{\pst at object{psVenn}}
+\def\psVenn at i(#1)(#2)(#3)#4#5{%
+  \begingroup
+  \use at par  
+  \ifPst at bgcircle\pscircle[fillstyle=solid,fillcolor=\psVenn at bgcolor](0,0){\psVenn at bgradius}\fi
+  \psVenn at ii(#1)(#2)(#3){#4}#5\@nil
+  \pscircle(#1){#4}% to get the clipped circle lines
+  \pscircle(#2){#4}
+  \pscircle(#3){#4}
+  \endgroup
+}
+\def\psVenn at ii(#1)(#2)(#3)#4#5#6\@nil{%
+  \ifcase#5 
+	\or %1
+	  \psclip[clipcommand=eoclip]{%
+	    \pscustom[linestyle=none]{%
+		  \psframe(-\maxdimen,-\maxdimen)(\maxdimen,\maxdimen)
+		  \pscircle(#2){#4}\pscircle(#3){#4}}%
+	    \pscustom[linestyle=none]{%
+		  \psframe(-\maxdimen,-\maxdimen)(\maxdimen,\maxdimen)
+		  \pscircle(#3){#4}}%
+      }%
+        \pscircle[fillstyle=\psVenn at fillstyle,fillcolor=\psVenn at fgcolor](#1){#4}
+      \endpsclip
+  \or %2
+      \psclip[clipcommand=eoclip]{%
+      	\pscustom[linestyle=none]{%
+      		\psframe(-\maxdimen,-\maxdimen)(\maxdimen,\maxdimen)
+      		\pscircle(#1){#4}\pscircle(#3){#4}}%
+      	\pscustom[linestyle=none]{%
+      		\psframe(-\maxdimen,-\maxdimen)(\maxdimen,\maxdimen)
+      		\pscircle(#3){#4}}%
+      }%
+      \pscircle[fillstyle=\psVenn at fillstyle,fillcolor=\psVenn at fgcolor](#2){#4}
+      \endpsclip
+ 	\or %3
+	  \psclip[clipcommand=eoclip]{%
+  	    \pscustom[linestyle=none]{%
+		  \psframe(-\maxdimen,-\maxdimen)(\maxdimen,\maxdimen)
+		  \pscircle(#1){#4}\pscircle(#2){#4}
+	    }%
+	    \pscustom[linestyle=none]{%
+		  \psframe(-\maxdimen,-\maxdimen)(\maxdimen,\maxdimen)
+		  \pscircle(#2){#4}
+	    }%
+      }%
+        \pscircle[fillstyle=\psVenn at fillstyle,fillcolor=\psVenn at fgcolor](#3){#4}
+      \endpsclip
+	\or %4
+	    \psclip[clipcommand=eoclip]{%
+	  	\pscustom[linestyle=none]{%
+	  		\psframe(-3,-3)(3,3)
+	  		\pscircle(#1){#4}\pscircle(#3){#4}}%
+	  	\pscustom[linestyle=none]{%
+	  		\psframe(-\maxdimen,-\maxdimen)(\maxdimen,\maxdimen)
+	  		\pscircle(#2){#4}}%
+	  }%
+	  \pscircle[fillstyle=\psVenn at fillstyle,fillcolor=\psVenn at fgcolor](#3){#4}
+	  \endpsclip
+	\or %5
+        \psclip[clipcommand=eoclip]{%
+        	\pscustom[linestyle=none]{%
+        		\psframe(-3,-3)(3,3)
+        		\pscircle(#1){#4}\pscircle(#2){#4}}%
+        	\pscustom[linestyle=none]{%
+        		\psframe(-\maxdimen,-\maxdimen)(\maxdimen,\maxdimen)
+        		\pscircle(#3){#4}}%
+        }%
+        \pscircle[fillstyle=\psVenn at fillstyle,fillcolor=\psVenn at fgcolor](#1){#4}
+        \endpsclip        
+	\or %6
+	  \psclip[clipcommand=eoclip]{%
+		\pscustom[linestyle=none]{%
+			\psframe(-3,-3)(3,3)
+			\pscircle(#2){#4}\pscircle(#3){#4}}%
+		\pscustom[linestyle=none]{%
+			\psframe(-\maxdimen,-\maxdimen)(\maxdimen,\maxdimen)
+			\pscircle(#1){#4}}%
+	}%
+	\pscircle[fillstyle=\psVenn at fillstyle,fillcolor=\psVenn at fgcolor](#2){#4}
+	\endpsclip
+	\or %7
+	  \psclip{\pscircle(#1){#4}\pscircle(#3){#4}}
+ 	    \pscircle[fillstyle=\psVenn at fillstyle,fillcolor=\psVenn at fgcolor](#2){#4}
+	  \endpsclip
+	\else
+	\fi
+  \ifx\relax#6\relax \def\next{}\else\def\next{\psVenn at ii(#1)(#2)(#3){#4}#6\@nil}\fi
+  \next
+}
+
+\endinput


Property changes on: trunk/Master/texmf-dist/tex/latex/pst-venn/pst-venn.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-12-04 23:07:40 UTC (rev 49315)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-12-04 23:08:52 UTC (rev 49316)
@@ -549,7 +549,7 @@
     pst-shell pst-sigsys pst-slpe pst-solarsystem pst-solides3d pst-soroban
     pst-spectra pst-spinner pst-spirograph
     pst-stru pst-support pst-text pst-thick pst-tools pst-tree pst-tvz pst-uml
-    pst-vectorian pst-vehicle pst-vowel pst-vue3d
+    pst-vectorian pst-vehicle pst-venn pst-vowel pst-vue3d
     pst2pdf pstool pstricks pstricks-add pstricks_calcnotes pstring
     psu-thesis ptex-base ptex-fontmaps ptex-fonts ptex-manual
     ptex2pdf ptext ptptex

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2018-12-04 23:07:40 UTC (rev 49315)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2018-12-04 23:08:52 UTC (rev 49316)
@@ -1008,6 +1008,7 @@
  'pst-tvz',     "&MAKEpst",
  'pst-uml',     "&MAKEpst",
  'pst-vehicle', "&MAKEpst",
+ 'pst-venn',    "&MAKEpst",
  'pst-vue3d',   "&MAKEpst",
  'pst2pdf',     "&MAKEflatten",
  'pstdoc',      "die 'skipping, requires python'",

Modified: trunk/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc	2018-12-04 23:07:40 UTC (rev 49315)
+++ trunk/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc	2018-12-04 23:08:52 UTC (rev 49316)
@@ -106,6 +106,7 @@
 depend pst-uml
 depend pst-vectorian
 depend pst-vehicle
+depend pst-venn
 depend pst-vowel
 depend pst-vue3d
 depend pst2pdf

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


More information about the tex-live-commits mailing list