Live data from Hacker News

Typst: A Possible LaTeX Replacement

lwn.net

371–380 of 390 posts

Re: Typst: A Possible LaTeX Replacement

#371

I must say I really like the more straightforward syntax, semantics, and distribution model of Typst. LaTeX is akin to programming with the C preprocessor, it's both ridiculous and amazing what people have done with it but it gets quickly intractable. However, I really do enjoy the quality of graphics, diagrammatic, and scientific output from LaTeX, even if typing them is a pain (LLMs are a huge help here). So asking…

You know, this is good fodder for LLM training via Reinforcement Learning with Verifiable Results. Given complex LaTeX source code and complex PDF output, write. Typst document that reproduces the PDF.

Incorporating this into training would be a good way to improve LLM Typst support and also verify that reasoning is working (since there aren’t tons of typst examples to copy from)

Re: Typst: A Possible LaTeX Replacement

#372
With the wisdom from a TU Delft graduate student, I switched from Word to LaTeX in 2007, having never known or used it ever before, and never looked back for the next seventeen years. Using it within the corp. environ. (Shell) became progressively harder as time went by due to the need to install such a large installation (under Cygwin, which itself got on the list of not-allowed, and had to resort to `setup-x86_64.exe --no-admin` for nearly all my subsequent time there).

While I appreciate LaTeX structure, and the resulting end product (Knuth is God), it is as you know highly verbose in markup, thereby making the content somewhat unclean, and not easily readable like plain text (my yardstick on content readability and re-usability). I wrote multiple plug-ins for the text editors of my choice Sublime Text, and Vim to produce snippets for writing ease.

- https://github.com/ckunte/latex-snippets-st

- https://github.com/ckunte/latex-snippets-vim

Switched to Typst cautiously in 2023, and have never since looked back. If LaTeX was the gold standard for the 20th century, I think Typst is on track to become that for the 21st.

I wrote a little note about writing a template for Typst to remind myself how-to, and for anyone I'm working with:

- https://ckunte.net/2025/template

Re: Typst: A Possible LaTeX Replacement

#373
post #291
post #127

Earlier quoted context omitted.

You will be surprised to learn that pandoc uses latex for generating the PDF. It's barely hidden: https://www.pandoc.org/demo/example33/2.4-creating-a-pdf.htm...

I know it ;) But we are talking about how to use something universal. I like pandoc as it is easy to use and… boring.

Your original comment before editing complained about using pdflatex as if it was not part of the pandoc toolchain. It was not about pandoc being universal.

Re: Typst: A Possible LaTeX Replacement

#374

It's night and day. I'm a PhD student currently writing my thesis in Typst. On paper this is an absurdly risky decision: it's a new technology without a huge user-base, it's not totally stable yet, etc. But I tried Typst and I had no choice. It was obviously the right thing to do, even though I'm going to have to make a pixel-perfect clone of my university's LaTeX template. I've been using LaTeX for over ten years an…

I wrote my PhD thesis in Typst last year. I also had to clone my university’s template (available here https://github.com/fdekerme/PhD_template_UPSalcay), but the process was fairly straightforward.

I’d say 99% of the experience was super smooth. It was a great decision, though risky as you mentioned—I started with Typst 0.11 and finished with 0.12. The only painful part (that last 1%) happened at the very end when I realized my university only accepted PDF/A (the archival version—I didn’t even know there were different PDF versions before this). While Typst 0.12 theoretically supports generating PDF/A-2b files, the output failed the university’s compliance test. I ended up (after MANY experimentations) using Adobe Acrobat Pro to convert the file, which caused some minor layout adjustments unfortunately.

Apart from that, I highly recommend Typst. It’s an excellent tool, and I hope academic journals will soon accept submissions in this format.

Re: Typst: A Possible LaTeX Replacement

#375

Typst is a markdown plug-in. It is a productivity tool. It lacks the standalone nature of LaTeX as a language and proper extensibility.

Huh? Other than borowing some of the syntax, Typst is completely unrelated to markdown.

Yes, I meant, markdown syntax. Don't get me wrong, it is a nice project. I like how they adopt Rust.

Re: Typst: A Possible LaTeX Replacement

#376

Typst is a markdown plug-in. It is a productivity tool. It lacks the standalone nature of LaTeX as a language and proper extensibility.

How does a project with a built in package manger and a wide variety of packages lack "proper" extensibility?

Proper as in widely adopted as https://ctan.org. Yes, great to have package manager. Typest is a very young project and company.

Re: Typst: A Possible LaTeX Replacement

#377

Typst is a markdown plug-in. It is a productivity tool. It lacks the standalone nature of LaTeX as a language and proper extensibility.

Huh? Other than borowing some of the syntax, Typst is completely unrelated to markdown.

I had a feeling that it is similar to R markdown https://rmarkdown.rstudio.com R markdown is similar in capacity one can mix R language, but since syntax is Markdown they kept the name.

Re: Typst: A Possible LaTeX Replacement

#378
LaTeX is a wonderful tool.

The only real complication comes from the multiple packages (a novice doesn't know what are the standards), and from the big installation, it's really frustrating, it is something from 40 years ago.

I use http://www.overleaf.com, which works nicely, although the size of each tex is limited by the compile time.

Post reply on HN