Add local typst packages
This commit is contained in:
@ -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}",
|
||||
|
Reference in New Issue
Block a user