diff options
Diffstat (limited to 'book')
-rw-r--r-- | book/.gitignore | 1 | ||||
m--------- | book/assets | 0 | ||||
-rw-r--r-- | book/book.typ | 2 | ||||
-rw-r--r-- | book/readme.md | 6 |
4 files changed, 3 insertions, 6 deletions
diff --git a/book/.gitignore b/book/.gitignore index d1922c9b..433f5ad9 100644 --- a/book/.gitignore +++ b/book/.gitignore @@ -1,4 +1,3 @@ /*.pdf /book.json -/book-repo /out diff --git a/book/assets b/book/assets new file mode 160000 +Subproject 830ea1c06a116e999f5a00a84574715aa5cd1bf diff --git a/book/book.typ b/book/book.typ index 79e3f7eb..b23f3e77 100644 --- a/book/book.typ +++ b/book/book.typ @@ -32,7 +32,7 @@ ] else if elem.t == "page" [ #page( background: if "background" in elem { image( - "book-repo/"+elem.background+".jpeg", + "assets/"+elem.background+".jpeg", fit: "cover", height: 100%, width: 100% )} else { none }, [ #for e in elem.es [ diff --git a/book/readme.md b/book/readme.md index 8e410718..2a72931f 100644 --- a/book/readme.md +++ b/book/readme.md @@ -2,7 +2,5 @@ ## Building -The book is built with Typst and uses imagery from the recipe-book repository. -These are expected to be accessible at `book-repo/____.jpeg`, so symlinking or -cloning it as book-repo should suffice. Then just `make` or for previewing just -`make out/book.xx.pdf`. +The book is built with Typst and uses imagery from the book-assets submodule. +Then just `make` or for previewing just `make out/book.xx.pdf`. |