summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-03-16 03:02:08 +0000
committerNorbert Preining <norbert@preining.info>2024-03-16 03:02:08 +0000
commit966f9ba332e49c29e961cb86e08f97d70eda51f6 (patch)
treee111edb864721bb0dac9db16b4e41a8a489ea456 /graphics
parent12679ab7d3c2a210f4123163671b532b8b55d5f9 (diff)
CTAN sync 202403160302
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pgf/contrib/zx-calculus/zx-calculus.pdfbin1177760 -> 1179079 bytes
-rw-r--r--graphics/pgf/contrib/zx-calculus/zx-calculus.sty2
-rw-r--r--graphics/pgf/contrib/zx-calculus/zx-calculus.tex15
3 files changed, 13 insertions, 4 deletions
diff --git a/graphics/pgf/contrib/zx-calculus/zx-calculus.pdf b/graphics/pgf/contrib/zx-calculus/zx-calculus.pdf
index 4fdf410903..0c9aad90d8 100644
--- a/graphics/pgf/contrib/zx-calculus/zx-calculus.pdf
+++ b/graphics/pgf/contrib/zx-calculus/zx-calculus.pdf
Binary files differ
diff --git a/graphics/pgf/contrib/zx-calculus/zx-calculus.sty b/graphics/pgf/contrib/zx-calculus/zx-calculus.sty
index 5ab1ba55c5..3bb295bb83 100644
--- a/graphics/pgf/contrib/zx-calculus/zx-calculus.sty
+++ b/graphics/pgf/contrib/zx-calculus/zx-calculus.sty
@@ -2,7 +2,7 @@
% Written by Léo Colisson. Report bugs on https://github.com/leo-colisson/zx-calculus/issues
% Published under the MIT license.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{zx-calculus}[v2.2 A package to typeset ZX calculus and circuits directly in LaTeX, based on tikz/tikzcd.]
+\ProvidesPackage{zx-calculus}[2024/03/15 v2.3 A package to typeset ZX calculus and circuits directly in LaTeX, based on tikz/tikzcd.]
\RequirePackage{tikz}
\RequirePackage{tikz-cd}
diff --git a/graphics/pgf/contrib/zx-calculus/zx-calculus.tex b/graphics/pgf/contrib/zx-calculus/zx-calculus.tex
index 39e319d1e9..7a6d45eb4f 100644
--- a/graphics/pgf/contrib/zx-calculus/zx-calculus.tex
+++ b/graphics/pgf/contrib/zx-calculus/zx-calculus.tex
@@ -87,7 +87,7 @@ keys
{\Large\bfseries ZX-calculus with \tikzname}
\vspace{1em}
- {Léo Colisson \quad Version 2.2}\\[3mm]
+ {Léo Colisson \quad Version 2.3}\\[3mm]
{\href{https://github.com/leo-colisson/zx-calculus}{\texttt{github.com/leo-colisson/zx-calculus}}}
\end{center}
@@ -240,7 +240,13 @@ This library is quite young, so feel free to propose improvements or report issu
\section{Installation}
-If your CTAN distribution is recent enough, you can directly insert in your file:
+\textbf{WARNING:} the versions distributed in the released TexLive 2024 are either too old (the interface has been importantly improved recently), or cannot be loaded due to a bug (you will get an error |ERROR: Missing = inserted for \ifnum| due to a misunderstanding of how to handle \mylink{https://tex.stackexchange.com/questions/713222/providespackage-with-semantic-versionning}{semantic versioning in \LaTeX{}}). CTAN contains now the good version, so you should be able to upgrade your package with |tlmgr|, but it might still be safer to manually install the package (for instance if you plan to submit your article to the arXiv) before TexLive 2025 is out and widely deployed. To manually install this library, simply download (you have a button ``Download raw file'') and copy these two files at the root of your project:
+\begin{itemize}
+\item \mylink{https://github.com/leo-colisson/zx-calculus/blob/main/tikzlibraryzx-calculus.code.tex}{\texttt{tikzlibraryzx-calculus.code.tex}}
+\item \mylink{https://github.com/leo-colisson/zx-calculus/blob/main/zx-calculus.sty}{\texttt{zx-calculus.sty}}
+\end{itemize}
+
+Then, you can insert in your file:
% verse indents stuff, index adds to the index of command at the end of the file, || is a shortcut of \verb||
\begin{verse}
\index{zx@\protect\texttt{zx-calculus} package}%
@@ -253,7 +259,6 @@ or load \tikzname{} and then use:
\index{Libraries!cd@\protect\texttt{zx-calculus}}%
|\usetikzlibrary{zx-calculus}|%
\end{verse}
-If this library is not yet packaged into CTAN (which is very likely in 2021), you must first download \mylink{https://github.com/leo-colisson/zx-calculus/blob/main/tikzlibraryzx-calculus.code.tex}{\texttt{tikzlibraryzx-calculus.code.tex}} and \mylink{https://github.com/leo-colisson/zx-calculus/blob/main/zx-calculus.sty}{\texttt{zx-calculus.sty}} (right-click on ``Raw'' and ``Save link as'') and save them at the root of your project.
\section{Quickstart}
@@ -4888,6 +4893,10 @@ I'm very grateful of course to everybody that worked on these amazing field whic
\section{Changelog}
\begin{itemize}
+\item v2.3 (2024/03/15):
+ \begin{itemize}
+ \item Fix bug that forbids package to load with error |ERROR: Missing = inserted for \ifnum|: \url{https://tex.stackexchange.com/questions/713222/providespackage-with-semantic-versionning}
+ \end{itemize}
\item v2.2 (11/03/2024):
\begin{itemize}
\item Added slice with percentage position