I was on the typst train, particularly because its layout engine has some additional vertical control for long documents that latex lacks. However, just about when I was looking at moving over, LLM coding became good or at least good enough, and one area the current crop is bad at is doing layout in anything but latex. Not that they are good at latex, but they are terrible, terrible, terrible at typst. Really bad. Ma…
> and one area the current crop is bad at is doing layout in anything but latex. Not that they are good at latex, but they are terrible, terrible, terrible at typst I'm surprised to hear that—I've been using GitHub Copilot with ConTeXt [0] since 2021, and it mostly works fairly well. And ConTeXt is much more obscure than Typst (but also much older, so maybe that gives it an advantage?). [0] https://wiki.contextgarden…
I want a flowed book layout (so we have a facing page with inner and outer margins.)
I am rendering chats in the main part of the page. Chats alternate left and right alignment so it looks a bit like a text conversation. For each chat I want to put metadata (reactions, sender, time) on the margin it is aligned to.
So For a left chat, on a left page, I want to use the left (outside) margin. A left chat right hand page the inside margin.
Two things I could not get sorted: first, perfect vertical alignment between the chat and metadata, ( I think this is possible but difficult) and a persnickety bug where the first chat on each page chooses the last page’s proper margin side.
Happy to pay for an answer - I did try to hire a typesetter for this as well.