r/typst

Velyst: Rendering Typst in realtime (Bevy + Imaging + Vello)
▲ 287 r/typst+2 crossposts

Velyst: Rendering Typst in realtime (Bevy + Imaging + Vello)

Link: https://github.com/voxell-tech/velyst

Hey Reddit folks, I’ve been experimenting with real-time Typst rendering inside Bevy using Vello. The idea is to treat Typst as something more like a reactive, interactive 2d vector scene.

One interesting aspect is that Typst functions can be evaluated and rendered dynamically, which opens up possibilities for dashboards, data visualization, motion graphics (sth I’m heavily targeting, similar to manim), UIs

I’m working hard towards making the scene queryable/modifiable (esp for animations). Curious what the Typst community thinks. What use cases would you want from “live Typst”?

Any feedback is welcomed! Especially around architecture or use cases I might be missing.

u/nixon-voxell — 4 days ago
▲ 23 r/typst

Using Typst for Resume editing using natural language - WebApp - Appreciation Post

I was earlier using LateX but compiling LateX for realtime rendering was taking time and package was large.

Typst worked beautifully!

reddit.com
u/akshay2910 — 2 days ago
▲ 0 r/typst

Fed up with Tinymist crashing, alternatives?

I use Neovim as editor, are there alternatives to Tinymist?

Always the same shit: after a couple of new lines added to my typ.file, Tinymist starts failing (and not always easy to notice at first). Rapid compilation? No compilation whatsoever with Tinymist. I'm so fed up with this stuff. (chomosuke) Typst preview gets very slow rapidly (and crashes a lot too), so that does not help. Typst webapp is great, but I need my snippets, as I'm really bad at typing.

I'm content with formatting alone .

reddit.com
u/RutabagaPretend6933 — 5 days ago
▲ 81 r/typst

So thankful I found Typst!

I just can't stop looking at what i made using typst. I can't explain the feeling of being liberated from the painful world of latex.

I want you all to have a look at what I made.

I had been struggling with Latex for a long time, couldn't find a proper documentation, steep learning curve, weird syntax that makes me hit \ so many times.

It wasn't just working out at all. It all changed after I found Typst. Although it took me a couple days to get used to typst, it was worth it.

u/mantej01 — 9 days ago
▲ 36 r/typst

I just tried typst and im very confused, please tell this is gonna be worth it 😵‍💫😵‍💫

u/blatantia — 10 days ago
▲ 23 r/typst

https://preview.redd.it/hz0ra6krnryg1.png?width=1366&format=png&auto=webp&s=d1fb553fa6b3f36e0815a4a1d45c023957b7f31d

https://preview.redd.it/2o7cqpnwnryg1.png?width=1355&format=png&auto=webp&s=f36caa87d645586f4c85bc6cc2a19c0b9b873513

https://preview.redd.it/rcjnc320oryg1.png?width=1366&format=png&auto=webp&s=c9b7504b9331eee08e03016938239e56e816e305

https://preview.redd.it/a0gto6g4oryg1.png?width=1366&format=png&auto=webp&s=27b266db65ff154c36dc5a90eebc0c430e694617

https://preview.redd.it/2o7cqpnwnryg1.png?width=1355&format=png&auto=webp&s=f36caa87d645586f4c85bc6cc2a19c0b9b873513

https://preview.redd.it/hz0ra6krnryg1.png?width=1366&format=png&auto=webp&s=d1fb553fa6b3f36e0815a4a1d45c023957b7f31d

Yes another one of those but I built an editor for Typst.
As much as I love the web app, I don't always have internet access, and I also prefer working with the files on my pc but the code editor experience compared to the web app isn't great imo.
I tried to bring all the features from the web app that are needed for local file editing such as:

  • syntax highlighting
  • adjusting preview and cursor positions on preview page click
  • nested code syntax highlighting
  • presenter mode for previewed items
  • export document as PNG, SVG and PDF with all the configurations for each format

The editing experience is almost as smooth as the web version, the preview updates instantly as you type.

checkout the github repo, you can also download it from here.

