texlive[59728] Master/texmf-dist: circuitikz (27jun21)

commits+karl at tug.org commits+karl at tug.org
Sun Jun 27 23:00:15 CEST 2021


Revision: 59728
          http://tug.org/svn/texlive?view=revision&revision=59728
Author:   karl
Date:     2021-06-27 23:00:15 +0200 (Sun, 27 Jun 2021)
Log Message:
-----------
circuitikz (27jun21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/context/third/circuitikz/circuitikz-context.pdf
    trunk/Master/texmf-dist/doc/generic/circuitikz/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/circuitikz/changelog.tex
    trunk/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.pdf
    trunk/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex
    trunk/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex
    trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircshapes.tex
    trunk/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty

Modified: trunk/Master/texmf-dist/doc/context/third/circuitikz/circuitikz-context.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/generic/circuitikz/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/circuitikz/CHANGELOG.md	2021-06-27 20:59:53 UTC (rev 59727)
+++ trunk/Master/texmf-dist/doc/generic/circuitikz/CHANGELOG.md	2021-06-27 21:00:15 UTC (rev 59728)
@@ -1,6 +1,13 @@
 <!--- CircuiTikz - Changelog --->
 The major changes among the different CircuiTikZ versions are listed here. See <https://github.com/circuitikz/circuitikz/commits> for a full list of changes.
 
+* Version 1.3.9 (2021-06-27)
+
+    Bugfix release: `open poles opacity` was not working in most of the cases.
+
+    - minor fixes to the manual
+    - fix bug with `open poles opacity`; see [this question by Florian H.](https://tex.stackexchange.com/questions/602251/circuitikz-redefine-open-nodes-fill-key-to-fill-none-so-that-open-circuit) for details.
+
 * Version 1.3.8 (2021-06-15)
 
     The big news of this release is the ability to selectively draw the pins of the integrated circuit and mux-demuxes symbols.

Modified: trunk/Master/texmf-dist/doc/latex/circuitikz/changelog.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/circuitikz/changelog.tex	2021-06-27 20:59:53 UTC (rev 59727)
+++ trunk/Master/texmf-dist/doc/latex/circuitikz/changelog.tex	2021-06-27 21:00:15 UTC (rev 59728)
@@ -5,6 +5,21 @@
 
 \begin{itemize}
 \item
+  Version 1.3.9 (2021-06-27)
+
+  Bugfix release: \texttt{open\ poles\ opacity} was not working in most
+  of the cases.
+
+  \begin{itemize}
+  \tightlist
+  \item
+    minor fixes to the manual
+  \item
+    fix bug with \texttt{open\ poles\ opacity}; see
+    \href{https://tex.stackexchange.com/questions/602251/circuitikz-redefine-open-nodes-fill-key-to-fill-none-so-that-open-circuit}{this
+    question by Florian H.} for details.
+  \end{itemize}
+\item
   Version 1.3.8 (2021-06-15)
 
   The big news of this release is the ability to selectively draw the

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

Modified: trunk/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex	2021-06-27 20:59:53 UTC (rev 59727)
+++ trunk/Master/texmf-dist/doc/latex/circuitikz/circuitikzmanual.tex	2021-06-27 21:00:15 UTC (rev 59728)
@@ -165,12 +165,12 @@
 
 \subsection{Requirements}
 \begin{itemize}
-    \item \texttt{tikz}, version $\ge >3.1.5b$ (it \emph{should} work with any version 3 and up, but better use a newer one);
+    \item \texttt{tikz}, version ${}\ge{}$\texttt{3.1.5b} (it \emph{should} work with any version from 3.0 and up, but better use a newer one);
     \item \texttt{xstring}, not older than 2009/03/13;
-    \item \texttt{siunitx}, if using \texttt{siunitx} option.
+    \item \texttt{siunitx}, if using \texttt{siunitx} option (better \texttt{v2} or newer).
 \end{itemize}
 
-This manual has been typeset with \Circuitikz{} \pgfcircversion (\pgfcircversiondate) on \TikZ{} \pgfversion (\pgfversiondate).
+This manual has been typeset with \Circuitikz{} \pgfcircversion{} (\pgfcircversiondate) on \TikZ{} \pgfversion{} (\pgfversiondate).
 
 \subsection{Incompatible packages}
 \TikZ's own \texttt{circuit} library, which was based on \Circuitikz, (re?)defines several styles used by this library. In order to have them work together you can use the \texttt{compatibility} package option, which basically prefixes the names of all \Circuitikz\ \texttt{to[]} styles with an asterisk.
@@ -227,7 +227,7 @@
     \item Version 1.3.6 fixes several problems with the stacked labels; the most important change is that now the bracing of arguments is respected as in version 1.3.0 for the other labels. The special treatment in stacked labels (and only in stacked labels!) for the (still experimental\footnote{and, really, not advised\dots}) \texttt{siunitx} compact syntax \texttt{<...>} has been removed: it was completely buggy before, and silently ignored, now will throw an error.
     \item Version 1.3.3 fixes the direction of the arrows in tunable elements; before this version, they were more or less random, now the arrow goes from bottom left to top right. You have the option to go back to the old behavior with \texttt{\textbackslash ctikzset\{bipoles/fix tunable direction=false\}}. As a compensation for the fuss, now the arrows are configurable. To learn more, see the FAQ:~\ref{faq:tunable-arrow}.
     \item Version 1.3.1 removes the warning if you do not specify a voltage direction.
-    \item Version 1.3.0 fixes the buggy stripping of braces from labels and annotations (see~\ref{sec:bracing-of-labels}.
+    \item Version 1.3.0 fixes the buggy stripping of braces from labels and annotations (see~\ref{sec:bracing-of-labels}).
     \item After 1.2.7 a big code reorganization (which had the collateral effect of fixing some bug) has been made; no changes should be visible, but a fallback point at 1.2.7 has been added.
     \item You \textbf{must} upgrade to v1.2.7 or newer if you use a \TikZ{} 3.1.8 or 3.1.8a (but better upgrade both packages to the current version). You can check the \TikZ{} version installed using the macro \verb|\pgfversion|.
     \item After v1.2.1: \textbf{Important:} the routine that implements the \texttt{to[...]} component positioning has been rewritten. That should enhance the line joins in paths, and it's safer, but it can potentially change some old behavior.
@@ -7883,13 +7883,18 @@
 
 Anyway, \emph{if you know what you are doing}, you can change it with the key \texttt{poles/open fill opacity} (with \verb|\ctikzset|) or the style \texttt{open poles opacity}. Notice that you will have artifacts if you don't use the border anchors of the poles to connect wires, and you need to do that by hand.
 
+Notice that in poles, the opacity is \emph{always} selected with these keys, and it overrides the opacity of the draw commands (when not set explicitly is as if it is set to \texttt{1.0}, i.e., full opaque). This is because you normally do not want unfilled poles!
+
 \begin{LTXexample}[pos=t]
 \begin{circuitikz}[scale=3, transform shape]
     \fill[cyan] (0,0) rectangle (4.1,-0.6);
+    \ctikzset{open poles fill=red}
     \tikzset{open poles opacity=0.5}
     % automatic positioning  when opacity is not 1.0 creates artifacts
-    % note that opacity must go on the draw command for path-style components
-    \draw[fill opacity=0.5] (0,0) to[generic, fill=white, -o] ++(2,0) --++(0,-0.5);
+    % note that the global fill opacity affects the "generic shape", but not the poles!
+    % the fill color of the poles, instead, goes with the component
+    \draw[fill opacity=0.8] (0,0) to[generic, fill=white, -o] ++(2,0) --++(0,-0.5);
+    % \draw (0,0) to[generic, fill=white, -o] ++(2,0) --++(0,-0.5);
     % you have to use manual positioning
     \draw (2.2,0) -- ++(0.5,0) node[ocirc, anchor=180, fill opacity=0.5]{};
     \draw (3,0) node[ocirc, fill opacity=0.5](B){}  (B.0) --++(0.5,0) (B.-90) --++(0,-0.5);

Modified: trunk/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex
===================================================================
--- trunk/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex	2021-06-27 20:59:53 UTC (rev 59727)
+++ trunk/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex	2021-06-27 21:00:15 UTC (rev 59728)
@@ -10,8 +10,8 @@
 %
 % See the files gpl-3.0_license.txt and lppl-1-3c_license.txt for more details.
 
-\def\pgfcircversion{1.3.8}
-\def\pgfcircversiondate{2021/06/15}
+\def\pgfcircversion{1.3.9}
+\def\pgfcircversiondate{2021/06/27}
 \writestatus{loading}{\pgfcircversiondate{} The CircuiTikz circuit drawing package version \pgfcircversion}
 
 \usemodule[tikz]

Modified: trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircshapes.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircshapes.tex	2021-06-27 20:59:53 UTC (rev 59727)
+++ trunk/Master/texmf-dist/tex/generic/circuitikz/pgfcircshapes.tex	2021-06-27 21:00:15 UTC (rev 59728)
@@ -81,7 +81,6 @@
         }{\pgfpoint{\ctikzvalof{nodes width}*\pgf at circ@Rlen}{\ctikzvalof{nodes width}*\pgf at circ@Rlen}}
     }
     \behindforegroundpath{
-
         \pgfscope
             \pgfpathcircle{\pgfpointorigin}{\ctikzvalof{nodes width}*\pgf at circ@Rlen}
             \pgfsetcolor{\ctikzvalof{color}}
@@ -88,7 +87,6 @@
             \pgfsetfillopacity{\ctikzvalof{poles/full fill opacity}}% normally 1.0
             \pgfusepath{draw,fill}
         \endpgfscope
-
     }
 }
 
