For everyone who is using LaTeX and hasn't tried yet, give it a try. It is actually surprisingly featurefull and surpasses LaTeX in usability by a huge margin.
Pandoc is a ridiculously underrated and powerful tool but it solves a different problem. Someone still has to write typesetters ;)
Typst is a way to define a document. Headers, paragraphs, figures, equations, tables, etc. it is a direct competitor to LaTeX and maybe in some ways similar to Word, which provides a GUI for an XML defined document.
Pandoc is a converter, which given a document in one document description language outputs a document in another document description language.
What is exciting about Typst HTML support is that its goal is that it has first class support for both PDF and HTMl, which is obviously preferable to something like pandoc, which always has to rely on an intermediate representation of the document, before a conversion can happen.
It's a great format to use for editing, since it converts so well to all the other formats (including Typst?).
Which is bad if you want a complex document, since the intermediate representation of pandoc can not represent all typst features.
Also, I do not understand what your argument is. Pandoc and typst are not competing, they are different pieces of software with different goals. Pandocs markdown is also not competing with typst, since they are completely different ways to define a document. Typst is vastly more complex, it even includes its own scripting language. Pandoc also doesn't output PDF, except by calling some external tool, which then compiles a pandoc output format to HTML. It is fundamentally different to typst.
You just need one (large) executable to do everything, whereas with PanDoc you (by default) need to have LaTeX installed if you want to generate PDFs
If you are creating more complex documents, the advantages become more pronounced. Styling in Pandoc means modifying templates, at which point you’re just writing LaTeX, and styling in Typst is much nicer than in LaTeX. You can also hit the limits of Pandoc templates quite easily, at which point you have to write Lua filters. I have found those to be quite cumbersome, and now your document logic is spread out over the Markdown source file, the LaTeX template, and the Lua filters. In Typst you can have a single file with your whole document in a clean modern format, and you can decide for yourself how much you want to separate content and presentation.
- 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 poster and some minor text documents. And I've been very happy the results. I know that a lot of people love using LaTeX for that kind of thing, and with good reasons, but I always forgot most of the details between my (occasional) use of LaTeX, while I've found Typst to be very easy to return to
I love, and hate, LaTeX and the idea of a LaTeX successor / alternative is incredibly appealing.
And the fact that they are aware that microtypography IS important and that they are working on it is a huge huge plus.
Wow! That must’ve been quite an effort.
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 the source file. Because I don't bear using GUI tools. And now life is easier that LLM can help you with complex tikz generation.
3. Not that it is actually a point but I am used now to overleaf and I have professional account as CERN member. It is also better on collaboration level and features than typst cloud.
I hope that one day typst will grow into this direction so that I can stop using LaTeX. Until then I have couple of overleaf templates generated for my use.
1) I have been using typst to create slides with some success. Adding special features tends to be simpler than in beamer.
2) cetz (https://github.com/cetz-package/cetz) works quite well and is comparable to tikz in complexity and capability. of course, there is more support for tikz, but it is bound to improve over time.
This looks like a great release. Lossless embedding of PDFs seems like it would be useful in many scenarios. I'm surprised with how much better the character-level justified text actually looks. And I wasn't even aware that it supported exporting HTML. Typst—both the tool and the language—are more robust and enjoyable to use IME than something like Markdown, Pandoc, Org mode, and other formats. I'll definitely consider using it for my next web project.
My only concern is backwards compatibility. How committed is the team to supporting older syntax? What will happen in a year or two from now when I have to generate a PDF from a .typ file written with version 0.13? They mention deprecations in v0.14, so I assume that I should expect breaking issues. I suppose only time will tell how difficult upgrading will be in the future.
This was a big problem for me when using LaTeX, which is why I maintained a TeX Live Docker image with the exact version and dependencies I needed. Upgrading it was always a nerve-racking ordeal. Since Typst is a single binary, this should at least be easier to manage.
This sounds great. Are accessible PDFs possible with LaTeX? Last time I looked, it wasn't a standard feature and there didn't seem to be any easy workaround which is a real problem when there's a requirement to produce accessible PDFs.
fsh•1h ago