PS: About 90% of the code was written by AI (can guarantee it's not slop though). Although Linux and macos versions exists they are completely untested, I'll appreciate feedback regarding your experience using it on those platforms

reddit.com
u/SnooChipmunks401 — 11 days ago
▲ 14 r/typst

Hi Community,

I've been interested in Typst for a while and occasionally browse through the release notes

The reason that I have never taken the plunge is due to the web only strategy

Is this just temporary, and will a full desktop app for local first note-taking ever appear?

Thanks

reddit.com
u/GroggInTheCosmos — 9 days ago
▲ 65 r/typst

When I use their web app, I can smoothly scroll and zoom in and out the document preview. But when I use the tinymist extension in VS code, it gets so slow. scrolling and zooming feels so laggy. And also when the preview is on the keystrokes get reflecting slower than usual.

So does anyone know what their secret is? I might try to create an Typst ide myself as a project, unless there is already a good one out there (for linux)

reddit.com
u/EqualTumbleweed512 — 14 days ago
▲ 46 r/typst+1 crossposts

Here you go:

#let r(path) = read(".git/" + path, encoding: none)
#raw(str(git.blob.read(r, "refs/heads/master", "README.md")), lang: "markdown")
#raw(str(git.blob.read(r, "7c31205a6a52e602c101c14a94dc89b78da5c138", "README.md")), lang: "markdown")

I'm sure you get the idea.

I've been thinking about it for a little while, and I've come up with this package (Permagit).

Anyway. It uses Git Objects under the hood and some WASM (compiled from rust). Please go check it out and give me feedback.

u/Skeletony_007 — 13 days ago
▲ 10 r/typst

I am starting up spring courses and I decided I want to start using typst again to take notes for my classes. I used to take notes by essentially converting a static site generator into a pdf library for me, but ideally I would like a better solution than that, where all my notes are way easier to navigate and linked together (like obsidian but for typst moreso).

I need some inspiration from how others do it, specifically with things like making diagrams in notes and making typing them more efficient. I went from obsidian to pure markdown to latex to typst and to written notes and none of it worked the way I needed it to work. Obsidian by far was the closest to what I wanted, specifically with the fact I could easily view my notes on my phone, but ideally I find something that lets me write things in typst and view them simply and easily.

reddit.com
u/nerdy_guy420 — 9 days ago
▲ 9 r/typst

Busco Freelancer experto en Typst para desarrollar ebook técnico (+500 páginas con matemáticas, química y física)

Hola a todos 👋

Estoy buscando un freelancer con experiencia en Typst para desarrollar un ebook técnico de gran tamaño (más de 500 páginas).

El proyecto incluye contenido académico con una gran cantidad de:

  • Ecuaciones matemáticas
  • Fórmulas químicas
  • Expresiones de física
  • Diagramas y contenido educativo técnico

Busco a alguien que:

  • Ya haya trabajado con Typst o sistemas similares tipo LaTeX
  • Tenga experiencia maquetando contenido académico/científico
  • Sepa crear documentos limpios, modernos y bien estructurados
  • Pueda optimizar estilos, índices, referencias y consistencia visual

Idealmente me gustaría ver ejemplos de trabajos previos o portfolios relacionados con documentación técnica, libros académicos o material educativo.

Si tienes experiencia o conoces a alguien que pueda ayudarme, mándame DM

u/ImpossibleTravel5786 — 6 days ago
▲ 17 r/typst

I am looking for typesetting recommendations. I am writing a book, using Typst, that contains code from more than one programming language. In several places, it is useful to show the intermediate outputs that you would see on a REPL.

I like how Codly looks, but it doesn't have any support (that I know of) for formatting outputs from your code.

Here are some examples, in case I'm being unclear. IPython looks like this:

In [1]: data = {'Bob': 5, 'Sue': 7,
   ...: 'Tim': None}

In [2]: [data.get(x) for x in ['Bob', 'Sue', 'Tim', 'Hank']]
Out[2]: [5, 7, None, None]

Mathematica looks similar:

In[1]:= x := {10, 85, 50, 7, 52, 24, 56, 55, 2, 28}

In[2]:= Minimize[Total[(x - mu)^2], mu]

         64869         369
Out[2]= {-----, {mu -> ---}}
          10           10

JavaScript (in the Firefox console) uses a doubled >> with no numbering:

>> 5 + '5'
"55"
>> 5 * '5'
25 

R similarly uses a single >:

> integrate(dnorm, -1, 1)
0.6826895 with absolute error < 7.6e-15
> integrate(dnorm, -Inf, +Inf)
1 with absolute error < 9.4e-05

I have not found much discussion of formatting REPL inputs and outputs on the Internet. This old Stack Overflow post shows a simple format that is similar to R but with inputs bolded. I like it, but I foresee some complexities:

  • Lots of my inputs have multiple lines. IPython indents nicely with ....
  • Mathematica's vertical centering is a nice touch for multi-line outputs.
  • The reason I was using Codly was it has nice syntax highlighting, which can be useful to the reader.
  • REPL numbering helps me refer to specific inputs in the prose, especially if I can continue numbering in a later code block, but Codly has some weird issues with offset-from.

Any recommendations?

u/wjholden — 12 days ago