On Mon, 25 Nov 2024, Hans Hagen wrote:
On 11/25/2024 4:07 PM, Aditya Mahajan wrote:
What is the best way to go about this? I can try to ask the
i assume youy send me a patch(ed file)
We need to add the following at the end of m-tikz.mkxl (I am no longer testing tikz for MkIV, so no patch for that). \startsetups tikz:hacks:tikzcd \permanent\protected\def\starttikzcd% {\starttikzinput \hcontainer\bgroup \tikzcd} \permanent\protected\def\stoptikzcd {\endtikzcd \egroup \stoptikzinput} \stopsetups \installtikzlibraryhacks{cd}{}{\directsetup{tikz:hacks:tikzcd}} A patched file is also attached. Then the following code works fine: \usemodule[tikz] \usetikzlibrary[cd] \starttext \startformula \starttikzcd x \arrow[d] \NC A \arrow[d] \NC D \NR y \NC B \NC D \NR \stoptikzcd \stopformula \stoptext I also wanted to add tikzcd to mtx-install-imp-tikz, but a TDS zip is not available at https://ctan.org/tex-archive/graphics/pgf/contrib/tikz-cd. I will check why that is not the case later, and if a CTAN TDS is available, send a patch to include it in install-imp-tikz. Aditya