From b8d6c6b8c459f021109b7faa46b4d3241014d94d Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Thu, 30 Nov 2023 18:23:40 +0000 Subject: [PATCH] Fix avatar bug, add a6 --- cards_a6_lettersheet.typ | 12 ++++++++++++ common.typ | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 cards_a6_lettersheet.typ diff --git a/cards_a6_lettersheet.typ b/cards_a6_lettersheet.typ new file mode 100644 index 0000000..e20d826 --- /dev/null +++ b/cards_a6_lettersheet.typ @@ -0,0 +1,12 @@ +#{ + set page("us-letter", margin: 0em) + + import "common.typ" + + let options = json("options.json") + let cards = options.cards + let args = options.args + + common.card_sheets(148mm, 105mm, 1in/16, args, cards) + +} diff --git a/common.typ b/common.typ index 6bdaa96..5d30551 100644 --- a/common.typ +++ b/common.typ @@ -49,7 +49,7 @@ ) ) } - if card.avatar != "" { + if card.avatar != none { place_avatar(text_height, card) } }