ThatOneCalculator / evince-typst

Open typst files directly in evince

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

evince-typst

(Experimental) addon for the Evince document viewer to load Typst files directly, without creating an intermediate PDF file.

Building

Configure:

meson setup build --buildtype=release

Build:

cargo build --release
ninja -C build

Install:

# Path will vary depending on your distribution
cp -t /usr/lib/evince/4/backends build/evince-backend/{typstdocument.evince-backend,libtypstdocument.so}
mkdir -p /usr/local/share/mime/packages
cp -t /usr/local/share/mime/packages evince-typst.xml
update-mime-database /usr/local/share/mime/packages

License

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.

About

Open typst files directly in evince

License:Apache License 2.0


Languages

Language:Rust 87.9%Language:C 11.1%Language:Meson 1.0%