edemaine / svgtiler

Tool for drawing diagrams on a grid, combining grids of SVGs into a big SVG figure
MIT License
58 stars 6 forks source link

TikZ export #63

Open diomidov opened 3 years ago

diomidov commented 3 years ago

We could use svg2tikz to export figures as TikZ.

edemaine commented 3 years ago

Interesting! I doubt it would work as-is given that svg2tikz claims not to support groups, nor does it support <symbol>s (https://github.com/xyz2tex/svg2tikz/issues/26), which are the basis for SVG Tiler. So could either apply it to each symbol and build a TeX-based expander, or implement <symbol> support in svg2tikz.