more renaming
This commit is contained in:
parent
d0976a7ea4
commit
b76bd146e7
|
@ -7,12 +7,7 @@
|
||||||
let cards = options.cards
|
let cards = options.cards
|
||||||
let args = options.args
|
let args = options.args
|
||||||
|
|
||||||
let content_fn = if args.no_content {
|
let content_fn = common.get_content_fn(args)
|
||||||
_ => []
|
|
||||||
} else {
|
|
||||||
import "cache/content/content.typ"
|
|
||||||
content.content
|
|
||||||
}
|
|
||||||
|
|
||||||
for (idx, card) in cards.enumerate() {
|
for (idx, card) in cards.enumerate() {
|
||||||
if idx != 0 {
|
if idx != 0 {
|
||||||
|
|
|
@ -7,12 +7,7 @@
|
||||||
let cards = options.cards
|
let cards = options.cards
|
||||||
let args = options.args
|
let args = options.args
|
||||||
|
|
||||||
let content_fn = if args.no_content {
|
let content_fn = common.get_content_fn(args)
|
||||||
_ => []
|
|
||||||
} else {
|
|
||||||
import "cache/content/content.typ"
|
|
||||||
content.content
|
|
||||||
}
|
|
||||||
|
|
||||||
for (idx, card) in cards.enumerate() {
|
for (idx, card) in cards.enumerate() {
|
||||||
if idx != 0 {
|
if idx != 0 {
|
||||||
|
|
|
@ -123,8 +123,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#let card_sheets(width, height, margin, args, cards) = {
|
#let sticker_sheets(width, height, margin, args, cards) = {
|
||||||
let content_fn = get_content_fn()
|
let content_fn = get_content_fn(args)
|
||||||
|
|
||||||
for (idx, card) in cards.enumerate() {
|
for (idx, card) in cards.enumerate() {
|
||||||
let row = calc.rem(idx + args.skip, 2)
|
let row = calc.rem(idx + args.skip, 2)
|
||||||
|
|
|
@ -7,6 +7,6 @@
|
||||||
let cards = options.cards
|
let cards = options.cards
|
||||||
let args = options.args
|
let args = options.args
|
||||||
|
|
||||||
common.card_sheets(6in, 4in, 1in/16, args, cards)
|
common.sticker_sheets(6in, 4in, 1in/16, args, cards)
|
||||||
|
|
||||||
}
|
}
|
|
@ -7,6 +7,6 @@
|
||||||
let cards = options.cards
|
let cards = options.cards
|
||||||
let args = options.args
|
let args = options.args
|
||||||
|
|
||||||
common.card_sheets(148mm, 105mm, 1in/16, args, cards)
|
common.sticker_sheets(148mm, 105mm, 1in/16, args, cards)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,6 @@
|
||||||
let cards = options.cards
|
let cards = options.cards
|
||||||
let args = options.args
|
let args = options.args
|
||||||
|
|
||||||
common.card_sheets(149mm, 99mm, 1in/16, args, cards)
|
common.sticker_sheets(149mm, 99mm, 1in/16, args, cards)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue