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:
|
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:
|
fonts:
|
||||||
guix time-machine --channels=./channels.scm.lock -- shell --container --emulate-fhs --manifest=./manifest.scm -- typst fonts --font-path=/usr/share/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
|
guix time-machine --channels=./channels.scm -- describe --format=channels > ./channels.scm.lock
|
||||||
|
|
||||||
run: default
|
run: default
|
||||||
xdg-open ./out/document.pdf
|
xdg-open ./out/coverletter.pdf
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
),
|
),
|
||||||
recipient: (
|
recipient: (
|
||||||
name: "name",
|
name: "name",
|
||||||
address_1: "a1",
|
company: "company",
|
||||||
address_2: "a2",
|
address: "address",
|
||||||
city: "city",
|
city: "city",
|
||||||
state: "ST",
|
state: "ST",
|
||||||
zip: "000000",
|
zip: "000000",
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
),
|
),
|
||||||
recipient: (
|
recipient: (
|
||||||
name: "",
|
name: "",
|
||||||
address_1: "",
|
company: "",
|
||||||
address_2: "",
|
address: "",
|
||||||
city: "",
|
city: "",
|
||||||
state: "",
|
state: "",
|
||||||
zip: "",
|
zip: "",
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
#datetime.today().display("[month repr:long] [day], [year repr:full]") \
|
#datetime.today().display("[month repr:long] [day], [year repr:full]") \
|
||||||
|
|
||||||
#recipient.name \
|
#recipient.name \
|
||||||
#recipient.address_1 \
|
#recipient.company \
|
||||||
#if "address_2" in recipient [#recipient.address_2 \ ]
|
#recipient.address \
|
||||||
#recipient.city, #recipient.state #recipient.zip \ \ \
|
#recipient.city, #recipient.state #recipient.zip \ \ \
|
||||||
]
|
]
|
||||||
|
|
Reference in a new issue