Hadn't seen curryst. Looking at the examples it looks ok. Maybe I should have used that and stuck with Typst.