Typst#

warning: unknown font family: source sans pro#

cd ~/github/
git clone --depth=2 https://github.com/adobe-fonts/source-sans
cd source-sans/
cp VF/SourceSans3VF-*.otf ~/.local/share/fonts/

fc-cache
fc-list | rg -i source

Be sure to restart typst watch.

packages#

The simplest package manager (for Typst) introduces the typst/packages repo. Packages uploaded there are available at Typst Universe, e.g. @preview/letter-pro:3.0.0 from https://typst.app/universe/package/letter-pro/ maps to typst/packages

local package repo#

typst/packages

I want to get @preview/letter-pro:3.0.0 locally and play with it.

# namespace
git init ~/.local/share/typst/packages/felixhummel

cd ~/github
git clone https://github.com/typst/packages/ typst-packages

cp -r

Instead of

#import "@preview/letter-pro:3.0.0": letter-simple

use the new namespace

#import "@felixhummel/letter-pro:3.0.0": letter-simple

Aside#

Stuff that looks interesting, but I have not yet checked out in more detail