tikz-cd icon indicating copy to clipboard operation
tikz-cd copied to clipboard

incompatibility with the tikz library `external`

Open jonas-frey opened this issue 2 years ago • 2 comments
trafficstars

Is there a reason that tikz-cd is incompatible with the tikz library external? I think it would be really helpful if one could buffer compiled diagrams to improve recompilation times, similar to xypic's \CompileMatrices.

jonas-frey avatar Aug 24 '23 22:08 jonas-frey

I guess the reason is exactly the one explained in first answer to the stackexchange question. Perhaps in the 9 years since it was written, a better solution to this issue is available. I haven't tried.

Probably the most/only reasonable solution would be to extend the externalization library to allow custom environment names. It seems that the search for \begin{tikzpicture} ... \end{tikzpicture} is hard-coded.

astoff avatar Aug 25 '23 14:08 astoff