> However, much of mathematical notation (a lot of diagrams (category > theory), for example) can be reasonably well rendered as ASCII art. > The only problem is that it might be to tedious to manually set so I > was wondering - is there some TikZ-to-ASCII or at lease > diagram-to-ASCII script? Previously on the mailing list someone mentioned aamath[a] to render formulae: A_OPR = x*sqrt(x^2-1)/2 - int(sqrt(t^2-1), t = 1 .. x) will turn into: x ______ / / 2 | ______ x \/ x - 1 | / 2 A = ----------- - | \/ t - 1 dt OPR 2 | | / 1 For diagrams, I'm sure if you could convert it to dot language[b] (more common than one might think, lots of software supports it) then it'd be trivial to convert it to ascii, here's a utility I found after a quick search: https://github.com/ggerganov/dot-to-ascii a: http://fuse.superglue.se/aamath/ b: https://www.graphviz.org/doc/info/lang.html ~nytpu -- Alex // nytpu alex at nytpu.com GPG Key: https://www.nytpu.com/files/pubkey.asc Key fingerprint: 43A5 890C EE85 EA1F 8C88 9492 ECCD C07B 337B 8F5B https://useplaintext.email/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210217/3f36 870b/attachment.sig>
---
Previous in thread (9 of 13): 🗣️ filip (a) tilde.club (filip (a) tilde.club)
Next in thread (11 of 13): 🗣️ filip (a) tilde.club (filip (a) tilde.club)