diff --git a/cards_4x6.typ b/cards_4x6.typ index 85dec54..d26556a 100644 --- a/cards_4x6.typ +++ b/cards_4x6.typ @@ -10,7 +10,7 @@ let content_fn = if args.no_content { _ => [] } else { - import "content/content.typ" + import "cache/content/content.typ" content.content } diff --git a/cards_stamped_card.typ b/cards_stamped_card.typ new file mode 100644 index 0000000..1cbe5df --- /dev/null +++ b/cards_stamped_card.typ @@ -0,0 +1,23 @@ +#{ + set page(width: 5.5in, height: 3.5in, margin: 0em) + + import "common.typ" + + let options = json("options.json") + let cards = options.cards + let args = options.args + + let content_fn = if args.no_content { + _ => [] + } else { + import "cache/content/content.typ" + content.content + } + + for (idx, card) in cards.enumerate() { + if idx != 0 { + pagebreak() + } + common.postcard_content(100%, 100%, content_fn, card) + } +}