@@ -121,12 +119,11 @@
         \pgfpointborderellipse{\pgfpoint{\pgf at circ@res at left}{\pgf at circ@res at up}
         }{\pgfpoint{\ctikzvalof{nodes width}*\pgf at circ@Rlen}{\ctikzvalof{nodes width}*\pgf at circ@Rlen}}
     }
-
     \behindforegroundpath{
-
         \pgfscope
             \pgfpathcircle{\pgfpointorigin}{\ctikzvalof{nodes width}*\pgf at circ@Rlen}
             \pgfsetcolor{\ctikzvalof{color}}
+            \pgfsetfillopacity{\ctikzvalof{poles/open fill opacity}}% normally 1.0
             \ifx\tikz at fillcolor\pgfutil at empty
                 % set the default fill color to white
                 \pgfsetfillcolor{\ctikzvalof{open poles fill}}
@@ -137,10 +134,8 @@
             \else
                 \pgfsetfillcolor{\tikz at fillcolor}
             \fi
-            \pgfsetfillopacity{\ctikzvalof{poles/open fill opacity}}% normally 1.0
             \pgfusepath{draw,fill}
         \endpgfscope
-
     }
 }
 
@@ -244,6 +239,7 @@
             {\pgfpoint{-\pgf at circ@res at temp}{-\pgf at circ@res at temp}}
             {\pgfpoint{\pgf at circ@res at temp}{\pgf at circ@res at temp}}
             \pgfsetcolor{\ctikzvalof{color}}
