typstcard/cards_4x6.typ

19 lines
375 B
Plaintext
Raw Permalink Normal View History

2023-10-01 02:35:30 +00:00
#{
set page(width: 6in, height: 4in, margin: 0em)
import "common.typ"
2024-01-20 06:47:46 +00:00
let options = json("cache/options.json")
2023-10-01 02:35:30 +00:00
let cards = options.cards
let args = options.args
2024-01-20 18:56:02 +00:00
let content_fn = common.get_content_fn(args)
2023-10-01 02:35:30 +00:00
for (idx, card) in cards.enumerate() {
if idx != 0 {
pagebreak()
}
common.postcard_content(100%, 100%, content_fn, args, card)
2023-10-01 02:35:30 +00:00
}
}