LLMs are unable to write Typst
Typst is a new typesetting language. I assume that your system prompt says something about LaTeX/MathJAX because the models give me LaTeX math equations inside my Typst document which is syntactically wrong, and it won’t compile.
I saw GPT-5 mini in its thinking and was conflicted about that. It said that the system prompt wanted LaTeX syntax for math while I told it that LaTeX syntax is absolutely forbidden. Is this in the T3 Chat system prompt, or is this coming from OpenAI?
Can you do something about this?
Log in to comment and vote
Comments3
Mark Florkowski
This is part of our system prompt, it has been adjusted to be a bit less aggressive now.
Blue Macaroni
I still can’t get gemini to properly output typst math
Mark Florkowski
You can try adding more explicit instructions about Typst formatting in either your promot or on https://t3.chat/settings/customization.