+            \pgfsetfillopacity{\ctikzvalof{poles/open fill opacity}}% normally 1.0
             \ifx\tikz at fillcolor\pgfutil at empty
                 % set the default fill color to white
                 \pgfsetfillcolor{\ctikzvalof{open poles fill}}
@@ -254,7 +250,6 @@
             \else
                 \pgfsetfillcolor{\tikz at fillcolor}
             \fi
-            \pgfsetfillopacity{\ctikzvalof{poles/open fill opacity}}% normally 1.0
             \pgfusepath{draw,fill}
         \endpgfscope
     }
@@ -341,6 +336,7 @@
             {\pgfpoint{-\pgf at circ@res at temp}{-\pgf at circ@res at temp}}
             {\pgfpoint{\pgf at circ@res at temp}{\pgf at circ@res at temp}}
             \pgfsetcolor{\ctikzvalof{color}}
+            \pgfsetfillopacity{\ctikzvalof{poles/open fill opacity}}% normally 1.0
             \ifx\tikz at fillcolor\pgfutil at empty
                 % set the default fill color to white
                 \pgfsetfillcolor{\ctikzvalof{open poles fill}}
@@ -351,7 +347,6 @@
             \else
                 \pgfsetfillcolor{\tikz at fillcolor}
             \fi
-            \pgfsetfillopacity{\ctikzvalof{poles/open fill opacity}}% normally 1.0
             \pgfusepath{draw,fill}
         \endpgfscope
     }

Modified: trunk/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty	2021-06-27 20:59:53 UTC (rev 59727)
+++ trunk/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty	2021-06-27 21:00:15 UTC (rev 59728)
@@ -12,8 +12,8 @@
 
 \NeedsTeXFormat{LaTeX2e}
 
-\def\pgfcircversion{1.3.8}
-\def\pgfcircversiondate{2021/06/15}
+\def\pgfcircversion{1.3.9}
+\def\pgfcircversiondate{2021/06/27}
 
 \ProvidesPackage{circuitikz}%
 [\pgfcircversiondate{} The CircuiTikz circuit drawing package version \pgfcircversion]



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