summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-15 21:23:15 +0000
committerKarl Berry <karl@freefriends.org>2024-03-15 21:23:15 +0000
commita1da8735a4beeae1fce0dd9036247a513d440685 (patch)
tree83fa0d174f8f00400560bb180d6498fb78ba9584 /Master/texmf-dist
parent021eb3568a657e9db0d3a9bc0643bab72d4ceac1 (diff)
zx-calculus (15mar24)
git-svn-id: svn://tug.org/texlive/trunk@70647 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/zx-calculus/zx-calculus.pdfbin1177760 -> 1179079 bytes
-rw-r--r--Master/texmf-dist/doc/latex/zx-calculus/zx-calculus.tex15
-rw-r--r--Master/texmf-dist/tex/latex/zx-calculus/zx-calculus.sty2
3 files changed, 13 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/zx-calculus/zx-calculus.pdf b/Master/texmf-dist/doc/latex/zx-calculus/zx-calculus.pdf
index 4fdf4109037..0c9aad90d85 100644
--- a/Master/texmf-dist/doc/latex/zx-calculus/zx-calculus.pdf
+++ b/Master/texmf-dist/doc/latex/zx-calculus/zx-calculus.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/zx-calculus/zx-calculus.tex b/Master/texmf-dist/doc/latex/zx-calculus/zx-calculus.tex
index 39e319d1e97..7a6d45eb4f6 100644
--- a/Master/texmf-dist/doc/latex/zx-calculus/zx-calculus.tex
+++ b/Master/texmf-dist/doc/latex/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
diff --git a/Master/texmf-dist/tex/latex/zx-calculus/zx-calculus.sty b/Master/texmf-dist/tex/latex/zx-calculus/zx-calculus.sty
index 5ab1ba55c5d..3bb295bb836 100644
--- a/Master/texmf-dist/tex/latex/zx-calculus/zx-calculus.sty
+++ b/Master/texmf-dist/tex/latex/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}