Expand description
Typst-kit contains various default implementations of functionality used in typst-cli. It is intended as a single source of truth for things like font searching, package downloads and more. Each component of typst-kit is optional, but enabled by default.
§Components
- fonts contains a default implementation for searching local and system
installed fonts. It is enabled by the
fontsfeature flag, additionally theembed-fontsfeature can be used to embed the Typst default fonts.- For text: Libertinus Serif, New Computer Modern
- For math: New Computer Modern Math
- For code: Deja Vu Sans Mono
- download contains functionality for making simple web requests with
status reporting, useful for downloading packages from package registries.
It is enabled by the
downloadsfeature flag, additionally thevendor-opensslcan be used on operating systems other than macOS and Windows to vendor OpenSSL when building. - package contains package storage and downloading functionality based on
download. It is enabled by the
packagesfeature flag and implies thedownloadsfeature flag.
Modules§
- download
- Helpers for making various web requests with status reporting. These are primarily used for communicating with package registries.
- fonts
- Default implementation for searching local and system installed fonts as well as loading embedded default fonts.
- package
- Download and unpack packages and package indices.