quiver icon indicating copy to clipboard operation
quiver copied to clipboard

Support for export to Typst

Open shashankbangalore opened this issue 1 year ago • 4 comments

Would it be possible to use this library

https://github.com/johannes-wolf/typst-canvas

to provide an option for exporting diagrams to Typst? It claims to have a similar API to TikZ.

shashankbangalore avatar Sep 18 '23 02:09 shashankbangalore

There also is this package for Typst https://gitlab.com/giacomogallina/commute

shashankbangalore avatar Sep 18 '23 02:09 shashankbangalore

It's unlikely I personally would have time to work on this, but I would consider adding support if someone else volunteered to implement the feature.

varkor avatar Sep 26 '23 17:09 varkor

This feature was also requested by @kokic in https://github.com/varkor/quiver/issues/209; I am moving that discussion here.

varkor avatar Feb 18 '24 11:02 varkor

I just got some basic Typst exporting support in my fork, but it's pretty limited atm (no support for >= 2-cells, labels have to be written in Typst, some arrow heads and tails are unavailable).

Once the support is more stable I will make a PR I think.

btmxh avatar Mar 17 '24 05:03 btmxh