Add local typst packages
All checks were successful
CI / Typst formatting (push) Successful in 15s
CI / Typos (push) Successful in 18s
CI / Build (push) Successful in 13m16s

This commit is contained in:
2025-01-22 21:46:31 -08:00
parent 3b41ea714a
commit ede934369b
9 changed files with 22 additions and 9 deletions

View File

@ -143,10 +143,12 @@ def build_typst(source_dir: Path, out_subdir: Path) -> IndexEntry | None:
[
TYPST_PATH,
"compile",
"--package-path",
f"{ROOT}/lib/typst",
"--ignore-system-fonts",
"main.typ",
"--input",
"show_solutions=false",
"main.typ",
f"{out}/{handout_file}",
],
cwd=source_dir,
@ -164,6 +166,8 @@ def build_typst(source_dir: Path, out_subdir: Path) -> IndexEntry | None:
[
TYPST_PATH,
"compile",
"--package-path",
f"{ROOT}/lib/typst",
"--ignore-system-fonts",
"main.typ",
f"{out}/{solutions_file}",