How to render a conversation like in some messaging app

I’m seeking for some ways to display simulated dialogue

ourchat – Typst Universe is a choice. You can find examples here:

Note that the current published version (0.2.1) is problematic due to an undocumented behavior of the official typst package bundler. Please refer to SVG assets missing from package distribution - causing "File not found" errors · Issue #3 · QuadnucYard/ourchat-typ · GitHub for the workaround.

Edit: I got in touch with the author. We have fixed this issue and he/she plans to release a new version in a day.

3 Likes

This question is really incomplete. I interpret it as asking “how can I generate text that simulates a conversation between two people?” My first thought is to use the lorem() function for generating any text that you don’t actually care about the content.

Maybe you could ask an LLM to generate a simulated conversation then import that into your Typst document. Or run two separate chat bots that talk to each other.
You could extract text out of this forum, then not only do you have a conversation but it is even Typst related! (check the licensing of the forum first though).


Oh, Y.D.X is probably correct and you want to display a conversation in a way that simulates a messaging app.

3 Likes

Last time I checked there was messeji – Typst Universe, it also has reactions, but less built-in themes, probably.

Even better: prompt to format it in JSON or whatever, so that it’s completely painless to use with existing packages.

1 Like