Expand description
Typst’s standard library.
This crate also contains all of the compiler’s central type definitions as these are interwoven with the standard library types.
In contrast to the types, most of the compilation behaviour is split out
into separate crates (typst-eval
, typst-realize
, typst-layout
, etc.)
Note that, unless you are working on the compiler itself, you will rarely
need to interact with this crate, as it is fully reexported by the typst
crate.
Modules§
- diag
- Diagnostics.
- engine
- Definition of the central compilation context.
- foundations
- Foundational types and functions.
- html
- HTML output.
- introspection
- Interaction between document parts.
- layout
- Composable layouts.
- loading
- Data loading.
- math
- Mathematical formulas.
- model
- Structuring elements that define the document model.
- PDF-specific functionality.
- routines
- symbols
- Modifiable symbols.
- text
- Text handling.
- visualize
- Drawing and visualization.
Structs§
- Features
- A selection of in-development features that should be enabled.
- Library
- Definition of Typst’s standard library.
- Library
Builder - Configurable builder for the standard library.
Enums§
- Category
- A group of related standard library definitions.
- Feature
- An in-development feature that should be enabled.