Where to get the offline [doc](https://typst.app/docs/reference/)?

As Typst can work 100% locally,

./typst w tutorial.typ
firefox tutorial.pdf  # f5 to reload

how to read its doc locally, e.g. a reference.pdf?

Currently, there is no offline documentation. You can try scraping the docs site and then run it locally. All the text is from GitHub - typst/typst: A new markup-based typesetting system that is powerful and easy to learn., but the images and stuff are from GitHub - typst/typst-assets: Assets for the Typst compiler..

It’s also not 100% local unless you have all required packages saved.

1 Like

Typst documentation is now available online: Typst-based documentation, including PDF version by laurmaedje · Pull Request #8138 · typst/typst · GitHub

There is seemingly no way to download it offline from the website. You can clone the repo, and compile the docs yourself:

git clone https://github.com/typst/typst.git
cd typst
cargo docit compile --format pdf

The documentation will be located at ./docs/dist/docs.pdf

If you don’t want to compile it yourself, I’ve just done so at Sat Aug 22 (Version 0.15.1): https://drive.google.com/file/d/1jm5nb64XC_IqpIacL4ei-a3oxTiFQKS9/view?usp=sharing

3 Likes

On the Typst documentation page https://typst.app/docs, in the menu list on the left is an entry “Print version” to download it.
Direct link (for v0.15.1): https://github.com/typst/typst/releases/download/v0.15.1/typst-documentation.pdf

3 Likes