u/deuszel

Typst to PowerPoint workflow for math formulas
▲ 11 r/typst

Typst to PowerPoint workflow for math formulas

I’m trying to settle on a sane workflow for getting high‑quality math formulas from Typst into PowerPoint. The end goal is not just to paste equations as images, but to have them as SVG so I can ungroup them in PowerPoint and animate individual parts of the formula (terms, brackets, etc.).

I know about pptypst and it looks close to ideal for this use case. Unfortunately, I’m on a university‑managed installation of PowerPoint where I cannot change the Trust Center Settings.

Right now I’m doing the following instead. I write each formula in a Typst file, using proper Typst math syntax, for example:

#set page(width: auto, height: auto, margin: 0pt)

$ integral_0^infinity exp(-x^2) dif x = sqrt(pi) / 2 $

Then I compile it on the command line with:

typst compile equation.typ equation.svg --format svg

I take the resulting SVG into PowerPoint, insert it as a picture and then use “Group → Ungroup” so PowerPoint converts it into shapes. After that, I can animate or recolor individual parts of the equation as needed.

Given the constraints above, I’m wondering if this is essentially the best we can do at the moment, or if I’m overlooking a cleaner approach? Since pptypst isn’t an option for me, I’m particularly looking for workflows that end in a plain SVG file I can just drop into PowerPoint.

If anyone here is already using Typst for equations in PowerPoint or Keynote and has a workflow they’re happy with, I’d really appreciate hearing how you’re doing it.

u/deuszel — 6 days ago
▲ 3 r/typst

Zed/Tinymist creates [file_name].typ.pdf instead of [file_name].pdf on Windows

Hi, I am using Zed on Windows 11 with the Typst extension + Tinymist, but I have very annoying problem with the file naming.

My config has:

"exportPdf": "onSave",
"outputPath": "$root/$name"

But saving [file_name].typ still creates [file_name].typ.pdf instead of [file_name].pdf.

I already tried restarting Zed and reinstalling the typst extension. According to the examples/docs I found, "$root/$name" seems like it should give test.pdf, so I am wondering whether this is a bug or some Windows/Zed-specific behavior.

Has anyone here seen this before in Zed or on Windows?

reddit.com
u/deuszel — 11 days ago