Development build 9f2b6e87
Typst文档简体中文版v0.15.1 + dev 9f2b6e87

System

Module for system interactions.

Constants

version
version0.9.0起可用

The currently active Typst compiler version.

Expand展开示例
#sys.version

inputs
dictionary0.11.0起可用

Makes external inputs available to the project.

An input specified in the command line as --input key=value becomes available under sys.inputs.key as "value". To include spaces in the value, it may be enclosed with single or double quotes.

The value is always of type string. More complex data may be parsed manually using functions like json.