texlive[68044] Master/texmf-dist: commutative-diagrams (24aug23)

commits+karl at tug.org commits+karl at tug.org
Thu Aug 24 22:17:56 CEST 2023


Revision: 68044
          http://tug.org/svn/texlive?view=revision&revision=68044
Author:   karl
Date:     2023-08-24 22:17:55 +0200 (Thu, 24 Aug 2023)
Log Message:
-----------
commutative-diagrams (24aug23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/commutative-diagrams/commutative-diagrams-doc.pdf
    trunk/Master/texmf-dist/doc/generic/commutative-diagrams/commutative-diagrams-doc.tex
    trunk/Master/texmf-dist/tex/context/third/commutative-diagrams/t-commutative-diagrams.tex
    trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.bapto.code.tex
    trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.code.tex
    trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.diorthono.code.tex
    trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ektropi.code.tex
    trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.katharizo.code.tex
    trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.koinos.code.tex
    trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.mandyas.code.tex
    trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.mitra.code.tex
    trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ozos.code.tex
    trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ramma.code.tex
    trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.velos.code.tex
    trunk/Master/texmf-dist/tex/latex/commutative-diagrams/commutative-diagrams.sty
    trunk/Master/texmf-dist/tex/latex/commutative-diagrams/kodi.sty
    trunk/Master/texmf-dist/tex/plain/commutative-diagrams/commutative-diagrams.tex

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

Modified: trunk/Master/texmf-dist/doc/generic/commutative-diagrams/commutative-diagrams-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/commutative-diagrams/commutative-diagrams-doc.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/doc/generic/commutative-diagrams/commutative-diagrams-doc.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 %==[ document class ]===========================================================
@@ -180,6 +180,10 @@
 
 \usepackage{listings}
 
+% Use straight quotes in code listings. https://tex.stackexchange.com/a/145417/82186
+\usepackage{textcomp}
+\lstset{upquote=true}
+
 % http://tex.stackexchange.com/a/336331/82186
 \makeatletter
 \lst at Key{lastline}\relax{\ifnumcomp{#1}{<}{0}{%
@@ -247,7 +251,7 @@
     \startcodi,\stopcodi,
     \lay,\obj,\mor,
     \bye,
-    \draw,\foreach,
+    \draw,\foreach,\pgfqkeys,
     \ar,
     \psset,\everypsbox,\ncline,\ncarc,
     \xymatrix,
@@ -258,13 +262,15 @@
   frame=none,
   % extendedchars=false,
   inputencoding=utf8,
+}
+
+\lstdefinestyle{metacode}{
   escapeinside={(@}{@)},
   moredelim=**[is][\color{orange!80!black}]{@opt@}{@/opt@},
   moredelim=**[is][\color{blue!80!black}]{@nws@}{@/nws@},
   % moredelim=**[is][\color\underbar]{@rep@}{@/rep@},
   moredelim=**[s][\itshape]{<}{>},
-  % NOTE: × and ı are needed just for the associahedron example
-  literate={~}{{\textvisiblespace}}1 {XOR}{{$\vert$}}1 {:}{{\textbf{:}}}1 {:=}{{$\equiv$}}1 {×}{{\texttimes}}1 {ı}{{\i}}1,
+  literate={XOR}{{$\vert$}}1 {:}{{\textbf{:}}}1 {:=}{{$\equiv$}}1,
 }
 
 \lstset{style=TeX}
@@ -386,6 +392,11 @@
 
 \def\NiceURL#1#2{\href{#2}{\color{blue}\ul{#1}}}
 
+%==[ Import tikz-cd arrow styles ]=============================================?
+
+\usepackage{tikz-cd}
+\pgfqkeys{/codi}{every arrow/.append style={/ektropi/add=/tikz/commutative diagrams}}
+
 %==[ microtype ]================================================================
 
 \usepackage{microtype}
@@ -401,7 +412,7 @@
 \resizebox{\linewidth}{!}{\scshape enchiridion}\par
 \vfill
 \marginpar{
-  \resizebox{\linewidth}{!}{\scshape 1.0.1}\\[0.62em]
+  \resizebox{\linewidth}{!}{\scshape 1.1.0}\\[0.62em]
   \resizebox{\linewidth}{!}{\scshape \today}
 }
 
@@ -778,7 +789,7 @@
 The first of the two macros that \CoDi\ offers is \lstinline|\obj|.
 It is polymorphic and can draw both single objects and layouts.
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 \obj at opt@ <object options> @/opt@{<math>};(@
   \marginpar{\scriptsize {\color{orange!80!black}Orange fragments} are optional.}@)
 \obj at opt@ <layout options> @/opt@{<layout>};
@@ -786,7 +797,7 @@
 
 Layouts are described using the customary \TeX\ tabular syntax.
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 <layout>         := (@\itshape\underbar{<row> <row separator>}@)(@
   \marginpar{\scriptsize \underbar{Underlined fragments} can repeat one or more times.}@)
 <row>            := <cell> (@\itshape\color{orange!80!black}\underbar{<cell separator> <cell>}@)
@@ -798,7 +809,7 @@
 The discretionary options syntax is analogous to standard \TikZ\ nodes and
 matrices, respectively.
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 <object options> := (@\itshape\color{orange!80!black}\underbar{[object keylist]}@) @opt@(<name>) at (<coordinate>)@/opt@
 <layout options> := (@\itshape\color{orange!80!black}\underbar{[layout keylist]}@) @opt@(<name>) at (<coordinate>)@/opt@
 \end{lstlisting}
@@ -854,7 +865,7 @@
 The second and last macro that \CoDi\ offers is \lstinline|\mor|.
 It can draw single or chained morphisms.
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 \mor at opt@ <chain options> @/opt@<object>(@
   \itshape\underbar{\textvisiblespace<morphism>\textvisiblespace<object>}@);(@
   \marginpar{\scriptsize Whitespace marked as \textvisiblespace\ is mandatory.}@)
@@ -862,7 +873,7 @@
 
 Source and target objects are referred to by their name.
   
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 <object>   := @nws@(<name>)@/nws@ (@
   \marginpar{\scriptsize {\color{blue!80!black}Blue fragments} can be either enclosed in the shown delimiters, or a \TeX\ group (not idiomatic), or simply devoid of whitespace.}@)
 \end{lstlisting}
@@ -869,7 +880,7 @@
 
 Morphisms consist of one or more optional labels and an arrow.
   
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 <morphism> := @opt@<labels> : @/opt@<arrow>
 <labels>   := @nws@"<math>"@/nws@ XOR (@\underbar{[{\itshape "<math>", <label keylist>}]}@) (@
   \marginpar{\scriptsize Alternatives are separated by $\vert$s.}@)
@@ -879,7 +890,7 @@
 
 Global options can be given to both labels and arrows.
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 <chain options> := [<label keylist>] @opt@: [<arrow keylist>]@/opt@
 \end{lstlisting}
 
@@ -926,7 +937,17 @@
 \newpage
 \section{Names}
 As you'll have guessed by now, objects name themselves.
+This also applies to the nodes labeling the morphisms.
 
+\begin{tcblisting}{snippet}
+\begin{codi}
+  \obj{ A & B \\ };
+  \mor A f:-> B;
+  \draw [red] (A) circle (1em);
+  \draw [blue] (f) circle (1em);
+\end{codi}
+\end{tcblisting}
+
 The process happens in three steps:
 \begin{itemize}[nosep]
   \item expand tokens;
@@ -1040,7 +1061,7 @@
 The expansion behaviour of the naming routine can be configured
 inside any \CoDi\ scope using the \lstinline!expand! key.
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/expand = none | once | full
 \end{lstlisting}
 
@@ -1083,9 +1104,7 @@
 \begin{codi}
 \foreach [count=\c] \m in {\lim,\prod}
   \obj [expand=full] at (4em*\c,0) {\m F};
-\mor (protect mathop {relax kern z@ mathgroup
-                        symoperators lim}nmlimits@ F)
-  -> (DOTSI prodop slimits@ F);
+\mor (lim F) -> (DOTSI prodop slimits@ F);
 \end{codi}
 \end{tcblisting}
 
@@ -1103,7 +1122,7 @@
 The character replacement behaviour of the naming routine can be configured
 inside any \CoDi\ scope using various keys.
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/replace character = <character> with <character>
 /codi/replace charcode = <charcode> with <character>
 /codi/remove characters = <characters>
@@ -1168,7 +1187,7 @@
 The name overwriting behaviour of the naming routine can be configured
 inside any \CoDi\ scope using the \lstinline!overwrite! key.
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/overwrite = false | alias | true
 \end{lstlisting}
 
@@ -1212,6 +1231,17 @@
 
 The hard overwriting behaviour ignores any label except generated
 ones; it exists for completeness and debugging purposes.
+
+All of the above applies to morphisms too.
+The only difference is that the name of the node labelling the arrow is changed using the standard \lstinline|/tikz/name| key:
+
+\begin{tcblisting}{snippet}
+\begin{codi}
+  \obj{ A & B \\ };
+  \mor A [name=foo, "f"]:-> B;
+  \draw [red] (foo) circle (1em);
+\end{codi}
+\end{tcblisting}
 \newpage
 \section{Styles: scopes}
 \CoDi\ structures diagrams into five layers implemented with \TikZ.
@@ -1233,7 +1263,7 @@
 Each layer can be styled using \TikZ\ keys.
 
 Each layer possesses a default style:
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/every diagram
 /codi/every layout
 /codi/every object
@@ -1247,7 +1277,7 @@
 \end{lstlisting}
 
 Each layer possesses a library of commonplace styles:
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/diagrams/
 /codi/layouts/
 /codi/objects/
@@ -1403,12 +1433,12 @@
 
 Diagrams can be laid over regular grids:
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/diagrams/tetragonal=base <length> height <length>
   (@\hfill@) (default: base 4.5em height 2.8em)
 \end{lstlisting}
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/diagrams/hexagonal=<direction> side <length> angle <angle>
   (@\hfill@) (default: horizontal side 4.5em angle 60)
 \end{lstlisting}
@@ -1444,12 +1474,12 @@
 \section{Styles: layouts}
 Layouts can be laid over regular grids:
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/layouts/tetragonal=base <length> height <length>
   (@\hfill@) (default: base 4.5em height 2.8em)
 \end{lstlisting}
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/layouts/hexagonal=<direction> side <length> angle <angle>
   (@\hfill@) (default: horizontal side 4.5em angle 60)
 \end{lstlisting}
@@ -1480,12 +1510,14 @@
 Note that \emph{each row must have the same number of cells}%
 \footnote{this is different from the behaviour of, say, tables}
 or the spacing will be incorrect.
+
+Note that these keys will be recognized by \lstinline|\obj| only if you're using the tabular syntax.
 \newpage
 \section{Styles: objects}
 No styles are available at the moment.
 \newpage
 \section{Styles: arrows}
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/arrows/crossing over
 /codi/arrows/crossing over/clearance=<length> (@\hfill@) (default: 0.5ex)
 /codi/arrows/crossing over/color=<color> (@\hfill@) (default: white)
@@ -1504,7 +1536,7 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/arrows/slide=<length>
 \end{lstlisting}
 
@@ -1521,7 +1553,7 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/arrows/shove=<length>
 \end{lstlisting}
 
@@ -1535,9 +1567,39 @@
 \mor :[shove=+.3em, blue] A -> B;
 \end{codi}
 \end{tcblisting}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\hfill$\therefore$\hfill\null
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\CoDi\ is currently missing a base arrow style library.
+
+You can define your own styles adding them to \lstinline|/codi/arrows/|.
+
+If you're familiar with {\ttfamily\small tikz-cd}, you can import its arrow styles to use them with \CoDi\ as follows in you preamble:
+\begin{lstlisting}
+\usepackage{tikz-cd}
+\pgfqkeys{/codi}{
+    every arrow/.append style={
+        /ektropi/add=/tikz/commutative diagrams
+    }
+}
+\end{lstlisting}
+
+Then, you can use them seamlessly:
+
+\begin{tcblisting}{snippet, trim={2 and -1}}
+\begin{codi}
+\obj{ X & Y \\ & Z \\ };
+\mor X f:->,hook Y g:-> Z;
+\mor X f:dashrightarrow Z;
+\end{codi}
+\end{tcblisting}
 \newpage
 \section{Styles: labels}
-\begin{lstlisting}
+\begin{lstlisting}[style=metacode]
 /codi/labels/mid
 \end{lstlisting}
 
@@ -1559,6 +1621,29 @@
 
 \clearpage
 
+\subsection{2-cells}
+
+\begin{tcblisting}{gallery}
+% From the LaTeX preamble:
+%   \usepackage{tikz-cd}
+
+% We use tikz-cd keys to quickly whip up an arrow style for a 2-morphism.
+\pgfqkeys{/codi/arrows}{
+  -2>/.style={
+      /tikz/commutative diagrams/Rightarrow,
+      /tikz/commutative diagrams/shorten=2pt,
+  }
+}
+
+\begin{codi}
+  \obj{ X & Y & Z \\ };
+  \mor[swap]:[bend right] X f:-> Y m:-> Z;
+  \mor      :[bend left]  X g:-> Y n:-> Z;
+  \mor       f \alpha:-2> g;
+  \mor[swap] m  \beta:-2> n;
+\end{codi}
+\end{tcblisting}
+
 \subsection{Snake}
 
 \begin{tcblisting}{gallery}
@@ -1587,7 +1672,7 @@
 
 \subsection{The fourth associahedron}
 
-\begin{tcblisting}{gallery}
+\begin{tcblisting}{gallery,listing options={literate={×}{{\texttimes}}1 {ı}{{\i}}1}}
 \begin{codi}
 % From the LaTeX preamble:
 %   \usepackage{newunicodechar}

Modified: trunk/Master/texmf-dist/tex/context/third/commutative-diagrams/t-commutative-diagrams.tex
===================================================================
--- trunk/Master/texmf-dist/tex/context/third/commutative-diagrams/t-commutative-diagrams.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/context/third/commutative-diagrams/t-commutative-diagrams.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,12 +1,12 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
-\writestatus{loading}{2020/06/11 1.0.1 CoDi: Commutative Diagrams for TeX}
+\writestatus{loading}{2023/08/23 1.1.0 CoDi: Commutative Diagrams for TeX}
 \startmodule[commutative-diagrams]
 \usemodule[tikz]
 \usetikzlibrary[commutative-diagrams]

Modified: trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.bapto.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.bapto.code.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.bapto.code.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 % βάπτω • (báptō)

Modified: trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.code.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.code.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 %==[ dependencies graph ]=======================================================

Modified: trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.diorthono.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.diorthono.code.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.diorthono.code.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 % διορθώνω • (diorthóno)

Modified: trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ektropi.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ektropi.code.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ektropi.code.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 % εκτροπή • (ektropí)

Modified: trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.katharizo.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.katharizo.code.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.katharizo.code.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 % καθαρίζω • (katharízo)
@@ -98,7 +98,8 @@
 \def\kDKatharizoStringify#1\kD{
   \def\kDFoo{#1}
   \edef\kDFoo{\meaning\kDFoo}
-  \def\kDAct##1:->##2\kD{##2}
+  % NOTE: in recent versions of ConTeXt \macro does not output an arrow
+  \ifdefined\contextversion\def\kDAct##1:##2\kD{##2}\else\def\kDAct##1:->##2\kD{##2}\fi
   \edef\kDFoo{\expandafter\kDAct\kDFoo\kD}
   \kDKatharizoStringified\expandafter{\kDFoo}
 }

Modified: trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.koinos.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.koinos.code.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.koinos.code.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 % κοινός • (koinós)

Modified: trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.mandyas.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.mandyas.code.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.mandyas.code.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 % μανδύας • (mandýas)

Modified: trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.mitra.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.mitra.code.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.mitra.code.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 % μήτρα • (mítra)

Modified: trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ozos.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ozos.code.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ozos.code.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 % όζος • (ózos)

Modified: trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ramma.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ramma.code.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.ramma.code.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 % ράμμα • (rámma)

Modified: trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.velos.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.velos.code.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/generic/commutative-diagrams/tikzlibrarycommutative-diagrams.velos.code.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 % βέλος • (vélos)
@@ -23,7 +23,9 @@
   %   and avoid any conflict a priori.
   /velos/install quote handler/.style={
     /handlers/first char syntax=true,
-    /handlers/first char syntax/the character "/.initial=\kDVelosQuoteHandler
+    /handlers/first char syntax/the character "/.initial=\kDVelosQuoteHandler,
+    % NOTE: next line is required by recent versions of ConTeXt
+    /handlers/first char syntax/the character U+0022 'quotation mark'/.initial=\kDVelosQuoteHandler,
     % node quotes mean={node contents={#1}},
     % edge quotes mean={node contents={#1}}
   },

Modified: trunk/Master/texmf-dist/tex/latex/commutative-diagrams/commutative-diagrams.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/commutative-diagrams/commutative-diagrams.sty	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/latex/commutative-diagrams/commutative-diagrams.sty	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,13 +1,13 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 \RequirePackage{tikz}%[2013/12/13] % pgf version 3.0.0 required
-\ProvidesPackage{commutative-diagrams}[2020/06/11 1.0.1 CoDi: Commutative Diagrams for TeX]
+\ProvidesPackage{commutative-diagrams}[2023/08/23 1.1.0 CoDi: Commutative Diagrams for TeX]
 \usetikzlibrary{commutative-diagrams}
 \let\codi\kDRammaOpen
 \let\endcodi\kDRammaShut

Modified: trunk/Master/texmf-dist/tex/latex/commutative-diagrams/kodi.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/commutative-diagrams/kodi.sty	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/latex/commutative-diagrams/kodi.sty	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 \RequirePackage{commutative-diagrams}

Modified: trunk/Master/texmf-dist/tex/plain/commutative-diagrams/commutative-diagrams.tex
===================================================================
--- trunk/Master/texmf-dist/tex/plain/commutative-diagrams/commutative-diagrams.tex	2023-08-24 20:17:14 UTC (rev 68043)
+++ trunk/Master/texmf-dist/tex/plain/commutative-diagrams/commutative-diagrams.tex	2023-08-24 20:17:55 UTC (rev 68044)
@@ -1,9 +1,9 @@
 %
 % CoDi: Commutative Diagrams for TeX
-% Copyright (c) 2015-2020 Paolo Brasolin <paolo.brasolin at gmail.com>
+% Copyright (c) 2015-2023 Paolo Brasolin <paolo.brasolin at gmail.com>
 % SPDX-License-Identifier: MIT
 %
-% This file is part of CoDi 1.0.1, released on 2020/06/11 under MIT license.
+% This file is part of CoDi 1.1.0, released on 2023/08/23 under MIT license.
 %
 
 \input tikz.tex



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