Live data from Hacker News

Typst 0.14

typst.app

41–50 of 171 posts

Re: Typst 0.14

#41

There's usually some confusion about this, so to clarify in advance: - The Typst online editor is proprietary: https://typst.app - The Typst compiler/CLI is open source: https://github.com/typst/typst I hear that the online editor is quite good, but personally I've only ever used the CLI. I originally picked up Typst as yet another replacement for PowerPoint (replacing my use of Marp), but have since used it for a po…

I used LaTeX for decades and had convinced myself nothing could ever replace it. Just this month, however, I converted to Typst for a large project. Absolutely no regrets: undying respect to the great Knuth, but the experience with Typst is already simply better on almost every axis. I use TinyMist with vscode and the development experience is terrific. I was modifying templates within a day of picking it up, which—-…

Speaking of skill, learning a new language is always daunting, but I found that LLMs do a pretty good job of generating Typst code. I relied on that a lot for generating snippets of code, and learning about the language, which would've taken me more time otherwise. Although the Typst docs are pretty good, regardless.

Re: Typst 0.14

#42
post #22

Earlier quoted context omitted.

Indeed... I wonder to what extent the author of hayro did this work specifically for Typst or if they would have done it anyway.

Author here! Resolving one of the most-requested Typst features was definitely a big motivation for me, but I wouldn't say this was the only reason. I've done a lot of previous work on PDF (see e.g. the krilla library, although also mostly in the context of Typst), so I was already pretty familiar with how PDF works. In addition to that, I also just finished writing my master's thesis about 2D rendering (also in Rust…

Would it be feasible, with hayro-interpret and krilla, to take an existing PDF and round-trip each of the pages while wrapping the contents in marked content spans and adding tags, to remediate the accessibility of an existing PDF? Round-tripping each of the page content streams through a full-featured PDF interpreter seems cleaner than trying to edit in-place. PDFium can round-trip the content streams and add the marked content spans, but can't do the tagging. What do you think?

Re: Typst 0.14

#43
post #22

Earlier quoted context omitted.

Indeed... I wonder to what extent the author of hayro did this work specifically for Typst or if they would have done it anyway.

Author here! Resolving one of the most-requested Typst features was definitely a big motivation for me, but I wouldn't say this was the only reason. I've done a lot of previous work on PDF (see e.g. the krilla library, although also mostly in the context of Typst), so I was already pretty familiar with how PDF works. In addition to that, I also just finished writing my master's thesis about 2D rendering (also in Rust…

Thanks for sharing the background. It's impressive work. Makes me curious about your thesis... Is it publicly available?

Re: Typst 0.14

#44
post #23

The killer features of LaTeX that does not let me go with typst (Although I like my typst generated resume) as an academic are. 1. Beamer, I create multiple slide decks per week and the out of the box setup that beamer provides with different styles and fonts for different needs are unmatched. The efforts to generate some of this on typst is not there yet. 2. Generating figures using tikz and be able to modify it on…

If you make a lot of slides with latex, then it is definitely worth it to try typst. I have a lot of presentations in latex for lectures and such things, with many animated tikz figures. But the compilation times are huge. At some point it is very time consuming to iterate. With typst, it compiles so fast that you don't have to fear to start a compilation. I finish my presentations much faster now.

Cetz has been working very good for me. I was really unsure that it could replace tikz for my applications. But apparently, as long as you have good geometrical primitives (lines, rectangle, circles, etc) you can do a lot. Also it is much nicer to program and make real functions with typst. It is true, the typst options to replace beamer are still not quite there in comparison, but they are definitely in a very useful state. See for example typst-presentate [1].

[1] https://github.com/pacaunt/typst-presentate

Re: Typst 0.14

#45
post #33

There's usually some confusion about this, so to clarify in advance: - The Typst online editor is proprietary: https://typst.app - The Typst compiler/CLI is open source: https://github.com/typst/typst I hear that the online editor is quite good, but personally I've only ever used the CLI. I originally picked up Typst as yet another replacement for PowerPoint (replacing my use of Marp), but have since used it for a po…

This is a great example of the open core model done right. Have a fully-featured F/LOSS product, and build value-add commercial products and services on top of it. I've also only used the CLI tool, and didn't miss any features from it. The commercial product was never pushed or promoted to me. I personally have no need for it, and I'm only vaguely aware that it exists. But I'm sure that people who do need the friendl…

