Is Asymptote integration for Typst exist or even possible?

Asymptote’s syntax is C-like (just like Typst scripting part) and looks pretty well (at least not like LaTeX or PGF/TikZ). Maybe LaTeX is feels a little bit outdated but Asymptote is not aged that bad. Also I heard that “it’s bad to just throw into garbage all packages” and this package is one I will feel sorry about.

First search result: Suggestion: integrate with Typst? · Issue #453 · vectorgraphics/asymptote · GitHub

1 Like

I already seen it but thanks. Also wanted to read here peoples view on topic in general.

That’s alright, but as a general rule, when starting a discussion about a non-Typst tool, you should shortly describe what that tool even is. That would greatly increase the chances of the discussion being fruitful.

Also, is this more a support request or just an exchange of opinions? If the latter, could you move this to General?

1 Like

My bad. You’re right. Ok moved to General. So for those who don’t know (and I sure it’s minority of people who will ever read it) Asymptote is a cool language with nice C-like syntax for describing vector graphics which is incredibly useful for math (and whatever) illustrations. The Asymptote is written in C/C++ so it’s not so dependent on TeX/LaTeX but integrated instead like a module. In LaTeX world Asymptote and PGF/TikZ are two major systems for making nice programmable vector illustrations. But PGF/TikZ is written in pure TeX which makes it impossible to be available in Typst. And that’s why CeTZ was created.

So transition are like that:
LaTeX → Typst
PGF/TikZ → CeTZ
Asymptote → Nothing =(

But it’s maybe possible make Asymptote be available in Typst because it’s probably (I’m not sure) not so dependent on LaTeX/TeX

1 Like

I wouldn’t say impossible, see here. But currently impractical :slight_smile:

1 Like