texlive[45316] Master/texmf-dist: pst-pulley (16sep17)

commits+karl at tug.org commits+karl at tug.org
Sat Sep 16 22:45:26 CEST 2017


Revision: 45316
          http://tug.org/svn/texlive?view=revision&revision=45316
Author:   karl
Date:     2017-09-16 22:45:26 +0200 (Sat, 16 Sep 2017)
Log Message:
-----------
pst-pulley (16sep17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/pst-pulley/Changes
    trunk/Master/texmf-dist/doc/generic/pst-pulley/pst-pulley-doc.pdf
    trunk/Master/texmf-dist/doc/generic/pst-pulley/pst-pulley-doc.tex
    trunk/Master/texmf-dist/tex/generic/pst-pulley/pst-pulley.tex
    trunk/Master/texmf-dist/tex/latex/pst-pulley/pst-pulley.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/generic/pst-pulley/README.md

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/generic/pst-pulley/README
    trunk/Master/texmf-dist/source/generic/pst-pulley/

Modified: trunk/Master/texmf-dist/doc/generic/pst-pulley/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-pulley/Changes	2017-09-16 00:21:42 UTC (rev 45315)
+++ trunk/Master/texmf-dist/doc/generic/pst-pulley/Changes	2017-09-16 20:45:26 UTC (rev 45316)
@@ -1,7 +1,7 @@
 pst-pulley.sty --------
 
 pst-pulley.tex --------
-v 0.01  2012/01/17  first version
+v 0.02  2017/09/16
+-grid in pulleyGrid
 
-
 pst-pulley-doc.tex --------

Deleted: trunk/Master/texmf-dist/doc/generic/pst-pulley/README
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-pulley/README	2017-09-16 00:21:42 UTC (rev 45315)
+++ trunk/Master/texmf-dist/doc/generic/pst-pulley/README	2017-09-16 20:45:26 UTC (rev 45316)
@@ -1,11 +0,0 @@
-pst-eps: exporting eps figures
-
-pst-eps.sty     - The LaTeX file
-pst-eps.tex     - The TeX file
-pst-eps-doc.pdf - The documentation
-pst-eps-doc.tex - The documentation source
-pst-eps-doc.bib - The documentation bib
-
-
---
-Herbert Voss 2006-11-05

Added: trunk/Master/texmf-dist/doc/generic/pst-pulley/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-pulley/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pst-pulley/README.md	2017-09-16 20:45:26 UTC (rev 45316)
@@ -0,0 +1,10 @@
+The pst-pulley package Author: T. Söll
+
+Dated: 2017/09/16 Version 0.02
+
+pst-pulley contains the following:
+
+1) pst-pulley.sty
+2) pst-pulley.tex
+
+T. Söll


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

Modified: trunk/Master/texmf-dist/doc/generic/pst-pulley/pst-pulley-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-pulley/pst-pulley-doc.tex	2017-09-16 00:21:42 UTC (rev 45315)
+++ trunk/Master/texmf-dist/doc/generic/pst-pulley/pst-pulley-doc.tex	2017-09-16 20:45:26 UTC (rev 45316)
@@ -52,11 +52,11 @@
 
 \section{Examples}
 
-\begin{center}\xLcs{pspulleys}\xLkeyword{grid}\xLkeyword{N}\xLkeyword{M}\xLkeyword{h}
-\pspulleys[grid,N=1,M=60,h=35]
+\begin{center}\xLcs{pspulleys}\xLkeyword{pulleyGrid}\xLkeyword{N}\xLkeyword{M}\xLkeyword{h}
+\pspulleys[pulleyGrid,N=1,M=60,h=35]
 
 \vspace{1.5cm}
-\Lcs{pspulleys}[grid,N=1,M=60,h=35]
+\Lcs{pspulleys}[pulleyGrid,N=1,M=60,h=35]
 \end{center}
 
 \begin{center}

Modified: trunk/Master/texmf-dist/tex/generic/pst-pulley/pst-pulley.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-pulley/pst-pulley.tex	2017-09-16 00:21:42 UTC (rev 45315)
+++ trunk/Master/texmf-dist/tex/generic/pst-pulley/pst-pulley.tex	2017-09-16 20:45:26 UTC (rev 45316)
@@ -1,17 +1,25 @@
-%% COPYRIGHT 2011 by Thomas Söll
-%
-% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% 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
-% version 2003/12/01 or later.
-%
-% This work consists of the file pstricks.tex, PostScript macros 
-% for Generic TeX.
-% See the PSTricks User's Guide for description.
-%
+%%
+%% This is file `pst-pulley.tex',
+%%
+%% IMPORTANT NOTICE:
+%%
+%% Package `pst-pulley.tex'
+%%
+%% Thomas S\xF6ll
+%% with the collaboration of
+%% Herbert Vo\xDF
+%% Manuel Luque
+%%
+%% This program can redistributed and/or modified under %%
+%% the terms of the LaTeX Project Public License        %%
+%% Distributed from CTAN archives in directory          %%
+%% macros/latex/base/lppl.txt; either version 1.3 of   %%
+%% the License, or (at your option) any later version.  %%
+%%
+%% DESCRIPTION:
+%%   `pst-pulley' is a PSTricks package
+%%
+%%
 \csname PSTpulleyLoaded\endcsname
 \let\PSTpulleyLoaded\endinput
 \ifx\GradientLoaded\endinput   \else\input pst-grad     \fi
@@ -19,8 +27,8 @@
 \ifx\PSTEuclideLoaded\endinput \else\input pst-eucl     \fi
 \ifx\PSTricksAddLoaded\endinput\else\input pstricks-add \fi
 %
-\def\fileversion{0.01}
-\def\filedate{2012/01/17}
+\def\fileversion{0.02}
+\def\filedate{2017/09/16}
 \message{ v\fileversion, \filedate (ts)}
 \message{ v\fileversion, \filedate}
 \edef\TheAtCode{\the\catcode`\@}
