A typst plugin for unit-aware calculations
typst
Rust 81.5%
Typst 15.7%
Shell 2.8%
3 2 0

Clone this repository

https://tangled.org/vidyasagarv.com/evaltor
git@knot.vidyasagarv.com:vidyasagarv.com/evaltor

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Typst plugin for numbat#

Built using typst-wasm.

Need to install wasi-stub

First compile the rust code to WASM using:

rustup target add wasm32-wasip1
cargo build --release --target wasm32-wasip1
wasi-stub target/wasm32-wasip1/release/numbat_typst.wasm -o target/wasm32-wasip1/release/numbat_typst.wasm

Then install the Typst package locally using tlp or utpm:

tlp init

Then just load the functions like:

#import "@local/numbat:0.1.0": to_uppercase

Sources of inspiration#

  • metasearch2: A cute a light-weight search engine that uses numbat to process relevant queries.