(Experimental) addon for the Evince document viewer to load Typst files directly, without creating an intermediate PDF file.
Configure:
meson setup build --buildtype=release
Build:
cargo build --release
ninja -C build
Install:
# Path will vary depending on your distribution
sudo cp -t /usr/lib/evince/4/backends build/evince-backend/{typstdocument.evince-backend,libtypstdocument.so}
sudo mkdir -p /usr/local/share/mime/packages
sudo cp -t /usr/local/share/mime/packages evince-typst.xml
sudo update-mime-database /usr/local/share/mime/
Code in src/
is based on typst-cli and is licensed under Apache-2.0, see LICENSE.
Code in evince-backend/
is based on evince and is licensed under GPL version 2 or later, see the comments in the respective files.