Compare commits

...

2 commits

Author SHA1 Message Date
918bd9748c
Change document.pdf to coverletter.pdf 2025-06-17 22:46:07 -05:00
846e590e3a
Update header parameters 2025-06-17 22:37:30 -05:00
3 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -13,8 +13,8 @@
),
recipient: (
name: "name",
address_1: "a1",
address_2: "a2",
company: "company",
address: "address",
city: "city",
state: "ST",
zip: "000000",

View file

@ -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 \ \ \
]