Module world

Source
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§

CompileFontArgs
The font arguments for the world to specify the way to search for fonts.
CompileFontOpts
The options to specify the fonts for the world.
CompileOnceArgs
Common arguments to create a world (environment) to run typst tasks, e.g. compile, watch, and query.
CompilePackageArgs
The package arguments for the world to specify where packages are stored in the system.
CompilerUniverse
A universe that provides access to the operating system and the compiler.
CompilerWorld
The world of the compiler.
EntryState
The state of the entry.
RevisingUniverse
The state of the universe during revision.
TaskInputs
The inputs for the compiler.
WorldComputeGraph
A world compute graph.

Enums§

DiagnosticFormat
The format to use for diagnostics.
EntryOpts
The options to create the entry
ExportTarget
Configure the current export target.
Feature
An in-development feature that may be changed or removed at any time.
OutputFormat
Configure the format of the output file.
PdfStandard
A PDF standard that Typst can enforce conformance with.
TaskWhen
Configure when to run a task.

Statics§

DETACHED_ENTRY
The detached entry.
MEMORY_MAIN_ENTRY
The memory main entry.

Traits§

EntryManager
A trait to manage the entry state.
EntryReader
A trait to read the entry state.
SourceWorld
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.