more renaming

This commit is contained in:
Artemis Tosini 2024-01-20 18:56:02 +00:00
parent d0976a7ea4
commit b76bd146e7
Signed by: artemist
GPG key ID: EE5227935FE3FF18
6 changed files with 7 additions and 17 deletions

View file

@ -7,12 +7,7 @@
let cards = options.cards
let args = options.args
let content_fn = if args.no_content {
_ => []
} else {
import "cache/content/content.typ"
content.content
}
let content_fn = common.get_content_fn(args)
for (idx, card) in cards.enumerate() {
if idx != 0 {

View file

@ -7,12 +7,7 @@
let cards = options.cards
let args = options.args
let content_fn = if args.no_content {
_ => []
} else {
import "cache/content/content.typ"
content.content
}
let content_fn = common.get_content_fn(args)
for (idx, card) in cards.enumerate() {
if idx != 0 {

View file

@ -123,8 +123,8 @@
}
}
#let card_sheets(width, height, margin, args, cards) = {
let content_fn = get_content_fn()
#let sticker_sheets(width, height, margin, args, cards) = {
let content_fn = get_content_fn(args)
for (idx, card) in cards.enumerate() {
let row = calc.rem(idx + args.skip, 2)

View file

@ -7,6 +7,6 @@
let cards = options.cards
let args = options.args
common.card_sheets(6in, 4in, 1in/16, args, cards)
common.sticker_sheets(6in, 4in, 1in/16, args, cards)
}

View file

@ -7,6 +7,6 @@
let cards = options.cards
let args = options.args
common.card_sheets(148mm, 105mm, 1in/16, args, cards)
common.sticker_sheets(148mm, 105mm, 1in/16, args, cards)
}

View file

@ -7,6 +7,6 @@
let cards = options.cards
let args = options.args
common.card_sheets(149mm, 99mm, 1in/16, args, cards)
common.sticker_sheets(149mm, 99mm, 1in/16, args, cards)
}