Expand description
World implementation of typst for tinymist.
Re-exports§
pub use tinymist_world as base;
pub use tinymist_world::vfs;
Modules§
- diag
- The diagnostic utilities.
- font
- The font implementations for typst worlds.
- package
- The package registry of the world.
- system
- Run the compiler in the system environment.
Structs§
- Compile
Font Args - The font arguments for the world to specify the way to search for fonts.
- Compile
Font Opts - The options to specify the fonts for the world.
- Compile
Once Args - Common arguments to create a world (environment) to run typst tasks, e.g.
compile
,watch
, andquery
. - Compile
Package Args - The package arguments for the world to specify where packages are stored in the system.
- Compiler
Universe - A universe that provides access to the operating system and the compiler.
- Compiler
World - The world of the compiler.
- Entry
State - The state of the entry.
- Revising
Universe - The state of the universe during revision.
- Task
Inputs - The inputs for the compiler.
- World
Compute Graph - A world compute graph.
Enums§
- Diagnostic
Format - The format to use for diagnostics.
- Entry
Opts - The options to create the entry
- Export
Target - Configure the current export target.
- Feature
- An in-development feature that may be changed or removed at any time.
- Output
Format - Configure the format of the output file.
- PdfStandard
- A PDF standard that Typst can enforce conformance with.
- Task
When - Configure when to run a task.
Statics§
- DETACHED_
ENTRY - The detached entry.
- MEMORY_
MAIN_ ENTRY - The memory main entry.
Traits§
- Entry
Manager - A trait to manage the entry state.
- Entry
Reader - A trait to read the entry state.
- Source
World - A world that can be used for source code reporting.
Functions§
- parse_
source_ date_ epoch - Parses a UNIX timestamp according to https://reproducible-builds.org/specs/source-date-epoch/
- with_
main - Runs a world with a main file.