template for a multi-document Typst monorepo
  • Nix 96.7%
  • Typst 3.3%
Find a file Use this template
2026-01-08 01:33:04 -08:00
documents initial commit 2026-01-08 01:05:35 -08:00
nix initial commit 2026-01-08 01:05:35 -08:00
.gitignore initial commit 2026-01-08 01:05:35 -08:00
flake.lock initial commit 2026-01-08 01:05:35 -08:00
flake.nix initial commit 2026-01-08 01:05:35 -08:00
LICENSE add LICENSE 2026-01-08 01:10:22 -08:00
README.md fix(readme): correct path of package output 2026-01-08 01:33:04 -08:00

bookworm

Example/template for a multi-document monorepo of Typst documents with Typix and full dependency / custom font / custom per-document option support.

usage

Just clone down this repo and start putting your documents in documents/**. Arbitrarily deep nested documents are supported, e.g. look for an example. Any directory containing a file called doc.nix will be considered a Typst document root, see the example doc.nix files for examples of what they look like (very minimal boilerplate). File paths of document roots will be mapped directly to a package output e.g.

documents/arbitrary-nesting/test1/test2/test3/doc.nix --> nix build .#arbitrary-nesting.test1.test2.test3

docs

It's very minimal and built on top of Typix. Look in flake.nix for a self-documented file and look in each of the doc.nix files for some more self-documented code.