generated from me/guix-typst-template
Compare commits
2 commits
43cfd7a963
...
918bd9748c
Author | SHA1 | Date | |
---|---|---|---|
918bd9748c | |||
846e590e3a |
3 changed files with 8 additions and 8 deletions
4
Justfile
4
Justfile
|
@ -1,5 +1,5 @@
|
|||
default:
|
||||
guix time-machine --channels=./channels.scm.lock -- shell --container --emulate-fhs --manifest=./manifest.scm -- sh -c "mkdir -p ./out && typst compile ./src/document.typ ./out/document.pdf --font-path=/usr/share/fonts"
|
||||
guix time-machine --channels=./channels.scm.lock -- shell --container --emulate-fhs --manifest=./manifest.scm -- sh -c "mkdir -p ./out && typst compile ./src/document.typ ./out/coverletter.pdf --font-path=/usr/share/fonts"
|
||||
|
||||
fonts:
|
||||
guix time-machine --channels=./channels.scm.lock -- shell --container --emulate-fhs --manifest=./manifest.scm -- typst fonts --font-path=/usr/share/fonts
|
||||
|
@ -11,4 +11,4 @@ update:
|
|||
guix time-machine --channels=./channels.scm -- describe --format=channels > ./channels.scm.lock
|
||||
|
||||
run: default
|
||||
xdg-open ./out/document.pdf
|
||||
xdg-open ./out/coverletter.pdf
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
),
|
||||
recipient: (
|
||||
name: "name",
|
||||
address_1: "a1",
|
||||
address_2: "a2",
|
||||
company: "company",
|
||||
address: "address",
|
||||
city: "city",
|
||||
state: "ST",
|
||||
zip: "000000",
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
),
|
||||
recipient: (
|
||||
name: "",
|
||||
address_1: "",
|
||||
address_2: "",
|
||||
company: "",
|
||||
address: "",
|
||||
city: "",
|
||||
state: "",
|
||||
zip: "",
|
||||
|
@ -28,7 +28,7 @@
|
|||
#datetime.today().display("[month repr:long] [day], [year repr:full]") \
|
||||
|
||||
#recipient.name \
|
||||
#recipient.address_1 \
|
||||
#if "address_2" in recipient [#recipient.address_2 \ ]
|
||||
#recipient.company \
|
||||
#recipient.address \
|
||||
#recipient.city, #recipient.state #recipient.zip \ \ \
|
||||
]
|
||||
|
|
Reference in a new issue