texlive[47952] Master/texmf-dist: venndiagram (7jun18)

commits+karl at tug.org commits+karl at tug.org
Thu Jun 7 23:22:36 CEST 2018


Revision: 47952
          http://tug.org/svn/texlive?view=revision&revision=47952
Author:   karl
Date:     2018-06-07 23:22:36 +0200 (Thu, 07 Jun 2018)
Log Message:
-----------
venndiagram (7jun18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/venndiagram/CHANGES
    trunk/Master/texmf-dist/doc/latex/venndiagram/README
    trunk/Master/texmf-dist/doc/latex/venndiagram/samples/venn-sample.pdf
    trunk/Master/texmf-dist/doc/latex/venndiagram/samples/venn-sample.tex
    trunk/Master/texmf-dist/doc/latex/venndiagram/venndiagram.pdf
    trunk/Master/texmf-dist/source/latex/venndiagram/venndiagram.dtx
    trunk/Master/texmf-dist/source/latex/venndiagram/venndiagram.ins
    trunk/Master/texmf-dist/tex/latex/venndiagram/venndiagram.sty

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/venndiagram/INSTALL

Modified: trunk/Master/texmf-dist/doc/latex/venndiagram/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/venndiagram/CHANGES	2018-06-07 05:55:43 UTC (rev 47951)
+++ trunk/Master/texmf-dist/doc/latex/venndiagram/CHANGES	2018-06-07 21:22:36 UTC (rev 47952)
@@ -1,3 +1,7 @@
+v1.2 (2018-06-07):
+
+ * Added boolean option showframe
+
 v1.1 (2016-03-15):
 
  * Fixed issue with pgf 3.0 change in syntax for atan2

Deleted: trunk/Master/texmf-dist/doc/latex/venndiagram/INSTALL
===================================================================
--- trunk/Master/texmf-dist/doc/latex/venndiagram/INSTALL	2018-06-07 05:55:43 UTC (rev 47951)
+++ trunk/Master/texmf-dist/doc/latex/venndiagram/INSTALL	2018-06-07 21:22:36 UTC (rev 47952)
@@ -1,64 +0,0 @@
-INSTALLATION
-
-If you have downloaded the venndiagram package using the TeX
-Directory Structure (TDS), that is you have downloaded the archive
-venndiagram.tds.zip containing doc, tex, scripts and source
-directories, you need to follow the "Installing from TDS"
-instructions below.
-
-If you have downloaded the following files:
-
-venndiagram.dtx
-venndiagram.ins
-
-You need to follow the "Installing from DTX and INS" instructions
-below.
-
-For further information on installing LaTeX packages see:
-
-http://www.tex.ac.uk/cgi-bin/texfaq2html?label=installthings
-
-INSTALLING FROM TDS
-===================
-
-Files in tex and doc directories should go in the corresponding
-TEXMF directories (for example, /usr/share/texmf-local/ or
-C:\localtexmf\). 
-
-*Remember to refresh TeX's database*
-
-Example (on UNIX like systems):
-
-unzip venndiagram.tds.zip -d ~/texmf/
-texhash ~/texmf/
-
-INSTALLING FROM DTX AND INS
-===========================
-
-Run LaTeX on venndiagram.ins to generate the package style file:
-
-latex venndiagram.ins
-
-To create the package documentation (venndiagram.pdf):
-
-pdflatex venndiagram.dtx
-makeindex -s gind.ist venndiagram.idx
-pdflatex venndiagram.dtx
-pdflatex venndiagram.dtx
-
-If TEXMF denotes the base directory of your local TeX installation (e.g.
-/usr/share/texmf-local/ or C:\localtexmf\) then create the following
-directories (if they don't already exist):
-
-TEXMF/doc/latex/venndiagram
-TEXMF/doc/latex/venndiagram/samples
-TEXMF/tex/latex/venndiagram
-
-Move the sample file (*.tex) to TEXMF/doc/latex/venndiagram/sample/
-
-Move the documentation (*.pdf) to TEXMF/doc/latex/venndiagram/
-
-Move style file (*.sty) to TEXMF/tex/latex/venndiagram/
-
-*Remember to refresh TeX's database*
-

Modified: trunk/Master/texmf-dist/doc/latex/venndiagram/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/venndiagram/README	2018-06-07 05:55:43 UTC (rev 47951)
+++ trunk/Master/texmf-dist/doc/latex/venndiagram/README	2018-06-07 21:22:36 UTC (rev 47952)
@@ -1,6 +1,6 @@
-LaTeX Bundle : venndiagram v1.1 
+LaTeX Bundle : venndiagram v1.2 
 
-Last Modified : 2016-03-16
+Last Modified : 2018-06-07
 
 Author        : Nicola Talbot
 

Modified: trunk/Master/texmf-dist/doc/latex/venndiagram/samples/venn-sample.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/venndiagram/samples/venn-sample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/venndiagram/samples/venn-sample.tex	2018-06-07 05:55:43 UTC (rev 47951)
+++ trunk/Master/texmf-dist/doc/latex/venndiagram/samples/venn-sample.tex	2018-06-07 21:22:36 UTC (rev 47952)
@@ -17,6 +17,13 @@
 \fillOnlyB
 \end{venndiagram2sets}
 
+No frame:
+
+\begin{venndiagram2sets}[showframe=false]
+\fillOnlyB
+\end{venndiagram2sets}
+
+
 Using the labels:
 
 \begin{venndiagram3sets}[labelOnlyA={1},labelOnlyB={2},labelOnlyC={3},

Modified: trunk/Master/texmf-dist/doc/latex/venndiagram/venndiagram.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/venndiagram/venndiagram.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/venndiagram/venndiagram.dtx	2018-06-07 05:55:43 UTC (rev 47951)
+++ trunk/Master/texmf-dist/source/latex/venndiagram/venndiagram.dtx	2018-06-07 21:22:36 UTC (rev 47952)
@@ -1,11 +1,11 @@
 %\iffalse
-% venndiagram.dtx generated using makedtx version 1.1 (c) Nicola Talbot
+% venndiagram.dtx generated using makedtx version 1.2 (c) Nicola Talbot
 % Command line args:
+%   -doc "venndiagram-manual.tex"
 %   -author "Nicola Talbot"
 %   -src "venndiagram.sty\Z=>venndiagram.sty"
-%   -doc "venndiagram-manual.tex"
 %   venndiagram
-% Created on 2016/3/16 22:06
+% Created on 2018/6/7 15:50
 %\fi
 %\iffalse
 %<*package>
@@ -28,7 +28,7 @@
 %\fi
 % \iffalse
 % Doc-Source file to use with LaTeX2e
-% Copyright (C) 2016 Nicola Talbot, all rights reserved.
+% Copyright (C) 2018 Nicola Talbot, all rights reserved.
 % \fi
 % \iffalse
 %<*driver>
@@ -52,7 +52,7 @@
 
 \doxitem{KeyValOption}{keyvaloption}{options}
 
-\CheckSum{2598}
+\CheckSum{2612}
 
 \begin{document}
 \DocInput{venndiagram.dtx}
@@ -62,11 +62,11 @@
 %
 %\MakeShortVerb{"}
 %
-%\title{venndiagram v1.1:
+%\title{venndiagram v1.2:
 %Drawing Simple Venn Diagrams}
 %\author{Nicola L. C. Talbot\\\url{http://www.dickimaw-books.com/}}
 %
-%\date{2016-03-16}
+%\date{2018-06-07}
 %\maketitle
 %
 %The \styfmt{venndiagram} package is provided to assist generating
@@ -158,6 +158,12 @@
 %
 %\item[overlap] The overlap between the sets. (Default: 0.75cm.)
 %
+%\item[showframe] This is a boolean option (default: \texttt{true}).
+%If \texttt{true}, the surrounding rectangular frame is drawn. If
+%\texttt{false}, the frame isn't drawn but still contributes to the
+%total image size as a hidden path. If the value is omitted
+%\texttt{true} is assumed.
+%
 %\item[tikzoptions] Any options to pass to \env{tikzpicture}.
 %
 %\end{description}
@@ -439,7 +445,7 @@
 % Package identification:
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{venndiagram}[2016/03/16 v1.1 (NLCT) Venn diagrams]
+\ProvidesPackage{venndiagram}[2018/06/07 v1.2 (NLCT) Venn diagrams]
 %    \end{macrocode}
 % Required packages:
 %    \begin{macrocode}
@@ -779,6 +785,14 @@
 \define at key{venn}{overlap}{\def\@venn at overlap{#1}}
 %    \end{macrocode}
 %\end{keyvaloption}
+%\begin{keyvaloption}{showframe}
+% Draw the frame outline.
+%\changes{1.2}{2018-06-07}{added showframe option}
+%    \begin{macrocode}
+\define at boolkey{venn}[venn]{showframe}[true]{}
+\vennshowframetrue
+%    \end{macrocode}
+%\end{keyvaloption}
 %
 % Finally the option to set the information to pass to the
 % \env{tikzpicture} environment.
@@ -1372,7 +1386,11 @@
 %    \end{macrocode}
 % Draw outlines
 %    \begin{macrocode}
-    \draw (0,0) rectangle (\@venn at w,\@venn at h);
+    \ifvennshowframe
+      \draw (0,0) rectangle (\@venn at w,\@venn at h);
+    \else
+      \path (0,0) rectangle (\@venn at w,\@venn at h);
+    \fi
     \draw (\@venn at Ax,\@venn at Ay) circle (\@venn at radius);
     \draw (\@venn at Bx,\@venn at By) circle (\@venn at radius);
     \draw (\@venn at Cx,\@venn at Cy) circle (\@venn at radius);
@@ -2213,7 +2231,11 @@
 %    \end{macrocode}
 % Draw outlines
 %    \begin{macrocode}
-    \draw (venn bottom left) rectangle (\@venn at w,\@venn at h);
+    \ifvennshowframe
+      \draw (venn bottom left) rectangle (\@venn at w,\@venn at h);
+    \else
+      \path (venn bottom left) rectangle (\@venn at w,\@venn at h);
+    \fi
     \draw (\@venn at Ax,\@venn at Ay) circle (\@venn at radius);
     \draw (\@venn at Bx,\@venn at By) circle (\@venn at radius);
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/venndiagram/venndiagram.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/venndiagram/venndiagram.ins	2018-06-07 05:55:43 UTC (rev 47951)
+++ trunk/Master/texmf-dist/source/latex/venndiagram/venndiagram.ins	2018-06-07 21:22:36 UTC (rev 47952)
@@ -1,14 +1,14 @@
-% venndiagram.ins generated using makedtx version 1.1 2016/3/16 22:06
+% venndiagram.ins generated using makedtx version 1.2 2018/6/7 15:50
 \input docstrip
 
 \preamble
 
  venndiagram.dtx
- Copyright 2016 Nicola Talbot
+ Copyright 2018 Nicola Talbot
 
  This work may be distributed and/or modified under the
  conditions of the LaTeX Project Public License, either version 1.3
- of this license of (at your option) any later version.
+ of this license or (at your option) any later version.
  The latest version of this license is in
    http://www.latex-project.org/lppl.txt
  and version 1.3 or later is part of all distributions of LaTeX

Modified: trunk/Master/texmf-dist/tex/latex/venndiagram/venndiagram.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/venndiagram/venndiagram.sty	2018-06-07 05:55:43 UTC (rev 47951)
+++ trunk/Master/texmf-dist/tex/latex/venndiagram/venndiagram.sty	2018-06-07 21:22:36 UTC (rev 47952)
@@ -7,11 +7,11 @@
 %% venndiagram.dtx  (with options: `venndiagram.sty,package')
 %% 
 %%  venndiagram.dtx
-%%  Copyright 2016 Nicola Talbot
+%%  Copyright 2018 Nicola Talbot
 %% 
 %%  This work may be distributed and/or modified under the
 %%  conditions of the LaTeX Project Public License, either version 1.3
-%%  of this license of (at your option) any later version.
+%%  of this license or (at your option) any later version.
 %%  The latest version of this license is in
 %%    http://www.latex-project.org/lppl.txt
 %%  and version 1.3 or later is part of all distributions of LaTeX
@@ -39,7 +39,7 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{venndiagram}[2016/03/16 v1.1 (NLCT) Venn diagrams]
+\ProvidesPackage{venndiagram}[2018/06/07 v1.2 (NLCT) Venn diagrams]
 \RequirePackage{xkeyval}
 \RequirePackage{tikz}
 \RequirePackage{etoolbox}
@@ -98,6 +98,8 @@
 \define at key{venn}{hgap}{\def\@venn at hgap{#1}}
 \define at key{venn}{vgap}{\def\@venn at vgap{#1}}
 \define at key{venn}{overlap}{\def\@venn at overlap{#1}}
+\define at boolkey{venn}[venn]{showframe}[true]{}
+\vennshowframetrue
 \define at key{venn}{tikzoptions}{\def\@venn at tikzoptions{#1}}
 \newcommand*{\@venn at computecircleintersects}[4]{%
  \ifdim#1=#3\relax
@@ -367,7 +369,11 @@
         (\@venn at w,0) coordinate (venn bottom right);
 }%
 {%
-    \draw (0,0) rectangle (\@venn at w,\@venn at h);
+    \ifvennshowframe
+      \draw (0,0) rectangle (\@venn at w,\@venn at h);
+    \else
+      \path (0,0) rectangle (\@venn at w,\@venn at h);
+    \fi
     \draw (\@venn at Ax,\@venn at Ay) circle (\@venn at radius);
     \draw (\@venn at Bx,\@venn at By) circle (\@venn at radius);
     \draw (\@venn at Cx,\@venn at Cy) circle (\@venn at radius);
@@ -918,7 +924,11 @@
         (\@venn at w,0) coordinate (venn bottom right);
 }%
 {%
-    \draw (venn bottom left) rectangle (\@venn at w,\@venn at h);
+    \ifvennshowframe
+      \draw (venn bottom left) rectangle (\@venn at w,\@venn at h);
+    \else
+      \path (venn bottom left) rectangle (\@venn at w,\@venn at h);
+    \fi
     \draw (\@venn at Ax,\@venn at Ay) circle (\@venn at radius);
     \draw (\@venn at Bx,\@venn at By) circle (\@venn at radius);
     \draw (\@venn at Ax,\@venn at Ay) node[above,left] (labelOnlyA)



More information about the tex-live-commits mailing list