@@ -27,12 +35,12 @@
 \catcode`\@=11
 
 \pst at addfams{pst-pulleys}
-\define at boolkey[psset]{pst-pulleys}[Pst@]{grid}[true]{} % show grid
+\define at boolkey[psset]{pst-pulleys}[Pst@]{pulleyGrid}[true]{} % show grid
 \define at key[psset]{pst-pulleys}{N}{\def\psk at pulleys@N{#1}} % nombre de poulies
 \define at key[psset]{pst-pulleys}{M}{\def\psk at pulleys@M{#1}} % charge en kg
 \define at key[psset]{pst-pulleys}{h}{\def\psk at pulleys@S{#1}} % d\xE9placement du point d'action en cm %
 \define at key[psset]{pst-pulleys}{Dx}{\def\psk at pulleys@DX{#1}} % placement of the down-part  %
-\psset[pst-pulleys]{N=1,M=20,h=15,Dx=0,grid=false}
+\psset[pst-pulleys]{N=1,M=20,h=15,Dx=0,pulleyGrid=false}
 %
 \newpsstyle{pulley}{linewidth=0.7pt,fillstyle=radslope,slopeangle=70,slopeend=black!70,slopebegin=gray!30,dimen=outer}
 \newpsstyle{pulley-frame}{linewidth=1.0pt,framearc=.15,fillstyle=gradient,gradangle=0,gradend=cyan!30,gradbegin=black!70}
@@ -1200,30 +1208,30 @@
 \def\pst@@CommaVal#1.#2.#3\@nil{\ifx\relax#2\relax#1\else\pst@@@CommaVal#1.#2\@nil\fi}
 \def\pst@@@CommaVal#1.#2#3\@nil{#1{,}#2}
 %
+%$
 %
-%
+\newcount\Npulleys
 \def\pspulleys{\pst at object{pspulleys}}
 \def\pspulleys at i{%
-\begingroup%
-\pst at killglue
-\use at par
-\pstFPmul\ps at Seil{\psk at pulleys@S}{\psk at pulleys@N}
-\pstFPdiv\ps at ForceS{\psk at pulleys@M}{\psk at pulleys@N}
-\pstFPMul\ps at ForceS{10}{\ps at ForceS}
-\pstFPMul\ps at ForceG{\psk at pulleys@M}{10}
-\pstFPdiv\ps at HightH{\psk at pulleys@S}{10}
-\pstFPsub\ps at HightH{\ps at HightH}{3}
-\pstFPmul\ps at SeilEnd{\psk at pulleys@S}{\psk at pulleys@N}
-\pstFPdiv\ps at SeilEnd{\ps at SeilEnd}{10}
-\pstFPadd\ps at SeilEndH{\ps at SeilEnd}{3.37}
-\pstFPadd\ps at SeilEnd{\ps at SeilEnd}{3}
-
+ \begingroup
+ \pst at killglue
+ \use at par
+ \pstFPmul\ps at Seil{\psk at pulleys@S}{\psk at pulleys@N}
+ \pstFPdiv\ps at ForceS{\psk at pulleys@M}{\psk at pulleys@N}
+ \pstFPMul\ps at ForceS{10}{\ps at ForceS}
+ \pstFPMul\ps at ForceG{\psk at pulleys@M}{10}
+ \pstFPdiv\ps at HightH{\psk at pulleys@S}{10}
+ \pstFPsub\ps at HightH{\ps at HightH}{3}
+ \pstFPmul\ps at SeilEnd{\psk at pulleys@S}{\psk at pulleys@N}
+ \pstFPdiv\ps at SeilEnd{\ps at SeilEnd}{10}
+ \pstFPadd\ps at SeilEndH{\ps at SeilEnd}{3.37}
+ \pstFPadd\ps at SeilEnd{\ps at SeilEnd}{3}
 %
-\newcount\Npulleys
-\Npulleys=\psk at pulleys@N
-\advance\Npulleys by -1
-\ifPst at grid\pspicture[showgrid](-4,-11.5)(4,7)\else\pspicture(-4,-11.5)(4,7)\fi%
-\ifcase\Npulleys
+ \Npulleys=\psk at pulleys@N
+ \advance\Npulleys by -1
+ \pspicture(-4,-11.5)(4,7)
+ \ifPst at pulleyGrid\psgrid[style=gridstyle]\fi
+  \ifcase\Npulleys
       % 1 poulie
       \poulieA
        \or
@@ -1246,7 +1254,7 @@
      \poulieD
     \fi
 \endpspicture
-\endgroup%
+\endgroup
 \ignorespaces}
 
 \catcode`\@=\TheAtCode\relax

Modified: trunk/Master/texmf-dist/tex/latex/pst-pulley/pst-pulley.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pst-pulley/pst-pulley.sty	2017-09-16 00:21:42 UTC (rev 45315)
+++ trunk/Master/texmf-dist/tex/latex/pst-pulley/pst-pulley.sty	2017-09-16 20:45:26 UTC (rev 45316)
@@ -1,5 +1,6 @@
+\PassOptionsToPackage{dvipsnames}{pstricks}
 \RequirePackage{pstricks}
-\ProvidesPackage{pst-pulley}[2012/01/17 package wrapper for PSTricks pst-pulley.tex]
+\ProvidesPackage{pst-pulley}[2017/09/16 package wrapper for PSTricks pst-pulley.tex]
 \input{pst-pulley.tex}
 \ProvidesFile{pst-pulley.tex}
   [\filedate\space v\fileversion\space `PST-pulley' (ts)]



More information about the tex-live-commits mailing list