varkor / quiver

A modern commutative diagram editor for the web.
https://q.uiver.app
MIT License
2.43k stars 83 forks source link

Import tikzpicture? #208

Closed ouboub closed 9 months ago

ouboub commented 9 months ago

Hi

I have a file, that generates a very simple control block, using tikzpicture, I attach a screenshot and the tex file. Is there anyway to import it to quiver. If not, how could I generate that sum symbol which is used very often in the context of control blocks? thanks

Uwe Brauer minimal-example.txt tikzpicture

varkor commented 9 months ago

If you simply want to display an image in quiver, you can use \includegraphics together with a URL to the image. If you want to use \tikzpicture so that it renders correctly when you export to LaTeX, unfortunately it's not possible to render \tikzpicture inside quiver, since KaTeX does not support it (https://github.com/KaTeX/KaTeX/issues/219).

ouboub commented 9 months ago

If you simply want to display an image in quiver, you can use \includegraphics together with a URL to the image. If you want to use \tikzpicture so that it renders correctly when you export to LaTeX, unfortunately it's not possible to render \tikzpicture inside quiver, since KaTeX does not support it (KaTeX/KaTeX#219).

thanks I know how to produce the yellow rectangle in quiver, but the red crossed circle? is there any possibility that is supported by KaTeX?

varkor commented 9 months ago

Unless you have the red circle as an image, unfortunately I don't know how you would draw it in the subset of LaTeX that KaTeX supports.