It’s a great example how many open source projects start … until they change.

Re: Typst 0.14

#46
post #43

Earlier quoted context omitted.

Author here! Resolving one of the most-requested Typst features was definitely a big motivation for me, but I wouldn't say this was the only reason. I've done a lot of previous work on PDF (see e.g. the krilla library, although also mostly in the context of Typst), so I was already pretty familiar with how PDF works. In addition to that, I also just finished writing my master's thesis about 2D rendering (also in Rust…

Thanks for sharing the background. It's impressive work. Makes me curious about your thesis... Is it publicly available?

Not yet, but it should hopefully be graded in 1-2 weeks and then I can share it!

Re: Typst 0.14

#47

Earlier quoted context omitted.

Author here! Resolving one of the most-requested Typst features was definitely a big motivation for me, but I wouldn't say this was the only reason. I've done a lot of previous work on PDF (see e.g. the krilla library, although also mostly in the context of Typst), so I was already pretty familiar with how PDF works. In addition to that, I also just finished writing my master's thesis about 2D rendering (also in Rust…

Would it be feasible, with hayro-interpret and krilla, to take an existing PDF and round-trip each of the pages while wrapping the contents in marked content spans and adding tags, to remediate the accessibility of an existing PDF? Round-tripping each of the page content streams through a full-featured PDF interpreter seems cleaner than trying to edit in-place. PDFium can round-trip the content streams and add the ma…

Yeah, this is definitely a goal for the future. But there is still quite a bit of work needed in both libraries to make this possible.

Re: Typst 0.14

#48

Kinda wonder how accessible the online editor is? I should try it, see if VS Code is a linter or something for it, although there is the compiler.

I found the online editor really easy to use, but it doesn't expose all of the functionality in GUI, you'll need to read docs.

Re: Typst 0.14

#49

> To make sure you got everything right, you can enable the new PDF/UA-1 export. PDF/UA is an international standard that helps to create universally accessible PDF files. When it is enabled, Typst will run additional checks against your document to find accessibility issues and optimize for accessibility rather than compatibility. It will find issues such as missing document titles, wrong heading hierarchies, and mi…

LaTeX has made great progress on this front in the past years and results are now available in TeX Live 2025. Compared to Typst, on one hand the tagging is still opt-in [1]. On the other hand, LaTeX already targets PDF/UA-2 including automatic tagging for math formulas, while Typst currently targets PDF/UA-1, so you have to tag the math formulas manually, like an image. This is evolving fast though: yesterday a draft PR for Typst was opened[2] to add support for MathML Core, which I guess is a big step towards automatic tagging of math since the math tags in PDF/UA-2 are based on MathML.

Another thing to consider is compatibility of third-party packages: LaTeX packages often require adjustements and many important packages work now but many still don't work, including some big ones like Beamer and tufte-book [3]. I think Typst packages should require fewer adjustments, thanks to the way "show rules" work: a package (or the user) can write a show rule to transform an element for rendering, but Typst automatically retains the semantic meaning of the original element.

[1] https://latex3.github.io/tagging-project/documentation/usage...

[2] https://github.com/typst/typst/pull/7206

[3] https://latex3.github.io/tagging-project/tagging-status/

Re: Typst 0.14

#50

There's usually some confusion about this, so to clarify in advance: - The Typst online editor is proprietary: https://typst.app - The Typst compiler/CLI is open source: https://github.com/typst/typst I hear that the online editor is quite good, but personally I've only ever used the CLI. I originally picked up Typst as yet another replacement for PowerPoint (replacing my use of Marp), but have since used it for a po…

I used LaTeX for decades and had convinced myself nothing could ever replace it. Just this month, however, I converted to Typst for a large project. Absolutely no regrets: undying respect to the great Knuth, but the experience with Typst is already simply better on almost every axis. I use TinyMist with vscode and the development experience is terrific. I was modifying templates within a day of picking it up, which—-…

100% agree. With tex it feels like when you use a package or template, you're stuck with every choice it made because changing it yourself is just too daunting. With Typst I feel confident that I can go in and muck with whatever I don't like. It's a really refreshing feeling.
Post reply on HN