texlive[72519] Master/texmf-dist: pst-circ (10oct24)

commits+karl at tug.org commits+karl at tug.org
Thu Oct 10 21:43:08 CEST 2024


Revision: 72519
          https://tug.org/svn/texlive?view=revision&revision=72519
Author:   karl
Date:     2024-10-10 21:43:08 +0200 (Thu, 10 Oct 2024)
Log Message:
-----------
pst-circ (10oct24)

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

Modified: trunk/Master/texmf-dist/doc/generic/pst-circ/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-circ/Changes	2024-10-10 19:42:53 UTC (rev 72518)
+++ trunk/Master/texmf-dist/doc/generic/pst-circ/Changes	2024-10-10 19:43:08 UTC (rev 72519)
@@ -1,3 +1,4 @@
+2.20  2024-10-10  reset fillstyle for OA until the connections are drawn
 2.19  2021-09-09  fixes for use with lualatex 
 2.18  2021-04-28  Added new transistors: JFET (N and P channels), 
                     D-MOSFET (N and P channels), and IGBT

Modified: trunk/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/generic/pst-circ/pst-circ.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-circ/pst-circ.tex	2024-10-10 19:42:53 UTC (rev 72518)
+++ trunk/Master/texmf-dist/tex/generic/pst-circ/pst-circ.tex	2024-10-10 19:43:08 UTC (rev 72519)
@@ -1,4 +1,4 @@
-%% $Id: pst-circ.tex 210 2021-09-10 07:52:09Z herbert $
+%% $Id: pst-circ.tex 1015 2024-10-10 12:02:54Z herbert $
 %% This is file `pst-circ.tex'
 %%
 %% IMPORTANT NOTICE:
@@ -26,8 +26,8 @@
 \ifx\PSTXKeyLoaded\endinput   \else\input pst-xkey \fi
 \ifx\PSTMultidoLoaded\endinput\else\input multido.tex\fi
 %
-\def\fileversion{2.19}
-\def\filedate{2021/09/09}
+\def\fileversion{2.20}
+\def\filedate{2024/10/10}
 \message{`pst-circ' v\fileversion (hv)}
 %
 \edef\PstAtCode{\the\catcode`\@}
@@ -1022,6 +1022,7 @@
     /YC Y1 Y2 add 2 div def
     XC YC end ){C@}
   \rput(C@){\pst at draw@OA}
+  \psset{fillstyle=none}%  reset, otherwise the connectionlines are also used for a fillstyle
   \ncangle[arrows=-,arm=.5,angleA=0,angleB=180]{#1}{\ifPst at OAinvert Minus@\else Plus@\fi}
   \ncput[npos=2]{\pnode{\ifPst at OAinvert Minus@@\else Plus@@\fi}}
   \ifPst at OAiplus
@@ -1905,9 +1906,9 @@
      \fi
      \pcline[fillstyle=none,linestyle=none](#2)(#3)
 %%%%%
-     \pst at intensity{#2}{#3}
-     \pst at tension{#2}{#3}
-   \fi%
+     \pst at intensity{#2}{#3}%
+     \pst at tension{#2}{#3}%
+   \fi
 }%
 %
 \def\pst at intensity#1#2{%
@@ -2112,15 +2113,15 @@
         \pnode(0.5,0){dipole at 2}
         \psframe[linewidth=1.5\pslinewidth,fillstyle=solid,fillcolor=black](-0.5,-0.25)(0.5,0.25)
     \else
-      \pscurve[arrows=-,linewidth=1.5\pslinewidth](-1,0)(-0.75,0.5)(-0.5,0)
-      \pscurve[arrows=-,linewidth=1.5\pslinewidth](-0.5,0)(-0.25,0.5)(0,0)
-      \pscurve[arrows=-,linewidth=1.5\pslinewidth](0,0)(0.25,0.5)(0.5,0)
-      \pscurve[arrows=-,linewidth=1.5\pslinewidth](0.5,0)(0.75,0.5)(1,0)
-      \pnode(-1,0){dipole at 1}
-      \pnode(1,0){dipole at 2}
-    \fi\fi\fi\fi%
-  \ifPst at variable\psline{->}(-0.75,-0.5)(0.75,0.5)\fi%
-  }
+      \pscurve[arrows=-,linewidth=1.5\pslinewidth](-1,0)(-0.75,0.5)(-0.5,0)%
+      \pscurve[arrows=-,linewidth=1.5\pslinewidth](-0.5,0)(-0.25,0.5)(0,0)%
+      \pscurve[arrows=-,linewidth=1.5\pslinewidth](0,0)(0.25,0.5)(0.5,0)%
+      \pscurve[arrows=-,linewidth=1.5\pslinewidth](0.5,0)(0.75,0.5)(1,0)%
+      \pnode(-1,0){dipole at 1}%
+      \pnode(1,0){dipole at 2}%
+    \fi\fi\fi\fi
+  \ifPst at variable\psline{->}(-0.75,-0.5)(0.75,0.5)\fi
+}
 %
 \def\pst at draw@Ucc{%
   \pnode(-0.5,0){dipole at 1}



More information about the tex-live-commits mailing list.