Some month ago, I managed to follow the guides on generating scheme graphics by putting the code into a Scheme session in TeXmacs, but the following code no longer gives me any output:
(define pi (acos -1))
(define (pt x y)
'(point ,(number->string x) ,(number->string y)))
(define pA (pt -2 0))
(define pB (pt 2 0))
(define pC (pt xC yC))
(stree->tree
'(with "gr-geometry"
(tuple "geometry" "400px" "300px" "center")
(graphics
(with "color" "red" (cline ,pA ,pB ,pC)))))
Anyway, https://texmacs.github.io/notes/docs/modular-scheme-graphics.html says
we also plan to write a post on how to generate Scheme graphics with external files.
This would help me a lot, but I’m afraid no one has found time for this so far.
It would be great if someone could quickly sketch the necessary steps here.