typst-0.14.2

Introduction to typst

The typst package provides a powerful, easy-to-learn markup-based typesetting system.

typst Dependencies

Required

rustc

Note

An Internet connection is needed for building this package. The system certificate store may need to be set up with make-ca before building this package.

Installation of typst

Install typst by executing the following commands:

OPENSSL_NO_VENDOR=true GEN_ARTIFACTS=../../target/artifacts/ \
cargo build -p typst-cli --release

Now as the root user:

install -vDm755 target/release/typst -t /usr/bin/ &&
install -vDm644 target/artifacts/*.1 -t /usr/share/man/man1/

If you wish to install shell completions, execute the relevant commands for your shell(s) as the root user:

install -vDm644 target/artifacts/typst.bash    /usr/share/bash-completion/completions/typst
install -vDm644 target/artifacts/_typst     -t /usr/share/zsh/site-functions/
install -vDm644 target/artifacts/typst.fish -t /usr/share/fish/vendor_completions.d/

Command Explanations

-p typst-cli: This tells cargo to only build the typst-cli package.

OPENSSL_NO_VENDOR=true: This prevents the build system from vendoring OpenSSL.

GEN_ARTIFACTS=../../target/artifacts/: This sets the directory for generated artifacts such as man pages and shell completions.

Contents

Installed Programs: typst
Installed Libraries: None
Installed Directories: None

Short Descriptions

typst

is a command line interface to the typesetting system